SpECTRE  v2025.03.17
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages
domain::creators::time_dependent_options::ShapeMapOptions< IncludeTransitionEndsAtCube, Object > Struct Template Reference

Class to be used as an option for initializing shape map coefficients. More...

#include <ShapeMap.hpp>

Classes

struct  InitialValues
 
struct  LMax
 
struct  SizeInitialValues
 

Public Types

using type = Options::Auto< std::variant< ShapeMapOptions< IncludeTransitionEndsAtCube, Object >, FromVolumeFileShapeSize< Object > >, Options::AutoLabel::None >
 
using common_options = implementation defined
 
using options = implementation defined
 

Public Member Functions

 ShapeMapOptions (size_t l_max_in, std::optional< std::variant< KerrSchildFromBoyerLindquist, YlmsFromFile, YlmsFromSpEC > > initial_values_in, std::optional< std::array< double, 3 > > initial_size_values_in=std::nullopt, bool transition_ends_at_cube_in=false)
 

Static Public Member Functions

static std::string name ()
 

Public Attributes

size_t l_max {}
 
std::optional< std::variant< KerrSchildFromBoyerLindquist, YlmsFromFile, YlmsFromSpEC > > initial_values
 
std::optional< std::array< double, 3 > > initial_size_values
 
bool transition_ends_at_cube {false}
 

Static Public Attributes

static constexpr Options::String help
 

Detailed Description

template<bool IncludeTransitionEndsAtCube, domain::ObjectLabel Object>
struct domain::creators::time_dependent_options::ShapeMapOptions< IncludeTransitionEndsAtCube, Object >

Class to be used as an option for initializing shape map coefficients.

Details

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

Template Parameters
IncludeTransitionEndsAtCubeThis is mainly added for the domain::creators::BinaryCompactObject domain.
ObjectWhich object that this shape map represents. Use domain::ObjectLabel::None if there is only a single object in your simulation.

Member Data Documentation

◆ help

template<bool IncludeTransitionEndsAtCube, domain::ObjectLabel Object>
constexpr Options::String domain::creators::time_dependent_options::ShapeMapOptions< IncludeTransitionEndsAtCube, Object >::help
staticconstexpr
Initial value:
= {
"Options for a time-dependent distortion (shape) map about the "
"specified object. Specify 'None' to not use this map."}

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