Files
karl/include/constants/sim_constants.h
T
csendlinger c33629cb88 Added new reading routines (engine state,
4d double, 4d int); fixed error in RestartInfo
output; added the maximum length of the engine
state string into sim_constants.h
2024-08-27 14:46:48 +02:00

21 lines
646 B
C++
Executable File

#ifndef SIM_CONSTANTS_H
#define SIM_CONSTANTS_H
#include <limits>
namespace SimConstants {
static const double minimal_cross_section =
std::numeric_limits<double>::min() * 1E5;
static const double minimal_macroscopic_cross_section =
std::numeric_limits<double>::min() * 1E5;
static const double random_lower_limit = 1E-15;
static const double compare_epsilon = 1E-10;
// maximum length for the string produced by the "<<"-operator
// of the mt19973 engine. ("empirical" value, might be too low,
// or depend on the system)
static const size_t engine_string_length_max = 6730;
} // namespace SimConstants
#endif /* SIM_CONSTANTS_H */