SpECTRE
v2024.05.11
|
Trigger in intervals surrounding particular times. More...
#include <NearTimes.hpp>
Classes | |
struct | OptionTags |
Public Types | |
using | Unit = NearTimes_enums::Unit |
using | Direction = NearTimes_enums::Direction |
using | options = tmpl::list< typename OptionTags::Times, typename OptionTags::Range, typename OptionTags::Unit, typename OptionTags::Direction > |
using | argument_tags = tmpl::list< Tags::Time, Tags::TimeStep > |
Public Member Functions | |
NearTimes (std::unique_ptr< TimeSequence< double > > times, const double range, const Unit unit, const Direction direction) | |
bool | operator() (const double now, const TimeDelta &time_step) 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 in intervals surrounding particular times.
When using adaptive time stepping, intervals specified in terms of slabs or steps are approximate.
|
staticconstexpr |