SpECTRE  v2024.04.12
Triggers::Times Class Reference

Trigger at particular times. More...

#include <Times.hpp>

Public Types

using argument_tags = tmpl::list< Tags::Time, Tags::TimeStepId >
 

Public Member Functions

 Times (std::unique_ptr< TimeSequence< double > > times)
 
bool operator() (const double now, const TimeStepId &time_id) const
 
void pup (PUP::er &p) override
 
- Public Member Functions inherited from Trigger
 WRAPPED_PUPable_abstract (Trigger)
 
template<typename DbTags >
bool is_triggered (const db::DataBox< DbTags > &box) const
 

Static Public Attributes

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

Detailed Description

Trigger at particular times.

Warning
This trigger will only fire if it is actually checked at the times specified. The StepToTimes StepChooser can be useful for this.

The documentation for this class was generated from the following file: