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

#include <physics.hpp>

Collaboration diagram for serif::utils::serialize::Serializer< model::FixedAngularMomentum >:
[legend]

Static Public Member Functions

static Node save (const model::FixedAngularMomentum &value)
 Preserve the target together with its physical axis and center.
 
static Result< model::FixedAngularMomentum > load (const Node &node)
 Restore a validated angular-momentum prescription.
 

Static Public Attributes

static constexpr std::string_view key = "physics.fixed_angular_momentum"
 

Member Function Documentation

◆ load()

Restore a validated angular-momentum prescription.

◆ save()

Preserve the target together with its physical axis and center.

Member Data Documentation

◆ key

std::string_view serif::utils::serialize::Serializer< model::FixedAngularMomentum >::key = "physics.fixed_angular_momentum"
staticconstexpr

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