SERiF v0.0.1a
Stellar Evolution and Rotation in Four Dimensions
Loading...
Searching...
No Matches
serif::utils::serialize::Serializer< equations::BarotropicDensityBalance< EOS > > Struct Template Reference

#include <equations.hpp>

Collaboration diagram for serif::utils::serialize::Serializer< equations::BarotropicDensityBalance< EOS > >:
[legend]

Public Types

using T = equations::BarotropicDensityBalance<EOS>
 

Static Public Member Functions

static Node save (const T &value)
 Preserve the EOS, surface pressure and physical rotation geometry rather than a cached primitive.
 
static Result< T > load (const Node &node)
 Reconstruct the surface reference through the equation's validated public constructor.
 

Static Public Attributes

static constexpr std::string_view key = "equation.barotropic_density"
 

Member Typedef Documentation

◆ T

Member Function Documentation

◆ load()

template<typename EOS>
static Result< T > serif::utils::serialize::Serializer< equations::BarotropicDensityBalance< EOS > >::load ( const Node & node)
inlinestaticnodiscard

Reconstruct the surface reference through the equation's validated public constructor.

◆ save()

template<typename EOS>
static Node serif::utils::serialize::Serializer< equations::BarotropicDensityBalance< EOS > >::save ( const T & value)
inlinestaticnodiscard

Preserve the EOS, surface pressure and physical rotation geometry rather than a cached primitive.

Member Data Documentation

◆ key

template<typename EOS>
std::string_view serif::utils::serialize::Serializer< equations::BarotropicDensityBalance< EOS > >::key = "equation.barotropic_density"
staticconstexpr

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