|
CDT++ 1.0.0-rc3
Causal Dynamical Triangulations in C++
|
Positive pass count and checkpoint interval for a move run. More...
#include <Move_run.hpp>
Public Member Functions | |
| MoveRunCadence ()=default | |
| Construct the valid single-pass default cadence. | |
| constexpr auto | checkpoint () const noexcept |
| constexpr auto | passes () const noexcept |
Static Public Member Functions | |
| static auto | parse (Int_precision const passes, Int_precision const checkpoint) noexcept -> std::expected< MoveRunCadence, MoveRunCadenceError > |
| Parse raw counts into a cadence that proves positivity. | |
Positive pass count and checkpoint interval for a move run.
Once parsed, the orchestration core can use both values without repeating positivity checks.
Definition at line 36 of file Move_run.hpp.
|
inlinenodiscardconstexprnoexcept |
Definition at line 80 of file Move_run.hpp.
Referenced by parse().
|
inlinestaticnodiscardnoexcept |
Parse raw counts into a cadence that proves positivity.
| passes | Number of passes; must be greater than zero. |
| checkpoint | Number of passes between checkpoint events; must be greater than zero. |
Definition at line 61 of file Move_run.hpp.
References checkpoint(), cdt::NONPOSITIVE_CHECKPOINT, cdt::NONPOSITIVE_PASSES, and passes().
Referenced by cdt::detail::parse_move_run_cadence().
|
inlinenodiscardconstexprnoexcept |
Definition at line 77 of file Move_run.hpp.
Referenced by parse().