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

Namespaces

namespace  serif
 
namespace  serif::solver
 
namespace  serif::solver::detail
 

Concepts

concept  serif::solver::detail::NewtonStrategyFor
 A custom method must supply the exact correction contract; malformed overrides never select a fallback.
 

Functions

template<typename Problem, typename State, typename Options, typename Observer>
auto serif::solver::detail::run_newton (Problem &problem, State initial_state, Options options, Observer observer, std::optional< NewtonProgress > restart)
 Find equilibrium while retaining the last fully qualified physical state.
 
template<typename Problem, typename State, typename Options = SolverOptions<>, typename Observer = NoObserver>
requires detail::NewtonStrategyFor<Problem, State, Options>
auto serif::solver::solve_newton (Problem &problem, State initial_state, Options options={}, Observer observer={})
 Solve a custom numerical problem using its native Vector, evaluate, prepare and solve_linear operations.
 
template<typename Problem, typename State, typename Options = SolverOptions<>, typename Observer = NoObserver>
requires detail::NewtonStrategyFor<Problem, State, Options>
auto serif::solver::resume_newton (Problem &problem, NewtonCheckpoint< State > checkpoint, Options options={}, Observer observer={})
 Resume the original convergence reference, correction reuse, and cumulative work budget.