/home/runner/work/spades/spades/Source/Constants.H File Reference

SPADES API: /home/runner/work/spades/spades/Source/Constants.H File Reference
SPADES API
Constants.H File Reference
#include <AMReX_REAL.H>
Include dependency graph for Constants.H:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  spades
 Solver for PArallel Discrete Event Simulation.
 
namespace  spades::constants
 SPADES constants.
 

Variables

static constexpr int spades::constants::N_STATES = 2
 Number of states.
 
static constexpr int spades::constants::LVT_IDX = 0
 Index of the local virtual time.
 
static constexpr int spades::constants::RLB_IDX = 1
 Index of the rollback counts.
 
static constexpr amrex::Real spades::constants::LOW_NUM
 A large negative number.
 
static constexpr amrex::Real spades::constants::SMALL_NUM
 A number close to zero.
 
static constexpr amrex::Real spades::constants::EPS
 A number very close to zero.
 
static constexpr amrex::Real spades::constants::TOL = 1e-6
 A tolerance.
 
static constexpr amrex::Real spades::constants::LARGE_NUM
 A large number.
 
static constexpr amrex::Real spades::constants::HALF = 0.5
 
static constexpr int spades::constants::TWO_TO_EIGHT = 256
 
static constexpr int spades::constants::FILE_NAME_DIGITS = 5
 Number of digits to use in output file names.
 
static constexpr int spades::constants::RNG_FILE_NAME_DIGITS = 10
 Number of digits to use in random seed file names.
 
static constexpr int spades::constants::HEADER_FILE_PRECISION = 17
 Precision to use in header files.
 
static constexpr int spades::constants::MAX_ROLLBACK_ITERS = 20
 Maximum number of rollback iterations allowed.
 
static constexpr int spades::constants::TYPE_NBITS = 4
 Bits to encode the type.
 
static constexpr int spades::constants::TIMESTAMP_NBITS = 32
 Bits to encode the timestamp.
 
static constexpr int spades::constants::TOTAL_NBITS = 64
 Bits to encode the full representation.