SpECTRE  v2025.03.17
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages
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 = ::Tags::Variables< tmpl::list< Tags::EvolvedPosition< Dim >, Tags::EvolvedVelocity< Dim > > >
 
using dt_variables_tag = db::add_tag_prefix<::Tags::dt, variables_tag >
 
using simple_tags = implementation defined
 
using return_tags = simple_tags
 
using compute_tags = implementation defined
 
using const_global_cache_tags = implementation defined
 
using mutable_global_cache_tags = implementation defined
 
using simple_tags_from_options = implementation defined
 
using argument_tags = implementation defined
 

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.


The documentation for this struct was generated from the following file: