SERiF v0.0.1a
Stellar Evolution and Rotation in Four Dimensions
Loading...
Searching...
No Matches
serif::utils::serialize::Serializer< solver::normalization::NormalizationOptions< Scheme, Coordinates, Plan, Sources, Computations > > Struct Template Reference

#include <numerics.hpp>

Inheritance diagram for serif::utils::serialize::Serializer< solver::normalization::NormalizationOptions< Scheme, Coordinates, Plan, Sources, Computations > >:
[legend]
Collaboration diagram for serif::utils::serialize::Serializer< solver::normalization::NormalizationOptions< Scheme, Coordinates, Plan, Sources, Computations > >:
[legend]

Public Types

using T = solver::normalization::NormalizationOptions<Scheme, Coordinates, Plan, Sources, Computations>
 

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< solver::normalization::NormalizationOptions< Scheme, Coordinates, Plan, Sources, Computations > >
static Node save (const solver::normalization::NormalizationOptions< Scheme, Coordinates, Plan, Sources, Computations > &value)
 Delegate each named field to its own serializer.
 
static Result< solver::normalization::NormalizationOptions< Scheme, Coordinates, Plan, Sources, Computations > > load (const Node &node)
 Reconstruct only after every named field has decoded successfully.
 

Static Public Attributes

static constexpr std::string_view key = "normalization"
 
static constexpr auto members
 

Member Typedef Documentation

◆ T

template<typename Scheme, typename Coordinates, typename Plan, typename Sources, typename Computations>
using serif::utils::serialize::Serializer< solver::normalization::NormalizationOptions< Scheme, Coordinates, Plan, Sources, Computations > >::T = solver::normalization::NormalizationOptions<Scheme, Coordinates, Plan, Sources, Computations>

Member Function Documentation

◆ valid()

template<typename Scheme, typename Coordinates, typename Plan, typename Sources, typename Computations>
static bool serif::utils::serialize::Serializer< solver::normalization::NormalizationOptions< Scheme, Coordinates, Plan, Sources, Computations > >::valid ( const T & value)
inlinestaticnodiscard

Reject invalid saved parameters before any numerical preparation.

Member Data Documentation

◆ key

template<typename Scheme, typename Coordinates, typename Plan, typename Sources, typename Computations>
std::string_view serif::utils::serialize::Serializer< solver::normalization::NormalizationOptions< Scheme, Coordinates, Plan, Sources, Computations > >::key = "normalization"
staticconstexpr

◆ members

template<typename Scheme, typename Coordinates, typename Plan, typename Sources, typename Computations>
auto serif::utils::serialize::Serializer< solver::normalization::NormalizationOptions< Scheme, Coordinates, Plan, Sources, Computations > >::members
staticconstexpr
Initial value:
= std::tuple{
member_field("scheme", &T::scheme),
member_field("coordinates", &T::coordinates),
member_field("plan", &T::plan),
member_field("gravitational_constant", &T::gravitational_constant),
member_field("sources", &T::sources),
member_field("computations", &T::computations)
}
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
dimensions::QuantityValue< dimensions::GravitationalConstant > gravitational_constant
Definition configuration.hpp:50

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