SERiF v0.0.1a
Stellar Evolution and Rotation in Four Dimensions
Loading...
Searching...
No Matches
discretization.hpp File Reference
#include <optional>
#include <tuple>
#include <type_traits>
#include "serif/backend/mfem/model/discretization.hpp"
#include "serif/backend/mfem/serialize/resources.hpp"
#include "serif/utils/serialize/model.hpp"
#include "serif/utils/serialize/physics.hpp"
Include dependency graph for discretization.hpp:
This graph shows which files directly or indirectly include this file:

Classes

struct  serif::utils::serialize::Serializer< model::backend::mfem::StellarDiscretization< Owner, Bindings, Deformation > >
 Integrate native discretizations into packs while keeping application-owner reconstruction explicit. More...
 
struct  serif::backend::mfem::serialize::detail::OwnedBindings< Context, Keys >
 

Namespaces

namespace  serif
 
namespace  serif::backend
 
namespace  serif::backend::mfem
 
namespace  serif::backend::mfem::serialize
 
namespace  serif::backend::mfem::serialize::detail
 
namespace  serif::utils
 
namespace  serif::utils::serialize
 

Typedefs

template<typename Original>
using serif::backend::mfem::serialize::RestoredDiscretization
 Retain all compile-time physical choices while replacing an opaque user owner with archive-owned resources.
 

Functions

template<typename Schema>
utils::serialize::Node serif::backend::mfem::serialize::detail::domain_schema ()
 Record semantic domain and boundary labels, independent of live mesh addresses.
 
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)
 Restore one typed term only after checking its scientific identity and reduced numbering.
 
template<typename Owner, typename Bindings, typename Deformation>
utils::serialize::Node serif::backend::mfem::serialize::save_discretization (const model::backend::mfem::StellarDiscretization< Owner, Bindings, Deformation > &value, SaveOptions options={})
 Save physical FE interpretation and numerical geometry, excluding caches and the application's opaque owner.
 
template<typename Original>
utils::serialize::Result< RestoredDiscretization< Original > > serif::backend::mfem::serialize::restore_discretization (const utils::serialize::Node &node, const MeshResolver &resolver={})
 Recreate a typed discretization with its own meshes, spaces and mapping inputs.