SERiF v0.0.1a
Stellar Evolution and Rotation in Four Dimensions
Loading...
Searching...
No Matches
computations.hpp File Reference

File containing the factories to make the computation graph for the mfem backend of the geometry/deformation module. More...

Include dependency graph for computations.hpp:
This graph shows which files directly or indirectly include this file:

Namespaces

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

template<typename Value>
std::expected< std::shared_ptr< const Value >, DeformationFailure > serif::geometry::deformation::backend::mfem::detail::share_reference_result (std::expected< Value, DeformationFailure > result)
 Share a successfully compiled immutable table without copying it into each consumer.
 
std::expected< RadialInterpolation, DeformationFailure > serif::geometry::deformation::backend::mfem::detail::compile_radial_reference (const ReferenceDiscretization &input, const std::vector< int > &selected)
 Compile a radial interpolation from a reference discretization and set of material attributes.
 
auto serif::geometry::deformation::backend::mfem::make_surface_metric_computation ()
 Optionally supply the reference surface mass diagonal in native shape coordinates.
 
template<typename Surface>
requires requires(const Surface& model, std::span<const std::array<double, 3>> positions) { { build_surface_embedding(model, positions) } -> std::same_as<std::expected<SurfaceEmbedding, DeformationFailure>>; }
auto serif::geometry::deformation::backend::mfem::make_deformation_computations ()
 Compile fixed reference factors and evaluate shape motion with one dependency engine.
 
template<typename Surface>
auto serif::geometry::deformation::backend::mfem::make_deformation_graph ()
 Provide a standalone graph while leaving the same computations available for equation composition.
 

Detailed Description

File containing the factories to make the computation graph for the mfem backend of the geometry/deformation module.

Author
Emily M. Boudreaux