#ifndef SIM_CONSTANTS_H #define SIM_CONSTANTS_H #include // constants due to numercial accuracy namespace SimConstants { // minimal value for a cross section static const double minimal_cross_section = std::numeric_limits::min() * 1E5; // minimal value for a cross section scaled by density static const double minimal_macroscopic_cross_section = std::numeric_limits::min() * 1E5; // arbitrarily chosen value to serve as the lowest value possible (to exclude 0) static const double random_lower_limit = 1E-15; // double1 == double2 <=> abs(double1 - double2) <= compare_epsilon static const double compare_epsilon = 1E-10; } // namespace SimConstants #endif /* SIM_CONSTANTS_H */