SpECTRE  2021.08.02
Triggers::TimeCompares Class Reference

Trigger based on a comparison with the time. More...

#include <TimeCompares.hpp>

Classes

struct  Comparison
 
struct  Value
 

Public Types

using options = tmpl::list< Comparison, Value >
 
using argument_tags = tmpl::list< Tags::Time >
 

Public Member Functions

 TimeCompares (const Options::Comparator comparator, const double time) noexcept
 
bool operator() (const double &time) const noexcept
 
void pup (PUP::er &p) noexcept
 
- Public Member Functions inherited from Trigger
 WRAPPED_PUPable_abstract (Trigger)
 
template<typename DbTags >
bool is_triggered (const db::DataBox< DbTags > &box) noexcept
 

Static Public Attributes

static constexpr Options::String help
 

Detailed Description

Trigger based on a comparison with the time.

Member Data Documentation

◆ help

constexpr Options::String Triggers::TimeCompares::help
staticconstexpr
Initial value:
{
"Trigger based on a comparison with the time."}