SpECTRE
v2024.03.19
|
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::EvolvedPosition< Dim >, Tags::EvolvedVelocity< Dim > > > |
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 | 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 = tmpl::list<::Tags::TimeStepper< TimeStepper >, Tags::InitialPositionAndVelocity > |
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<::Tags::HistoryEvolvedVariables< variables_tag >::type * > time_stepper_history, const TimeStepper &time_stepper, const std::array< tnsr::I< double, Dim >, 2 > &initial_pos_and_vel) |
Static Public Attributes | |
static constexpr size_t | Dim = 3 |
Initializes the time stepper and evolved variables used by the worldtube system.
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.