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

#include <equations.hpp>

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

Public Types

using T = equations::PointMassCompanion
 

Static Public Member Functions

static Node save (const T &value)
 Preserve G M_c, the companion's position and whether only its tide acts.
 
static Result< T > load (const Node &node)
 Validate through the public constructor.
 

Static Public Attributes

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

Member Typedef Documentation

◆ T

Member Function Documentation

◆ load()

static Result< T > serif::utils::serialize::Serializer< equations::PointMassCompanion >::load ( const Node & node)
inlinestaticnodiscard

Validate through the public constructor.

◆ save()

static Node serif::utils::serialize::Serializer< equations::PointMassCompanion >::save ( const T & value)
inlinestaticnodiscard

Preserve G M_c, the companion's position and whether only its tide acts.

Member Data Documentation

◆ key

std::string_view serif::utils::serialize::Serializer< equations::PointMassCompanion >::key = "equation.point_mass_companion"
staticconstexpr

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