|
CDT++
Causal Dynamical Triangulations in C++
|
Global integer and precision settings. More...
#include <CGAL/GMP/Gmpzf_type.h>#include <cstdint>
Include dependency graph for Settings.hpp:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Typedefs | |
| using | Gmpzf = CGAL::Gmpzf |
| using | Int_precision = std::int_fast32_t |
Variables | |
| static int constexpr | ALIGNMENT_32_BIT = 32 |
| Except when we only need 32 bits. | |
| static int constexpr | ALIGNMENT_64_BIT = 64 |
| Aligns data for ease of access on 64-bit CPUs at the expense of padding. | |
| static double constexpr | FOLIATION_SPACING = 1.0 |
| static Int_precision constexpr | GV_BOUNDING_BOX_SIZE |
| Depends on INITIAL_RADIUS and RADIAL_FACTOR. | |
| static double constexpr | INITIAL_RADIUS = 1.0 |
| Default foliated triangulation spacings. | |
| static Int_precision constexpr | PRECISION = 256 |
| Sets the precision for MPFR. | |
| static double constexpr | TOLERANCE = 0.01 |
| Sets epsilon values for floating point comparisons. | |
Global integer and precision settings.
Global project settings on integer types and MPFR precision
Definition in file Settings.hpp.
| using Gmpzf = CGAL::Gmpzf |
Results are converted to a CGAL multi-precision floating point number. Gmpzf itself is based on GMP (https://gmplib.org), as is MPFR.
Definition at line 21 of file Settings.hpp.
| using Int_precision = std::int_fast32_t |
Sets the type of integer to use throughout the project. These are the base values read into the program or used in calculations. Casts to unsigned types are still necessary for certain library functions to work.
Definition at line 31 of file Settings.hpp.
|
inlinestaticconstexpr |
Except when we only need 32 bits.
Definition at line 61 of file Settings.hpp.
|
inlinestaticconstexpr |
Aligns data for ease of access on 64-bit CPUs at the expense of padding.
Definition at line 58 of file Settings.hpp.
|
inlinestaticconstexpr |
Definition at line 48 of file Settings.hpp.
|
inlinestaticconstexpr |
Depends on INITIAL_RADIUS and RADIAL_FACTOR.
Definition at line 54 of file Settings.hpp.
|
inlinestaticconstexpr |
Default foliated triangulation spacings.
Definition at line 47 of file Settings.hpp.
|
inlinestaticconstexpr |
Sets the precision for MPFR.
Correctly declare global constants See Jonathan Boccara's C++ Pitfalls, January 2021
Definition at line 44 of file Settings.hpp.
Referenced by MoveStrategy< Strategies::METROPOLIS, ManifoldType >::CalculateA1(), MoveStrategy< Strategies::METROPOLIS, ManifoldType >::CalculateA2(), S3_bulk_action(), S3_bulk_action_alpha_minus_one(), and S3_bulk_action_alpha_one().
|
inlinestaticconstexpr |
Sets epsilon values for floating point comparisons.
Definition at line 51 of file Settings.hpp.
Referenced by foliated_triangulations::FoliatedTriangulation< 3 >::does_vertex_radius_match_timevalue().