X-Git-Url: https://hackdaworld.org/gitweb/?p=physik%2Fnlsop.git;a=blobdiff_plain;f=nlsop.h;h=dc4b9546b28c56dcf73af7738b4235a4e306e9e3;hp=80ce82bf163e89f8ee33869b4e339b389f669da0;hb=HEAD;hpb=30343b61fc28bccc04af479729a1529fa824a85a diff --git a/nlsop.h b/nlsop.h index 80ce82b..dc4b954 100644 --- a/nlsop.h +++ b/nlsop.h @@ -8,45 +8,39 @@ #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_el,b_el,a_cd,b_cd,a_ap,b_ap,a_cp,dr_ac,dr_cc; - char z_diff,c_diff; + int cc,steps,range,diff_rate,cpi,s_rate,save_rate; + double s,b,c,dr_ac; } info; #define AMORPH 1 -#define A_EL 1. -#define B_EL .0 +#define _X 64 +#define _Y 64 +#define _Z 233 -#define X 64 -#define Y 64 -#define Z 233 - -#define STEPS 100000000 +#define STEPS 158671500 #define RANGE 5 #define REFRESH 100000 -#define RESAVE 10000000 - -#define A_CD 1. -#define B_CD .0 +#define RESAVE 20000000 #define CC 0 -#define DR_AC .5 -#define DR_CC .2 -#define DIFF_RATE 1000 +#define DR_AC .05 +#define DIFF_RATE 1000000 -#define A_AP .0005 -#define B_AP .0 - -#define A_CP .00001 +#define S_D .0001 +#define B_D .01 +#define C_D .001 #define MAX_CHARS 128 -#define MAX_TXT 32 +#define MAX_TXT 40 #define MAX_ARGV 27 #define IMP_PROFILE "imp-profile.txt" @@ -54,9 +48,14 @@ typedef struct __info #define CELL_LENGTH 3 /* nm */ -#define CPI 20 +#define CPI 100 + +#define S_RATE ((2*3*STEPS)/100) +#define SI_PER_VOLUME (168*8) -#define C_SAT (6*6*6) +#define A_START 0.23 +#define AC_START 0.89 +#define A_END 0.84 #define FFT_HEIGHT 64