X-Git-Url: https://hackdaworld.org/gitweb/?p=physik%2Fnlsop.git;a=blobdiff_plain;f=nlsop.h;h=3440c0c65fd4025ade9a865780264b087e7f1ce0;hp=3231cb7d026312c4c79c25cd682fa297619e8b06;hb=62c53ee63cb2a377bf6f2ca58333a5dff30c2785;hpb=1ef7284c9e6ba47a6e4a907bff427f741b951d9f diff --git a/nlsop.h b/nlsop.h index 3231cb7..3440c0c 100644 --- a/nlsop.h +++ b/nlsop.h @@ -8,7 +8,10 @@ #ifndef NLSOP_H #define NLSOP_H +#ifndef _U32 +#define _U32 typedef unsigned int u32; +#endif typedef struct __info { @@ -23,10 +26,10 @@ typedef struct __info #define Y 64 #define Z 233 -#define STEPS 100000000 +#define STEPS 158671500 #define RANGE 5 #define REFRESH 100000 -#define RESAVE 10000000 +#define RESAVE 20000000 #define CC 0 @@ -34,9 +37,8 @@ typedef struct __info #define DR_CC .2 #define DIFF_RATE 1000 -#define A_AP .0005 -#define B_AP .0 - +#define A_AP .00001 +#define B_AP .00001 #define A_CP .00001 #define MAX_CHARS 128 @@ -48,9 +50,10 @@ typedef struct __info #define CELL_LENGTH 3 /* nm */ -#define CPI 20 +#define CPI 100 -#define C_SAT (6*6*6*8) +#define C_SAT (168*8) +#define SI_PER_VOLUME (168*8) #define FFT_HEIGHT 64