Many, many more comments
This commit is contained in:
@@ -3,12 +3,17 @@
|
||||
|
||||
#include <limits>
|
||||
|
||||
// constants due to numercial accuracy
|
||||
namespace SimConstants {
|
||||
// minimal value for a cross section
|
||||
static const double minimal_cross_section =
|
||||
std::numeric_limits<double>::min() * 1E5;
|
||||
// minimal value for a cross section scaled by density
|
||||
static const double minimal_macroscopic_cross_section =
|
||||
std::numeric_limits<double>::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
|
||||
|
||||
Reference in New Issue
Block a user