Own the last accepted physical state, matching frozen system, and descriptive model.
More...
|
| | SolveResult (std::shared_ptr< const Model > model={}) |
| | Retain the physical definition before any numerical attempt is made.
|
| |
| bool | converged () const noexcept |
| | True only after the complete nonlinear convergence test succeeds.
|
| |
| bool | has_state () const noexcept |
| | Distinguish a usable accepted checkpoint from a rejected initial guess.
|
| |
| const State & | state () const |
| | Read the last accepted physical coefficients; reject access when none were evaluated.
|
| |
| const std::shared_ptr< const System > & | system () const noexcept |
| | Retain or inspect the exact residual and Jacobian belonging to state().
|
| |
| const Model & | model () const |
| | Read the physical definition owned by a stellar result.
|
| |
| const SolveDiagnostics & | diagnostics () const noexcept |
| | Inspect work counts and final convergence measurements.
|
| |
| SolveStatus | status () const noexcept |
| | Inspect the numerical reason for termination.
|
| |
| const std::string & | message () const noexcept |
| | Read the diagnostic associated with numerical termination.
|
| |
| bool | has_checkpoint () const noexcept |
| | Whether this accepted boundary has supported, complete numerical restart data.
|
| |
| NewtonCheckpoint< State > | checkpoint () const |
| | Copy a portable accepted boundary without retaining runtime operators or caches.
|
| |
| void | checkpoint (NewtonProgress progress) |
| | Record history only after all accepted-step correction and step-length updates are complete.
|
| |
| void | accept (State state, std::shared_ptr< const System > system) |
| | Publish a complete state/system pair only after candidate preparation succeeds.
|
| |
| void | finish (SolveStatus status, std::string message, SolveDiagnostics diagnostics) |
| | Finalize bounded diagnostics without altering the accepted checkpoint.
|
| |
template<typename State, typename System, typename Model = NoModel>
class serif::solver::SolveResult< State, System, Model >
Own the last accepted physical state, matching frozen system, and descriptive model.
- Note
- A failed initial evaluation has no accepted state. A later failure retains the last accepted star, which remains usable after the solver and its dependency cache are destroyed.