SpECTRE  v2026.04.01
Loading...
Searching...
No Matches
control_system::size::States::AhSpeed Class Reference

Public Types

using options = tmpl::list<>

Public Member Functions

std::string name () const override
 Name of this state.
size_t number () const override
 Return a size_t that corresponds to the state number in SpEC.
std::unique_ptr< Stateget_clone () const override
std::string update (const gsl::not_null< Info * > info, const StateUpdateArgs &update_args, const CrossingTimeInfo &crossing_time_info) const override
 Updates the Info in info.
double control_error (const Info &info, const ControlErrorArgs &control_error_args) const override
 The return value is Q from Eq. 92 of [100].
 WRAPPED_PUPable_decl_template (AhSpeed)
 AhSpeed (CkMigrateMessage *const)
Public Member Functions inherited from control_system::size::State
 State (const State &)=default
Stateoperator= (const State &)=default
 State (State &&)=default
Stateoperator= (State &&)=default
 WRAPPED_PUPable_abstract (State)
 State (CkMigrateMessage *msg)

Static Public Attributes

static constexpr Options::String help

Member Function Documentation

◆ control_error()

double control_system::size::States::AhSpeed::control_error ( const Info & info,
const ControlErrorArgs & control_error_args ) const
overridevirtual

The return value is Q from Eq. 92 of [100].

Implements control_system::size::State.

◆ get_clone()

std::unique_ptr< State > control_system::size::States::AhSpeed::get_clone ( ) const
overridevirtual

◆ name()

std::string control_system::size::States::AhSpeed::name ( ) const
inlineoverridevirtual

Name of this state.

Implements control_system::size::State.

◆ number()

size_t control_system::size::States::AhSpeed::number ( ) const
inlineoverridevirtual

Return a size_t that corresponds to the state number in SpEC.

Implements control_system::size::State.

◆ update()

std::string control_system::size::States::AhSpeed::update ( const gsl::not_null< Info * > info,
const StateUpdateArgs & update_args,
const CrossingTimeInfo & crossing_time_info ) const
overridevirtual

Updates the Info in info.

Note
Notice that info includes a state, which might be different than the current state upon return. It is the caller's responsibility to check if the current state has changed.

Returns: The return string is used as a helpful diagnostic that may be printed to determine what logic decisions the state is making (depends on the control_system::Tags::Verbosity flag).

Implements control_system::size::State.

Member Data Documentation

◆ help

Options::String control_system::size::States::AhSpeed::help
staticconstexpr
Initial value:
{
"Controls the velocity of the excision surface to avoid incoming "
"characteristic speeds. This is state 1 in SpEC."}

The documentation for this class was generated from the following file:
  • src/ControlSystem/ControlErrors/Size/AhSpeed.hpp