|
SERiF v0.0.1a
Stellar Evolution and Rotation in Four Dimensions
|
Collect shared meshes, collections and spaces once while recording their associations. More...
#include <resources.hpp>
Public Member Functions | |
| ResourceWriter (SaveOptions options={}) | |
| Select whether each distinct mesh is embedded. | |
| std::uint64_t | mesh (const ::mfem::Mesh &value) |
| Record one mesh and return its archive index. | |
| std::uint64_t | space (const ::mfem::FiniteElementSpace &value) |
| Record one fixed-order space and return its archive index. | |
| void | mapping (const ::mfem::GridFunction &compactification, const serif::mapping::DomainMapper &mapper) |
| Record field geometry, compactification and mapping inputs. | |
| utils::serialize::Node | reference (const geometry::deformation::backend::mfem::ReferenceDiscretization &value) |
| Record the paired spaces and mesh used to interpret shape coefficients. | |
| utils::serialize::Node | finish () && |
| Move the complete resource record into its containing discretization. | |
Private Member Functions | |
| std::uint64_t | collection (const ::mfem::FiniteElementCollection &value) |
| Share collection identity because deformation companions require the same collection object. | |
Private Attributes | |
| SaveOptions | m_options |
| utils::serialize::Node | m_record |
| std::vector< const ::mfem::Mesh * > | m_meshes |
| std::vector< const ::mfem::FiniteElementCollection * > | m_collections |
| std::vector< const ::mfem::FiniteElementSpace * > | m_spaces |
Collect shared meshes, collections and spaces once while recording their associations.
|
explicit |
Select whether each distinct mesh is embedded.
|
nodiscardprivate |
Share collection identity because deformation companions require the same collection object.
|
nodiscard |
Move the complete resource record into its containing discretization.
| void serif::backend::mfem::serialize::ResourceWriter::mapping | ( | const ::mfem::GridFunction & | compactification, |
| const serif::mapping::DomainMapper & | mapper ) |
Record field geometry, compactification and mapping inputs.
|
nodiscard |
Record one mesh and return its archive index.
|
nodiscard |
Record the paired spaces and mesh used to interpret shape coefficients.
|
nodiscard |
Record one fixed-order space and return its archive index.
|
private |
|
private |
|
private |
|
private |
|
private |