SERiF v0.0.1a
Stellar Evolution and Rotation in Four Dimensions
Loading...
Searching...
No Matches
serif::utils::serialize::Serializer< discretization::blocks::SystemLayout< Values, Residuals > > Struct Template Reference

#include <model.hpp>

Collaboration diagram for serif::utils::serialize::Serializer< discretization::blocks::SystemLayout< Values, Residuals > >:
[legend]

Public Types

using T = discretization::blocks::SystemLayout<Values, Residuals>
 

Static Public Member Functions

static Node save (const T &value)
 Save both coordinate orders and their independent lengths.
 
static Result< T > load (const Node &node)
 Check schemas and total-size overflow before constructing a layout.
 

Static Public Attributes

static constexpr std::string_view key = "system_layout"
 

Member Typedef Documentation

◆ T

template<typename Values, typename Residuals>
using serif::utils::serialize::Serializer< discretization::blocks::SystemLayout< Values, Residuals > >::T = discretization::blocks::SystemLayout<Values, Residuals>

Member Function Documentation

◆ load()

template<typename Values, typename Residuals>
static Result< T > serif::utils::serialize::Serializer< discretization::blocks::SystemLayout< Values, Residuals > >::load ( const Node & node)
inlinestaticnodiscard

Check schemas and total-size overflow before constructing a layout.

◆ save()

template<typename Values, typename Residuals>
static Node serif::utils::serialize::Serializer< discretization::blocks::SystemLayout< Values, Residuals > >::save ( const T & value)
inlinestaticnodiscard

Save both coordinate orders and their independent lengths.

Member Data Documentation

◆ key

template<typename Values, typename Residuals>
std::string_view serif::utils::serialize::Serializer< discretization::blocks::SystemLayout< Values, Residuals > >::key = "system_layout"
staticconstexpr

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