SERiF v0.0.1a
Stellar Evolution and Rotation in Four Dimensions
Loading...
Searching...
No Matches
serif::solver::preconditioner::strategies::surface Namespace Reference

Classes

struct  CalibratedSurfaceMass
 Calibrate a signed multiple of the native reference mass diagonal with bounded deterministic probes. More...
 
struct  FittedSurfaceH1
 Fit a signed positive mass-plus-stiffness operator on a nodal stellar surface. More...
 
struct  ReferenceSurfaceMass
 Use the native reference boundary mass without fitting candidate-dependent physical scales. More...
 
struct  SurfaceH1Fit
 Keep a positive backend operator while preserving the sign of the physical shape response. More...
 
struct  SurfaceH1Moments
 Accumulated inner products of mass, stiffness, and physical target actions. More...
 
struct  SurfaceMassFit
 Retain the scalar least-squares evidence and the signed surrogate and inverse multipliers. More...
 

Enumerations

enum class  CalibrationTarget { surface_jacobian , material_schur }
 Choose the physical shape response, with or without approximate material relaxation. More...
 
enum class  CalibrationObjective { operator_action , right_preconditioned_action }
 Fit the shape operator itself, or its action after applying the reference mass inverse. More...
 

Functions

std::expected< SurfaceMassFit, Failure > try_fit_surface_mass (double numerator, double denominator, CalibrationObjective objective)
 Solve either scalar calibration objective without discarding the physical sign.
 
std::expected< SurfaceH1Fit, Failure > try_fit_surface_h1_coefficients (const SurfaceH1Moments &moments, FittedSurfaceH1 options={})
 Solve the two signed constrained least-squares problems with positive mass and nonnegative stiffness.
 

Enumeration Type Documentation

◆ CalibrationObjective

Fit the shape operator itself, or its action after applying the reference mass inverse.

Enumerator
operator_action 
right_preconditioned_action 

◆ CalibrationTarget

Choose the physical shape response, with or without approximate material relaxation.

Enumerator
surface_jacobian 
material_schur 

Function Documentation

◆ try_fit_surface_h1_coefficients()

std::expected< SurfaceH1Fit, Failure > serif::solver::preconditioner::strategies::surface::try_fit_surface_h1_coefficients ( const SurfaceH1Moments & moments,
FittedSurfaceH1 options = {} )
nodiscard

Solve the two signed constrained least-squares problems with positive mass and nonnegative stiffness.

Reject nonfinite moments before constructing the normalized Gram problem.

Compare a feasible positive backend operator against the signed physical target.

◆ try_fit_surface_mass()

std::expected< SurfaceMassFit, Failure > serif::solver::preconditioner::strategies::surface::try_fit_surface_mass ( double numerator,
double denominator,
CalibrationObjective objective )
nodiscard

Solve either scalar calibration objective without discarding the physical sign.