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

Save a portable accepted physical state together with its complete supported Newton history. More...

#include <solver.hpp>

Collaboration diagram for serif::utils::serialize::Serializer< solver::NewtonCheckpoint< State > >:
[legend]

Static Public Member Functions

static Node save (const solver::NewtonCheckpoint< State > &checkpoint)
 Leave physical state layout and field conventions to their own serializer.
 
static Result< solver::NewtonCheckpoint< State > > load (const Node &node)
 Reject unsupported strategy history and malformed accepted boundaries before evaluation.
 

Static Public Attributes

static constexpr std::string_view key = "checkpoint"
 

Detailed Description

template<typename State>
struct serif::utils::serialize::Serializer< solver::NewtonCheckpoint< State > >

Save a portable accepted physical state together with its complete supported Newton history.

Member Function Documentation

◆ load()

template<typename State>
static Result< solver::NewtonCheckpoint< State > > serif::utils::serialize::Serializer< solver::NewtonCheckpoint< State > >::load ( const Node & node)
inlinestatic

Reject unsupported strategy history and malformed accepted boundaries before evaluation.

◆ save()

template<typename State>
static Node serif::utils::serialize::Serializer< solver::NewtonCheckpoint< State > >::save ( const solver::NewtonCheckpoint< State > & checkpoint)
inlinestatic

Leave physical state layout and field conventions to their own serializer.

Member Data Documentation

◆ key

template<typename State>
std::string_view serif::utils::serialize::Serializer< solver::NewtonCheckpoint< State > >::key = "checkpoint"
staticconstexpr

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