SpECTRE  2021.08.02
Events::Completion Class Reference

Sets the termination flag for the code to exit. More...

#include <Completion.hpp>

Public Types

using options = tmpl::list<>
 
using argument_tags = tmpl::list<>
 
using is_ready_argument_tags = tmpl::list<>
 

Public Member Functions

template<typename Metavariables , typename ArrayIndex , typename Component >
void operator() (Parallel::GlobalCache< Metavariables > &cache, const ArrayIndex &array_index, const Component *const) const noexcept
 
template<typename Metavariables , typename ArrayIndex , typename Component >
bool is_ready (Parallel::GlobalCache< Metavariables > &, const ArrayIndex &, const Component *const) const noexcept
 
bool needs_evolved_variables () const noexcept override
 Whether the event uses anything depending on the evolved_variables. If this returns false, anything depending on the evolved variables may have an incorrect value when the event is run. More...
 
- Public Member Functions inherited from Event
 Event (CkMigrateMessage *msg) noexcept
 
 WRAPPED_PUPable_abstract (Event)
 
template<typename DbTags , typename Metavariables , typename ArrayIndex , typename ComponentPointer >
void run (const db::DataBox< DbTags > &box, Parallel::GlobalCache< Metavariables > &cache, const ArrayIndex &array_index, const ComponentPointer) const noexcept
 
template<typename DbTags , typename Metavariables , typename ArrayIndex , typename ComponentPointer >
bool is_ready (const db::DataBox< DbTags > &box, Parallel::GlobalCache< Metavariables > &cache, const ArrayIndex &array_index, const ComponentPointer) const noexcept
 

Static Public Attributes

static constexpr Options::String help
 

Detailed Description

Sets the termination flag for the code to exit.

Member Function Documentation

◆ needs_evolved_variables()

bool Events::Completion::needs_evolved_variables ( ) const
inlineoverridevirtualnoexcept

Whether the event uses anything depending on the evolved_variables. If this returns false, anything depending on the evolved variables may have an incorrect value when the event is run.

Implements Event.

Member Data Documentation

◆ help

constexpr Options::String Events::Completion::help
staticconstexpr
Initial value:
= {
"Sets the termination flag for the code to exit."}