SERiF v0.0.1a
Stellar Evolution and Rotation in Four Dimensions
Loading...
Searching...
No Matches
serif::backend::mfem::serialize::detail Namespace Reference

Classes

struct  Error
 Identify the component or field that could not be saved or reconstructed. More...
 
struct  OwnedBindings
 
class  TopModelSampler
 Sample copied coefficients on a private deformed geometry; the original state and mesh remain untouched. More...
 

Typedefs

template<typename T>
using Result
 

Functions

template<typename Schema>
utils::serialize::Node domain_schema ()
 Record semantic domain and boundary labels, independent of live mesh addresses.
 
template<typename Key, typename Context, typename Keys>
utils::serialize::Result< void > restore_binding (const utils::serialize::Node &node, OwnedBindings< Context, Keys > &owner)
 Restore one typed term only after checking its scientific identity and reduced numbering.
 
template<typename EOS>
bool top_matching_polytrope (const EOS &candidate, const eos::models::Polytrope &physical)
 Verify the actual closure EOS rather than assuming a borrowed equation uses the model's values.
 

Variables

template<typename T>
constexpr bool top_rigid_barotrope = false
 
template<typename EOS>
constexpr bool top_rigid_barotrope< equations::BarotropicDensityBalance< EOS > > = true
 

Typedef Documentation

◆ Result

template<typename T>
using serif::utils::serialize::Result

Function Documentation

◆ domain_schema()

template<typename Schema>
utils::serialize::Node serif::backend::mfem::serialize::detail::domain_schema ( )
nodiscard

Record semantic domain and boundary labels, independent of live mesh addresses.

◆ restore_binding()

template<typename Key, typename Context, typename Keys>
utils::serialize::Result< void > serif::backend::mfem::serialize::detail::restore_binding ( const utils::serialize::Node & node,
OwnedBindings< Context, Keys > & owner )
nodiscard

Restore one typed term only after checking its scientific identity and reduced numbering.

◆ top_matching_polytrope()

template<typename EOS>
bool serif::backend::mfem::serialize::detail::top_matching_polytrope ( const EOS & candidate,
const eos::models::Polytrope & physical )
nodiscard

Verify the actual closure EOS rather than assuming a borrowed equation uses the model's values.

Variable Documentation

◆ top_rigid_barotrope

template<typename T>
bool serif::backend::mfem::serialize::detail::top_rigid_barotrope = false
inlineconstexpr

◆ top_rigid_barotrope< equations::BarotropicDensityBalance< EOS > >

template<typename EOS>
bool serif::backend::mfem::serialize::detail::top_rigid_barotrope< equations::BarotropicDensityBalance< EOS > > = true
inlineconstexpr