Many, many more comments

This commit is contained in:
2024-12-04 17:15:04 +01:00
parent 8696517336
commit 03854339ca
100 changed files with 1702 additions and 49 deletions
+5
View File
@@ -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