SpECTRE  v2026.04.01
Loading...
Searching...
No Matches
domain::creators::time_dependent_options::RotationMapOptions< AllowSettleFoTs > Struct Template Reference

Class that holds hard coded rotation map options from the input file. More...

#include <RotationMap.hpp>

Classes

struct  DecayTimescale
struct  InitialAngularVelocity
struct  InitialQuaternions

Public Types

using type
using non_settle_options = tmpl::list<InitialAngularVelocity>
using settle_options = tmpl::list<InitialQuaternions, DecayTimescale>
using options

Public Member Functions

 RotationMapOptions (const std::array< double, 3 > &initial_angular_velocity, const Options::Context &context={})
 RotationMapOptions (const std::vector< std::array< double, 4 > > &initial_quaternions, double decay_timescale_in, const Options::Context &context={})

Static Public Member Functions

static std::string name ()

Public Attributes

std::array< DataVector, 3 > quaternions {}
std::array< DataVector, 4 > angles {}
std::optional< double > decay_timescale

Static Public Attributes

static constexpr Options::String help

Detailed Description

template<bool AllowSettleFoTs>
struct domain::creators::time_dependent_options::RotationMapOptions< AllowSettleFoTs >

Class that holds hard coded rotation map options from the input file.

Details

This class can also be used as an option tag with the type type alias, name() function, and help string.

Member Typedef Documentation

◆ options

template<bool AllowSettleFoTs>
using domain::creators::time_dependent_options::RotationMapOptions< AllowSettleFoTs >::options
Initial value:
tmpl::conditional_t<
AllowSettleFoTs,
tmpl::list<Options::Alternatives<non_settle_options, settle_options>>,
non_settle_options>

◆ type

template<bool AllowSettleFoTs>
using domain::creators::time_dependent_options::RotationMapOptions< AllowSettleFoTs >::type
Initial value:
A class indicating that a parsed value can be automatically computed instead of specified.
Definition Auto.hpp:44
'None' label
Definition Auto.hpp:26
Read in FunctionOfTime coefficients from an H5 file and volume subfile.
Definition FromVolumeFile.hpp:27

Member Data Documentation

◆ help

template<bool AllowSettleFoTs>
Options::String domain::creators::time_dependent_options::RotationMapOptions< AllowSettleFoTs >::help
staticconstexpr
Initial value:
= {
"Options for a time-dependent rotation of the coordinates. Specify "
"'None' to not use this map."}

The documentation for this struct was generated from the following file:
  • src/Domain/Creators/TimeDependentOptions/RotationMap.hpp