4d double, 4d int); fixed error in RestartInfo output; added the maximum length of the engine state string into sim_constants.h
21 lines
646 B
C++
Executable File
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 */
|