SpECTRE  v2024.09.29
Triggers Namespace Reference

Contains the available triggers. More...

Classes

class  Always
 Always triggers. More...
 
class  And
 Short-circuiting logical AND of other triggers. More...
 
class  NearTimes
 Trigger in intervals surrounding particular times. More...
 
class  Not
 Negates another trigger. More...
 
class  OnSubsteps
 
class  Or
 Short-circuiting logical OR of other triggers. More...
 
class  SeparationLessThan
 A standard trigger that monitors the separation between domain::Tags::ObjectCenter<A> and domain::Tags::ObjectCenter<B> in the inertial frame. Once the separation is smaller than (or equal to) the input separation, then the operator() returns true. More...
 
class  SlabCompares
 Trigger based on a comparison with the slab number. More...
 
class  Slabs
 Trigger at specified numbers of slabs after the simulation start. More...
 
class  StepsWithinSlab
 Trigger at specified numbers of slabs after the simulation start. More...
 
class  TimeCompares
 Trigger based on a comparison with the time. More...
 
class  Times
 Trigger at particular times. More...
 

Typedefs

using logical_triggers = tmpl::list< Always, And, Not, Or >
 A list of all the logical triggers.
 
using time_triggers = tmpl::list< NearTimes, OnSubsteps, SlabCompares, Slabs, TimeCompares, Times >
 Typelist of Time triggers.
 

Enumerations

enum class  WhenToCheck : uint8_t { WhenToCheck::AtIterations , WhenToCheck::AtSlabs , WhenToCheck::AtSteps }
 Frequency at which Events and Triggers are checked. More...
 

Functions

std::ostreamoperator<< (std::ostream &os, const WhenToCheck &when_to_check)
 Output operator for a WhenToCheck.
 

Detailed Description

Contains the available triggers.