SERiF v0.0.1a
Stellar Evolution and Rotation in Four Dimensions
Loading...
Searching...
No Matches
radial_interpolation.cpp File Reference
#include <algorithm>
#include <cmath>
#include <limits>
#include "mfem/fem/fespace.hpp"
#include "serif/backend/mfem/geometry/deformation/radial_interpolation.hpp"
#include "serif/backend/mfem/geometry/deformation/detail/radial_locator.hpp"
Include dependency graph for radial_interpolation.cpp:

Namespaces

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

Functions

std::expected< RadialInterpolation, DeformationFailure > serif::geometry::deformation::backend::mfem::build_radial_interpolation (const ::mfem::FiniteElementSpace &scalar_space, const ::mfem::FiniteElementSpace &vector_space, ::mfem::Mesh &logical_mesh, std::span< const int > stellar_element_support, std::span< const int > vacuum_element_support, int surface_attribute, int infinity_attribute)
 Compile logical-ray interpolation on paired physical and logical meshes. Supports are zero/one element masks. The logical radius is the maximum absolute Cartesian coordinate, preserving the STROID reference foliation after physical distortion. Serial nodal spaces may have hanging nodes away from the conforming stellar surface. The table samples local coefficients; the backend extension enforces their constraints.