/*------------------------------------------------------------------------------ SMS3 parameter control file for the CodeGear console (batch) version Author: Steve Palmer, University of Aberdeen Last updated: 1 May 2012 ------------------------------------------------------------------------------*/ #ifndef ParametersH #define ParametersH #include #define CODEGEAR 1 // set to 1 for CodeGear compiler, 0 for Visual Studio #define VCL 0 // set to 0 for the batch version #define BATCH 0 // set to 1 to show simple diagnostics, otherwise set to 0 #define GO2TARGET 0 // set to 1 to move directly towards target once within PR // DO NOT SET TO 1 IF STARTING FROM WITHIN A TARGET PATCH // OR THE ANIMAL WILL NEVER LEAVE THE PATCH!! #define KICKSTART 1 // 0 = no kick-start, 1 = kick-start mode #define READSOURCE 0 // set to 1 to read source file, 0 to ignore it #define WRITE_PATHS 1 // write paths file? 0 = no, 1 = yes #define WRITE_LANDS 1 // write landscape density files? 0 = no, 1 = yes // the following movement diagnostics files should only be used for very small // numbers of virtual Animals, as they will otherwise be enormous #define WRITE_OUTPUT1 0 // 0 = write output file? 0 = no, 1 = yes #define WRITE_OUTPUT2 0 // 0 = write output2 file? 0 = no, 1 = yes // Random number generator seed - use one of the following two options //const int SEED = 101; // set to a specified integer to get the same random streams each run const int SEED = time(0); // use this option to get different streams each run #if !CODEGEAR //ADDED FOR VS ONLY value of pi needed for VS version only const double M_PI = 3.14159265358979323846; #endif //--------------------------------------------------------------------------- #endif