first attempts printing graphs to dfb visual
[physik/nlsop.git] / nlsop.h
1 /*
2  * nlsop headers
3  *
4  * author: hackbard@hackdaworld.dyndns.org
5  *
6  */
7
8 #ifndef NLSOP_H
9 #define NLSOP_H
10
11 #ifndef _U32
12 #define _U32
13 typedef unsigned int u32;
14 #endif
15
16 typedef struct __info
17 {
18  int cc,steps,range,diff_rate,cpi,c_sat;
19  double a_ap,b_ap,a_cp,dr_ac,dr_cc;
20  char z_diff,c_diff;
21 } info;
22
23 #define AMORPH 1
24
25 #define X 64
26 #define Y 64
27 #define Z 233
28
29 #define STEPS 100000000
30 #define RANGE 5
31 #define REFRESH 100000
32 #define RESAVE 10000000
33
34 #define CC 0
35
36 #define DR_AC .5
37 #define DR_CC .2
38 #define DIFF_RATE 1000
39
40 #define A_AP .0005
41 #define B_AP .0
42
43 #define A_CP .00001
44
45 #define MAX_CHARS 128
46 #define MAX_TXT 32
47 #define MAX_ARGV 27
48
49 #define IMP_PROFILE "imp-profile.txt"
50 #define NEL_PROFILE "nel-profile.txt"
51
52 #define CELL_LENGTH 3 /* nm */
53
54 #define CPI 20
55
56 #define C_SAT (168*8)
57 #define SI_PER_VOLUME (168*8)
58
59 #define FFT_HEIGHT 64
60
61 #endif /* NLSOP_H */