SERiF v0.0.1a
Stellar Evolution and Rotation in Four Dimensions
Loading...
Searching...
No Matches
serif::model::preconditioning Namespace Reference

Namespaces

namespace  detail
 

Classes

struct  None
 Evaluate physical equations without preparing an inverse until a recipe is selected. More...
 
struct  PreparedSystem
 An owning evaluated system and its matching preconditioner. More...
 

Functions

template<typename ResultKey, typename Recipe, typename Layout, typename... Existing>
auto make_computations (const Recipe &recipe, const Layout &layout, const std::tuple< Existing... > &existing)
 Connect a recipe to the same physical root, layout and reference geometry as model evaluation.
 

Function Documentation

◆ make_computations()

template<typename ResultKey, typename Recipe, typename Layout, typename... Existing>
auto serif::model::preconditioning::make_computations ( const Recipe & recipe,
const Layout & layout,
const std::tuple< Existing... > & existing )
nodiscard

Connect a recipe to the same physical root, layout and reference geometry as model evaluation.

Note
Merely adding these computations does not prepare an inverse. Only requesting PreparedSystem reaches this branch, so line-search evaluations can reuse the physical graph without inverse setup.