SpECTRE  2021.08.02
TestHelpers::DenseTriggers::TestTrigger Class Reference

Classes

struct  IsReady
 
struct  IsTriggered
 
struct  NextCheck
 

Public Types

using options = tmpl::list< IsReady, IsTriggered, NextCheck >
 
using is_triggered_argument_tags = tmpl::list<>
 
using is_ready_argument_tags = tmpl::list<>
 

Public Member Functions

 TestTrigger (const bool is_ready, const bool is_triggered, const double next_check) noexcept
 
Result is_triggered () const noexcept
 
bool is_ready () const noexcept
 
void pup (PUP::er &p) noexcept override
 
- Public Member Functions inherited from DenseTrigger
template<typename DbTags >
Result is_triggered (const db::DataBox< DbTags > &box) const noexcept
 Check whether the trigger fires.
 
template<typename DbTags >
bool is_ready (const db::DataBox< DbTags > &box) const noexcept
 Check whether all data required to evaluate the trigger is available. The trigger is not responsible for checking whether dense output of the evolved variables is possible, but may need to check things such as the availability of FunctionOfTime data.
 

Static Public Attributes

constexpr static Options::String help = "help"