00001 #ifndef ConstantsH 00002 #define ConstantsH 00003 //--------------------------------------------------------------------------- 00017 const int MAX_FILENAME_SIZE = 250; 00018 const int MAX_COMMAND_LENGTH = 25; 00020 const int MAX_VERSION_SIZE = 4; 00021 const int MAX_GRID_LABEL_SIZE = 25; 00022 const int MAX_GRID_CHAR_VALUE_SIZE = 25; 00023 const char DETAILED_OUTPUT_FILE_EXT[] = ".xml"; 00024 const char ZIPPED_FILE_EXT[] = ".xml.gz"; 00025 const char GZIP_EXT[] = ".gz"; 00026 const char TARBALL_FILE_EXT[] = ".gz.tar"; 00028 const char SHORT_OUTPUT_FILE_EXT[] = ".out"; 00029 const char TEXT_FILE_EXT[] = ".txt"; 00030 const int DETAILED_OUTPUT_FILE_VERSION = 1; 00031 const int MAX_TREE_LABEL_SIZE = 10; 00032 const int MAX_TREE_CHAR_VALUE_SIZE = 25; 00034 const int MAX_SPECIES_NAME_SIZE = 50; 00035 const int MAX_NAMESTRING_SIZE = 50; 00036 const int MAX_PLOTTITLE_SIZE = 80; 00037 const float QUADRAT_CELL_SIZE = 2; 00038 const float CONVERT_TO_DEGREES = 57.29578; 00039 const float CONVERT_TO_RADIANS = 0.0174533; 00040 const int M_SQ_PER_HA = 10000; 00041 const float VERY_SMALL_VALUE = 1e-5; 00044 const float CONVERT_IN_TO_CM = 2.54; 00045 const float CONVERT_CM_TO_IN = 0.394; 00046 const float CONVERT_LBS_TO_KG = 0.454; 00047 const float CONVERT_KG_TO_MG = 0.001; 00048 const float CONVERT_G_TO_KG = 0.001; 00049 const float CONVERT_MM_TO_CM = 0.1; 00050 const float CONVERT_CM_TO_MM = 10.0; 00051 const int MAX_SUBPLOT_NAME_SIZE = 50; 00053 //--------------------------------------------------------------------------- 00054 #endif