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/geometry/deformation/backend/mfem/radial_interpolation.hpp"
#include "serif/geometry/deformation/backend/mfem/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. Only conforming serial nodal spaces and component-block vector ordering are supported.