SERiF v0.0.1a
Stellar Evolution and Rotation in Four Dimensions
Loading...
Searching...
No Matches
serif::utils::serialize::Serializer< model::backend::mfem::StellarDiscretization< Owner, Bindings, Deformation > > Struct Template Reference

Integrate native discretizations into packs while keeping application-owner reconstruction explicit. More...

#include <discretization.hpp>

Collaboration diagram for serif::utils::serialize::Serializer< model::backend::mfem::StellarDiscretization< Owner, Bindings, Deformation > >:
[legend]

Public Types

using Discretization = model::backend::mfem::StellarDiscretization<Owner, Bindings, Deformation>
 

Static Public Member Functions

static Node save (const model::backend::mfem::StellarDiscretization< Owner, Bindings, Deformation > &value)
 Include complete reference meshes unless save_discretization explicitly requests external resolution.
 
static Result< Discretization > load (const Node &)
 Explain why reconstructing an arbitrary application resource-owner type is not a generic decoding operation.
 

Static Public Attributes

static constexpr std::string_view key = "discretization"
 

Detailed Description

template<typename Owner, typename Bindings, typename Deformation>
struct serif::utils::serialize::Serializer< model::backend::mfem::StellarDiscretization< Owner, Bindings, Deformation > >

Integrate native discretizations into packs while keeping application-owner reconstruction explicit.

Member Typedef Documentation

◆ Discretization

template<typename Owner, typename Bindings, typename Deformation>
using serif::utils::serialize::Serializer< model::backend::mfem::StellarDiscretization< Owner, Bindings, Deformation > >::Discretization = model::backend::mfem::StellarDiscretization<Owner, Bindings, Deformation>

Member Function Documentation

◆ load()

template<typename Owner, typename Bindings, typename Deformation>
static Result< Discretization > serif::utils::serialize::Serializer< model::backend::mfem::StellarDiscretization< Owner, Bindings, Deformation > >::load ( const Node & )
inlinestatic

Explain why reconstructing an arbitrary application resource-owner type is not a generic decoding operation.

◆ save()

template<typename Owner, typename Bindings, typename Deformation>
static Node serif::utils::serialize::Serializer< model::backend::mfem::StellarDiscretization< Owner, Bindings, Deformation > >::save ( const model::backend::mfem::StellarDiscretization< Owner, Bindings, Deformation > & value)
inlinestatic

Include complete reference meshes unless save_discretization explicitly requests external resolution.

Member Data Documentation

◆ key

template<typename Owner, typename Bindings, typename Deformation>
std::string_view serif::utils::serialize::Serializer< model::backend::mfem::StellarDiscretization< Owner, Bindings, Deformation > >::key = "discretization"
staticconstexpr

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