SpECTRE  v2024.02.05
CurvedScalarWave::Worldtube::Initialization::InitializeEvolvedVariables Struct Reference

Initializes the time stepper and evolved variables used by the worldtube system. More...

#include <InitializeEvolvedVariables.hpp>

Public Types

using variables_tag = ::Tags::Variables< tmpl::list< Tags::Psi0, Tags::dtPsi0 > >
 
using dt_variables_tag = db::add_tag_prefix<::Tags::dt, variables_tag >
 
using simple_tags = tmpl::list< variables_tag, dt_variables_tag, ::Tags::HistoryEvolvedVariables< variables_tag > >
 
using return_tags = simple_tags
 
using compute_tags = tmpl::list<>
 
using simple_tags_from_options = tmpl::list<>
 
using const_global_cache_tags = tmpl::list<>
 
using mutable_global_cache_tags = tmpl::list<>
 
using argument_tags = tmpl::list<::Tags::TimeStepper< TimeStepper > >
 

Static Public Member Functions

static void apply (const gsl::not_null< Variables< tmpl::list< Tags::Psi0, Tags::dtPsi0 > > * > evolved_vars, const gsl::not_null< Variables< tmpl::list<::Tags::dt< Tags::Psi0 >, ::Tags::dt< Tags::dtPsi0 > > > * > dt_evolved_vars, const gsl::not_null<::Tags::HistoryEvolvedVariables< variables_tag >::type * > time_stepper_history, const TimeStepper &time_stepper)
 

Detailed Description

Initializes the time stepper and evolved variables used by the worldtube system.

Details

Sets Tags::Psi0 and Tags::dt<Tags::Psi0> to size 1 with initial value 0. 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: