first attempts printing graphs to dfb visual
[physik/nlsop.git] / nlsop.h
diff --git a/nlsop.h b/nlsop.h
index b309cc4..0d1396b 100644 (file)
--- a/nlsop.h
+++ b/nlsop.h
@@ -8,20 +8,20 @@
 #ifndef NLSOP_H
 #define NLSOP_H
 
+#ifndef _U32
+#define _U32
 typedef unsigned int u32;
+#endif
 
 typedef struct __info
 {
  int cc,steps,range,diff_rate,cpi,c_sat;
- double a_el,b_el,a_cd,b_cd,a_ap,b_ap,a_cp,dr_ac,dr_cc;
+ double a_ap,b_ap,a_cp,dr_ac,dr_cc;
  char z_diff,c_diff;
 } info;
 
 #define AMORPH 1
 
-#define A_EL 1.
-#define B_EL .0
-
 #define X 64
 #define Y 64
 #define Z 233
@@ -31,9 +31,6 @@ typedef struct __info
 #define REFRESH 100000
 #define RESAVE 10000000
 
-#define A_CD 1.
-#define B_CD .0
-
 #define CC 0
 
 #define DR_AC .5
@@ -56,7 +53,8 @@ typedef struct __info
 
 #define CPI 20
 
-#define C_SAT (6*6*6*8)
+#define C_SAT (168*8)
+#define SI_PER_VOLUME (168*8)
 
 #define FFT_HEIGHT 64