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

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

double serif::geometry::deformation::backend::mfem::detail::logical_radius (const ::mfem::Vector &position)
 compute the cubical local radius of a given position vector. Alternative put: compute the \(L\infty\) norm of the position vector (i.e. the maximum absolute value of its components)
 
std::expected< double, DeformationFailure > serif::geometry::deformation::backend::mfem::detail::boundary_logical_radius (::mfem::Mesh &mesh, int attribute)
 Compute the logical radius of a boundary shell in a mesh, given the mesh and the boundary attribute.
 
std::expected< LocatedBoundaryPoint, DeformationFailure > serif::geometry::deformation::backend::mfem::detail::locate_boundary_point (::mfem::Mesh &mesh, int attribute, const ::mfem::Vector &target)
 Locate a projected logical ray on a quadrilateral shell.