#ifndef SIM_CONSTANTS_H #define SIM_CONSTANTS_H #include namespace SimConstants { static const double minimal_cross_section = std::numeric_limits::min() * 1E5; static const double minimal_macroscopic_cross_section = std::numeric_limits::min() * 1E5; static const double random_lower_limit = 1E-15; static const double compare_epsilon = 1E-10; // engine state of mt19973 engine consists of 624 numbers (output seems to write 625) // (assumed to be constant); each number is represented by a 32 bit word (2^32 = 4294967296) // i.e. each number needs at most 10 digits; the numbers are seperated by whitespaces // -> max length = 10*625 + 624 = 6874 (add one more digit to be on the safe side) static const size_t engine_string_length_max = 6875; } // namespace SimConstants #endif /* SIM_CONSTANTS_H */