SpECTRE  2021.08.02
TestHelpers::DenseTriggers::BoxTrigger< Label > Class Template Reference

Classes

struct  IsReady
 
struct  IsTriggered
 
struct  NextCheck
 

Public Types

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

Public Member Functions

Result is_triggered (const bool is_ready, const bool is_triggered, const double next_check) const noexcept
 
bool is_ready (const bool is_ready) const noexcept
 
- 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 Member Functions

static std::string name () noexcept
 

Static Public Attributes

constexpr static Options::String help = "help"