SERiF v0.0.1a
Stellar Evolution and Rotation in Four Dimensions
Loading...
Searching...
No Matches
fitted_h1.hpp File Reference
Include dependency graph for fitted_h1.hpp:
This graph shows which files directly or indirectly include this file:

Classes

struct  serif::solver::preconditioner::backend::mfem::SurfaceH1Matrices
 Reference boundary mass and tangential stiffness in canonical nodal shape coordinates. More...
 
struct  serif::solver::preconditioner::backend::mfem::FittedSurfaceOperator
 A positive matrix for the chosen inverse backend, with a separately retained physical sign. More...
 

Namespaces

namespace  mfem
 
namespace  serif
 
namespace  serif::solver
 
namespace  serif::solver::preconditioner
 
namespace  serif::solver::preconditioner::backend
 
namespace  serif::solver::preconditioner::backend::mfem
 

Functions

std::expected< SurfaceH1Matrices, Failure > serif::solver::preconditioner::backend::mfem::try_surface_h1_matrices (const ::mfem::FiniteElementSpace &scalar_space, int surface_attribute, const geometry::deformation::ReferenceSurface &reference_surface, const geometry::deformation::SurfaceEmbedding &embedding)
 Assemble the exact serial boundary M and K, restricted to existing nodal shape coordinates; harmonic coordinates require another strategy.
 
std::expected< FittedSurfaceOperator, Failure > serif::solver::preconditioner::backend::mfem::try_fitted_surface_h1 (const SurfaceH1Matrices &matrices, const SurfaceTargets &targets, strategies::surface::FittedSurfaceH1 options={})
 Fit sign*(alpha*M+beta*K) with alpha positive and beta nonnegative, using three to 64 deterministic probes.
 
std::expected< Inverse, Failure > serif::solver::preconditioner::backend::mfem::try_signed_surface_inverse (Inverse positive_inverse, double sign)
 Apply the fitted physical sign outside a positive inverse backend, preserving its stationarity contract and zero initial guesses.