SpECTRE  v2026.04.01
Loading...
Searching...
No Matches
Triggers::NearTimes Class Reference

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
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

Detailed Description

Trigger in intervals surrounding particular times.

When using adaptive time stepping, intervals specified in terms of slabs or steps are approximate.

See also
Times

Member Typedef Documentation

◆ options

using Triggers::NearTimes::options
Initial value:
tmpl::list<typename OptionTags::Times, typename OptionTags::Range,
Definition NearTimes.hpp:63
Definition NearTimes.hpp:58
Definition NearTimes.hpp:70

Member Data Documentation

◆ help

Options::String Triggers::NearTimes::help
staticconstexpr
Initial value:
=
"Trigger in intervals surrounding particular times."

The documentation for this class was generated from the following file:
  • src/Time/Triggers/NearTimes.hpp