X-Git-Url: https://hackdaworld.org/gitweb/?p=physik%2Fnlsop.git;a=blobdiff_plain;f=nlsop.h;h=3440c0c65fd4025ade9a865780264b087e7f1ce0;hp=528c1c436bb68efa0b48e93c70391577572bc86f;hb=62c53ee63cb2a377bf6f2ca58333a5dff30c2785;hpb=c2cf344605eb715f5b6524b1a05317ff319f7dd7 diff --git a/nlsop.h b/nlsop.h index 528c1c4..3440c0c 100644 --- a/nlsop.h +++ b/nlsop.h @@ -5,27 +5,56 @@ * */ +#ifndef NLSOP_H +#define NLSOP_H + +#ifndef _U32 +#define _U32 typedef unsigned int u32; +#endif + +typedef struct __info +{ + int cc,steps,range,diff_rate,cpi,c_sat; + double 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 64 +#define Y 64 +#define Z 233 -#define X 50 -#define Y 50 -#define Z 100 +#define STEPS 158671500 +#define RANGE 5 +#define REFRESH 100000 +#define RESAVE 20000000 -#define STEPS 100000 -#define RANGE 3 -#define REFRESH 20 +#define CC 0 -#define A_CD 1 -#define B_CD 0 +#define DR_AC .5 +#define DR_CC .2 +#define DIFF_RATE 1000 -#define CC 0 +#define A_AP .00001 +#define B_AP .00001 +#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 100 + +#define C_SAT (168*8) +#define SI_PER_VOLUME (168*8) -#define A_AP .1 -#define B_AP .2 +#define FFT_HEIGHT 64 -#define MAX_CHARS 64 +#endif /* NLSOP_H */