X-Git-Url: https://hackdaworld.org/gitweb/?p=physik%2Fnlsop.git;a=blobdiff_plain;f=nlsop.h;h=a7397315c4d6aa7598c0ca9f33012be846973b09;hp=528c1c436bb68efa0b48e93c70391577572bc86f;hb=b6061ee8aa68091a0cea6e3bf9691e27a1d52d6c;hpb=c2cf344605eb715f5b6524b1a05317ff319f7dd7 diff --git a/nlsop.h b/nlsop.h index 528c1c4..a739731 100644 --- a/nlsop.h +++ b/nlsop.h @@ -5,12 +5,22 @@ * */ +#ifndef NLSOP_H +#define NLSOP_H + typedef unsigned int u32; +typedef struct __info +{ + int cc,steps,range,diff_rate; + double a_el,b_el,a_cd,b_cd,a_ap,b_ap,a_cp,dr_ac,dr_cc; + char z_diff; +} info; + #define AMORPH 1 -#define A_EL 1 -#define B_EL 0 +#define A_EL 1. +#define B_EL .0 #define X 50 #define Y 50 @@ -19,13 +29,27 @@ typedef unsigned int u32; #define STEPS 100000 #define RANGE 3 #define REFRESH 20 +#define RESAVE 10000 -#define A_CD 1 -#define B_CD 0 +#define A_CD 1. +#define B_CD .0 #define CC 0 +#define DR_AC .5 +#define DR_CC .2 +#define DIFF_RATE 100 + #define A_AP .1 -#define B_AP .2 +#define B_AP .0 + +#define A_CP .01 #define MAX_CHARS 64 +#define MAX_TXT 32 +#define MAX_ARGV 27 + +#define IMP_PROFILE "imp-profile.txt" +#define CELL_LENGTH 3 /* nm */ + +#endif /* NLSOP_H */