X-Git-Url: https://hackdaworld.org/gitweb/?p=physik%2Fnlsop.git;a=blobdiff_plain;f=nlsop.h;h=80ce82bf163e89f8ee33869b4e339b389f669da0;hp=54c3bbff2c0a9ea678dbdde9a5118466b98c87b1;hb=30343b61fc28bccc04af479729a1529fa824a85a;hpb=c71815b4b5dc67546a9ca407c256d18a4abb3aff diff --git a/nlsop.h b/nlsop.h index 54c3bbf..80ce82b 100644 --- a/nlsop.h +++ b/nlsop.h @@ -10,28 +10,54 @@ typedef unsigned int u32; +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; + char z_diff,c_diff; +} info; + #define AMORPH 1 #define A_EL 1. #define B_EL .0 -#define X 50 -#define Y 50 -#define Z 100 +#define X 64 +#define Y 64 +#define Z 233 -#define STEPS 100000 -#define RANGE 3 -#define REFRESH 20 +#define STEPS 100000000 +#define RANGE 5 +#define REFRESH 100000 +#define RESAVE 10000000 #define A_CD 1. #define B_CD .0 #define CC 0 -#define A_AP .1 -#define B_AP .2 +#define DR_AC .5 +#define DR_CC .2 +#define DIFF_RATE 1000 + +#define A_AP .0005 +#define B_AP .0 -#define MAX_CHARS 64 +#define A_CP .00001 + +#define MAX_CHARS 128 #define MAX_TXT 32 +#define MAX_ARGV 27 + +#define IMP_PROFILE "imp-profile.txt" +#define NEL_PROFILE "nel-profile.txt" + +#define CELL_LENGTH 3 /* nm */ + +#define CPI 20 + +#define C_SAT (6*6*6) + +#define FFT_HEIGHT 64 #endif /* NLSOP_H */