From: hackbard Date: Wed, 6 Feb 2008 00:51:27 +0000 (+0100) Subject: added (sample) configuration file X-Git-Url: https://hackdaworld.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=422f72e6415c6275f359fd5e462fa232e7dc2e87;p=physik%2Fposic.git added (sample) configuration file --- diff --git a/config.h b/config.h new file mode 100644 index 0000000..8783dc6 --- /dev/null +++ b/config.h @@ -0,0 +1,64 @@ +/* + * configuration file + * + */ + +// simulation volume + +#define LCNTX 31 +#define LCNTY 31 +#define LCNTZ 31 + +// prerun + +#define PRERUN 600 +#define PRE_TAU 1.0 + +// insertrun + +#define INS_RUNS 620 +#define INS_ATOMS 10 + +#define INS_CARBON /* comment for silicon */ + +#ifdef INS_CARBON + #define INS_TYPE C + #define INS_MASS M_C + #define INS_BRAND 1 +#else + #define INS_TYPE SI + #define INS_MASS M_SI + #define INS_BRAND 0 +#endif + +//#define INS_LENX (1*ALBE_LC_SIC) +//#define INS_LENY (1*ALBE_LC_SIC) +//#define INS_LENZ (1*ALBE_LC_SIC) +#define INS_LENX (31*ALBE_LC_SI) +#define INS_LENY (31*ALBE_LC_SI) +#define INS_LENZ (31*ALBE_LC_SI) +#define INS_OFFSET (ALBE_LC_SI/8.0) + +#define INS_R_C 1.5 +#define INS_DELTA_TC 1.0 +#define INS_RELAX 10 +#define INS_TAU 1.0 + +// postrun + +#define POST_RUNS 430 +#define POST_DELTA_TC 1.0 +#define POST_DT 1.0 +#define POST_RELAX 10 +#define POST_TAU 1.0 + +// log + +#define R_TITLE "Carbon into silicon" +#define LOG_E 10 +#define LOG_T 10 +#define LOG_P 10 +#define LOG_S 200 +#define LOG_V 200 + +#define AVG_SKIP 500