X-Git-Url: https://hackdaworld.org/gitweb/?p=physik%2Fnlsop.git;a=blobdiff_plain;f=nlsop.h;h=d63a507262dc7d8913f27b833a723a828170d0f2;hp=470001001f62335d86e3e8cefadac5312eab6aee;hb=4c5373958d4b8d38e51560ba898cfd0473d7c108;hpb=ac3628afff01679dfa9da69cf010764970e40be7 diff --git a/nlsop.h b/nlsop.h index 4700010..d63a507 100644 --- a/nlsop.h +++ b/nlsop.h @@ -5,28 +5,54 @@ * */ -typedef unsigned int u32; +#ifndef NLSOP_H +#define NLSOP_H -#define AMORPH 1 +#ifndef _U32 +#define _U32 +typedef unsigned int u32; +#endif -#define A_EL 1 -#define B_EL 0 +typedef struct __info +{ + int cc,steps,range,diff_rate,cpi,s_rate,save_rate; + double s,b,c,dr_ac; +} info; -#define X 50 -#define Y 50 -#define Z 100 +#define AMORPH 1 -#define STEPS 100000 -#define RANGE 3 -#define REFRESH 20 +#define _X 64 +#define _Y 64 +#define _Z 233 -#define A_CD 1 -#define B_CD 0 +#define STEPS 158671500 +#define RANGE 5 +#define REFRESH 100000 +#define RESAVE 20000000 #define CC 0 -#define A_AP .1 -#define B_AP .2 +#define DR_AC .5 +#define DIFF_RATE 1000 + +#define S_D .00001 +#define B_D .0 +#define C_D .005 -#define MAX_CHARS 64 +#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 100 + +#define S_RATE ((2*3*STEPS)/100) +#define SI_PER_VOLUME (168*8) + +#define FFT_HEIGHT 64 + +#endif /* NLSOP_H */