SpECTRE  v2024.04.12
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 = 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
 

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

◆ help

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