SERiF v0.0.1a
Stellar Evolution and Rotation in Four Dimensions
Loading...
Searching...
No Matches
radial.hpp File Reference
#include <array>
#include <expected>
#include <functional>
#include <string>
#include "mfem/fem/gridfunc.hpp"
#include "serif/utils/projection/radial.hpp"
Include dependency graph for radial.hpp:
This graph shows which files directly or indirectly include this file:

Classes

struct  serif::utils::projection::backend::mfem::RadialProjectionOptions
 Sample physical radii about a center, optionally through SERiF's existing geometry mapping. The mapping must use the projection space's mesh and must be refreshed after its input fields change. More...
 

Namespaces

namespace  serif
 
namespace  serif::mapping
 
namespace  serif::utils
 
namespace  serif::utils::projection
 
namespace  serif::utils::projection::backend
 
namespace  serif::utils::projection::backend::mfem
 
namespace  serif::utils::projection::backend::mfem::detail
 

Typedefs

using serif::utils::projection::backend::mfem::ProjectionResult = std::expected<::mfem::GridFunction, std::string>
 

Functions

ProjectionResult serif::utils::projection::backend::mfem::detail::project_scalar (::mfem::FiniteElementSpace &space, const std::function< RadialValue(double)> &profile, const RadialProjectionOptions &options)
 Implement scalar projection once for all checked radial profile types.
 
ProjectionResult serif::utils::projection::backend::mfem::detail::project_vector (::mfem::FiniteElementSpace &space, const std::function< RadialValue(double)> &radial_amplitude, const RadialProjectionOptions &options)
 Implement vector projection once, including the physical-to-reference H(div) pullback.
 
template<RadialFunction Function>
ProjectionResult serif::utils::projection::backend::mfem::project_scalar (::mfem::FiniteElementSpace &space, const Function &profile, const RadialProjectionOptions &options={})
 Project a radial scalar with the finite element's native coefficient projection.
 
template<RadialFunction Function>
ProjectionResult serif::utils::projection::backend::mfem::project_vector (::mfem::FiniteElementSpace &space, const Function &radial_amplitude, const RadialProjectionOptions &options={})
 Project amplitude(r) times the outward radial unit vector into a vector or H(div) space.