SERiF v0.0.1a
Stellar Evolution and Rotation in Four Dimensions
Loading...
Searching...
No Matches
serif::utils::serialize::Serializer< geometry::deformation::SphericalHarmonicSurface > Struct Reference

#include <physics.hpp>

Inheritance diagram for serif::utils::serialize::Serializer< geometry::deformation::SphericalHarmonicSurface >:
[legend]
Collaboration diagram for serif::utils::serialize::Serializer< geometry::deformation::SphericalHarmonicSurface >:
[legend]

Public Types

using T = geometry::deformation::SphericalHarmonicSurface
 

Static Public Member Functions

static bool valid (const T &value)
 Reject invalid saved parameters before any numerical preparation.
 
- Static Public Member Functions inherited from serif::utils::serialize::StructSerializer< geometry::deformation::SphericalHarmonicSurface >
static Node save (const geometry::deformation::SphericalHarmonicSurface &value)
 Delegate each named field to its own serializer.
 
static Result< geometry::deformation::SphericalHarmonicSurface > load (const Node &node)
 Reconstruct only after every named field has decoded successfully.
 

Static Public Attributes

static constexpr std::string_view key = "surface.normalized_real_spherical_harmonics"
 
static constexpr auto members
 

Member Typedef Documentation

◆ T

Member Function Documentation

◆ valid()

static bool serif::utils::serialize::Serializer< geometry::deformation::SphericalHarmonicSurface >::valid ( const T & value)
inlinestaticnodiscard

Reject invalid saved parameters before any numerical preparation.

Member Data Documentation

◆ key

std::string_view serif::utils::serialize::Serializer< geometry::deformation::SphericalHarmonicSurface >::key = "surface.normalized_real_spherical_harmonics"
staticconstexpr

◆ members

Initial value:
= std::tuple{
member_field("reference_center", &T::reference_center),
member_field("maximum_degree", &T::maximum_degree),
member_field("maximum_azimuthal_order", &T::maximum_azimuthal_order)
}
constexpr auto member_field(std::string_view name, Value Owner::*pointer)
Deduce a member's stored type from its ordinary C++ declaration.
Definition components.hpp:20
std::optional< int > maximum_azimuthal_order
Definition models.hpp:19
std::array< double, 3 > reference_center
Definition models.hpp:17

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