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

Export scientific results and supported restart data without pretending frozen operators are persistent. More...

#include <solver.hpp>

Collaboration diagram for serif::utils::serialize::Serializer< solver::SolveResult< State, System, Model > >:
[legend]

Static Public Member Functions

static Node save (const solver::SolveResult< State, System, Model > &result)
 Compose independently inspectable result, physical model, state and normalization records.
 
static Result< solver::SolveResult< State, System, Model > > load (const Node &)
 Runtime systems must be rebuilt through the solver from the archived model and checkpoint.
 

Static Public Attributes

static constexpr std::string_view key = "solution"
 

Detailed Description

template<typename State, typename System, typename Model>
struct serif::utils::serialize::Serializer< solver::SolveResult< State, System, Model > >

Export scientific results and supported restart data without pretending frozen operators are persistent.

Member Function Documentation

◆ load()

template<typename State, typename System, typename Model>
static Result< solver::SolveResult< State, System, Model > > serif::utils::serialize::Serializer< solver::SolveResult< State, System, Model > >::load ( const Node & )
inlinestatic

Runtime systems must be rebuilt through the solver from the archived model and checkpoint.

◆ save()

template<typename State, typename System, typename Model>
static Node serif::utils::serialize::Serializer< solver::SolveResult< State, System, Model > >::save ( const solver::SolveResult< State, System, Model > & result)
inlinestatic

Compose independently inspectable result, physical model, state and normalization records.

Member Data Documentation

◆ key

template<typename State, typename System, typename Model>
std::string_view serif::utils::serialize::Serializer< solver::SolveResult< State, System, Model > >::key = "solution"
staticconstexpr

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