7b19cd1c0888fb7dcd0d615db2be3fa8843eed7f
[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 typedef unsigned int u32;
12
13 typedef struct __info
14 {
15  int cc,steps,range,diff_rate;
16  double a_el,b_el,a_cd,b_cd,a_ap,b_ap,a_cp,dr_ac,dr_cc;
17  char z_diff;
18 } info;
19
20 #define AMORPH 1
21
22 #define A_EL 1.
23 #define B_EL .0
24
25 #define X 50
26 #define Y 50
27 #define Z 100
28
29 #define STEPS 100000
30 #define RANGE 3
31 #define REFRESH 20
32 #define RESAVE 10000
33
34 #define A_CD 1.
35 #define B_CD .0
36
37 #define CC 0
38
39 #define DR_AC .5
40 #define DR_CC .2
41 #define DIFF_RATE 100
42
43 #define A_AP .1
44 #define B_AP .0
45
46 #define A_CP .01
47
48 #define MAX_CHARS 128
49 #define MAX_TXT 32
50 #define MAX_ARGV 27
51
52 #define IMP_PROFILE "imp-profile.txt"
53 #define CELL_LENGTH 3 /* nm */
54
55 #endif /* NLSOP_H */