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

#include <physics.hpp>

Collaboration diagram for serif::utils::serialize::Serializer< eos::models::Polytrope >:
[legend]

Static Public Member Functions

static Node save (const eos::models::Polytrope &value)
 Store the two defining EOS parameters, never cached derivatives.
 
static Result< eos::models::Polytrope > load (const Node &node)
 Let the EOS constructor validate its physical domain.
 

Static Public Attributes

static constexpr std::string_view key = "eos.polytrope"
 

Member Function Documentation

◆ load()

static Result< eos::models::Polytrope > serif::utils::serialize::Serializer< eos::models::Polytrope >::load ( const Node & node)
inlinestaticnodiscard

Let the EOS constructor validate its physical domain.

◆ save()

static Node serif::utils::serialize::Serializer< eos::models::Polytrope >::save ( const eos::models::Polytrope & value)
inlinestaticnodiscard

Store the two defining EOS parameters, never cached derivatives.

Member Data Documentation

◆ key

std::string_view serif::utils::serialize::Serializer< eos::models::Polytrope >::key = "eos.polytrope"
staticconstexpr

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