SpECTRE  2021.08.02
DenseTriggers::Times Class Reference

Trigger at specified times. More...

#include <Times.hpp>

Public Types

using is_triggered_argument_tags = tmpl::list< Tags::TimeStepId, Tags::Time >
 
using is_ready_argument_tags = tmpl::list<>
 

Public Member Functions

 Times (std::unique_ptr< TimeSequence< double > > times) noexcept
 
Result is_triggered (const TimeStepId &time_step_id, const double time) 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 Member Functions

static bool is_ready () noexcept
 

Static Public Attributes

static constexpr Options::String help {"Trigger at specified times."}
 

Detailed Description

Trigger at specified times.