SpECTRE  v2026.04.01
Loading...
Searching...
No Matches
CurvedScalarWave::Worldtube::Initialization::InitializeEvolvedVariables Struct Reference

Initializes the time stepper and evolved variables used by the worldtube system. Also sets Tags::CurrentIteration to 0. More...

#include <InitializeEvolvedVariables.hpp>

Public Types

using variables_tag
using dt_variables_tag = db::add_tag_prefix<::Tags::dt, variables_tag>
using simple_tags
using return_tags = simple_tags
using compute_tags = tmpl::list<>
using const_global_cache_tags = tmpl::list<>
using mutable_global_cache_tags = tmpl::list<>
using simple_tags_from_options = tmpl::list<Tags::InitialPositionAndVelocity>
using argument_tags

Static Public Member Functions

static void apply (const gsl::not_null< Variables< tmpl::list< Tags::EvolvedPosition< Dim >, Tags::EvolvedVelocity< Dim > > > * > evolved_vars, const gsl::not_null< Variables< tmpl::list<::Tags::dt< Tags::EvolvedPosition< Dim > >, ::Tags::dt< Tags::EvolvedVelocity< Dim > > > > * > dt_evolved_vars, const gsl::not_null< size_t * > current_iteration, const gsl::not_null< double * > expiration_time, const gsl::not_null< double * > worldtube_radius, const gsl::not_null<::Tags::HistoryEvolvedVariables< variables_tag >::type * > time_stepper_history, const TimeStepper &time_stepper, const std::array< tnsr::I< double, Dim >, 2 > &initial_pos_and_vel, const double initial_time, const ExcisionSphere< Dim > &excision_sphere)

Static Public Attributes

static constexpr size_t Dim = 3

Detailed Description

Initializes the time stepper and evolved variables used by the worldtube system. Also sets Tags::CurrentIteration to 0.

Details

Sets the initial position and velocity of the particle to the values specified in the input file. The time stepper history is set analogous to the elements which use the same time stepper.

Member Typedef Documentation

◆ argument_tags

using CurvedScalarWave::Worldtube::Initialization::InitializeEvolvedVariables::argument_tags
Initial value:
tmpl::list<::Tags::TimeStepper<TimeStepper>,
The excision sphere corresponding to the worldtube.
Definition Tags.hpp:263
The initial position and velocity of the scalar charge in inertial coordinates.
Definition Tags.hpp:435
Tag for the current time as a double.
Definition Time.hpp:19

◆ simple_tags

using CurvedScalarWave::Worldtube::Initialization::InitializeEvolvedVariables::simple_tags
Initial value:
tmpl::list<variables_tag, dt_variables_tag, Tags::CurrentIteration,
The current number of iterations that has been applied to the acceleration of the particle.
Definition Tags.hpp:412
The current expiration time of the functions of time which are controlled by the worldtube singleton.
Definition Tags.hpp:420
The current worldtube radius held by the singleton.
Definition Tags.hpp:427
Tag for the TimeStepper history.
Definition HistoryEvolvedVariables.hpp:18

◆ variables_tag

Initial value:
tmpl::list<Tags::EvolvedPosition<Dim>, Tags::EvolvedVelocity<Dim>>>
The velocity of the scalar charge evolved by the worldtube singleton. This tag is meant to be used by...
Definition Tags.hpp:501
Definition VariablesTag.hpp:17

The documentation for this struct was generated from the following file:
  • src/Evolution/Systems/CurvedScalarWave/Worldtube/SingletonActions/InitializeEvolvedVariables.hpp