SpECTRE  v2025.03.17
control_system::Actions::SwitchGridRotationToSettle::UpdateRotationToSettle Struct Reference

Invokable that changes the rotation function of time to a QuaternionSettleToConstant matching the current function of time values and derivatives for the rotation and decaying over a specified timescale. More...

#include <GridCenters.hpp>

Static Public Member Functions

static void apply (gsl::not_null< std::unordered_map< std::string, std::unique_ptr< domain::FunctionsOfTime::FunctionOfTime > > * > f_of_t_list, const std::string &function_of_time_name, const std::array< DataVector, 3 > &initial_func_and_derivs, double match_time, double decay_time)
 

Detailed Description

Invokable that changes the rotation function of time to a QuaternionSettleToConstant matching the current function of time values and derivatives for the rotation and decaying over a specified timescale.

Note that the final orientation of the domain is arbitrary. If we want to rotate to a specific angle (e.g. aligning logical and inertial coordinate axes), we need a (new) QuaternionSettleToSpecifiedValue function of time.


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