SERiF v0.0.1a
Stellar Evolution and Rotation in Four Dimensions
Loading...
Searching...
No Matches
reference_geometry.hpp File Reference
Include dependency graph for reference_geometry.hpp:
This graph shows which files directly or indirectly include this file:

Namespaces

namespace  mfem
 
namespace  serif
 
namespace  serif::geometry
 
namespace  serif::geometry::deformation
 
namespace  serif::geometry::deformation::backend
 
namespace  serif::geometry::deformation::backend::mfem
 
namespace  serif::geometry::deformation::backend::mfem::detail
 

Functions

DeformationStatus serif::geometry::deformation::backend::mfem::validate_scalar_reference_space (const ::mfem::FiniteElementSpace &scalar_space)
 Reject spaces whose coefficients cannot be interpreted as serial nodal positions.
 
DeformationStatus serif::geometry::deformation::backend::mfem::validate_companion_numbering (const ::mfem::FiniteElementSpace &reference_space, const ::mfem::FiniteElementSpace &companion_space)
 Require identical scalar coefficient meanings in two companion spaces. Vector component ordering may differ; element bases and their scalar-node indices must agree.
 
std::expected< std::vector< std::array< double, 3 > >, DeformationFailure > serif::geometry::deformation::backend::mfem::sample_reference_positions (const ::mfem::FiniteElementSpace &scalar_space, ::mfem::Mesh &reference_mesh)
 Sample a paired mesh at the scalar companion nodes, checking shared-node agreement.
 
std::expected< std::vector< int >, DeformationFailure > serif::geometry::deformation::backend::mfem::select_surface_scalar_dofs (const ::mfem::FiniteElementSpace &scalar_space, int surface_attribute)
 Select canonical surface nodes without retaining a mesh or finite-element-space pointer.
 
std::expected< ReferenceSurface, DeformationFailure > serif::geometry::deformation::backend::mfem::sample_reference_surface (const ::mfem::FiniteElementSpace &scalar_space, int surface_attribute)
 Sample physical reference positions in ascending scalar-DOF order.
 
DeformationStatus serif::geometry::deformation::backend::mfem::validate_surface_trace (const ::mfem::FiniteElementSpace &scalar_space, int surface_attribute, const ReferenceSurface &reference_surface, const SurfaceEmbedding &embedding)
 Require the same ordered reference nodes and physical positions as a compiled surface embedding.
 
std::expected< std::vector< std::array< double, 3 > >, DeformationFailure > serif::geometry::deformation::backend::mfem::detail::sample_reference_positions (const ::mfem::FiniteElementSpace &scalar_space, ::mfem::Mesh &reference_mesh)
 Sample paired coordinates after the scalar node-selection stage has validated the space.
 
std::expected< ReferenceSurface, DeformationFailure > serif::geometry::deformation::backend::mfem::detail::sample_reference_surface (const ::mfem::FiniteElementSpace &scalar_space, const std::vector< int > &selected)
 Reuse the graph's canonical surface nodes when only physical coordinates changed.