SERiF v0.0.1a
Stellar Evolution and Rotation in Four Dimensions
Loading...
Searching...
No Matches
result.hpp File Reference
#include <algorithm>
#include <cmath>
#include <memory>
#include <optional>
#include <string>
#include <utility>
#include <vector>
#include "serif/geometry/deformation/geometry_step.hpp"
#include "serif/solver/nonlinear/options.hpp"
#include "serif/solver/linear/linear.hpp"
#include "serif/utils/error/errors.hpp"
Include dependency graph for result.hpp:
This graph shows which files directly or indirectly include this file:

Classes

struct  serif::solver::SolveDiagnostics
 Bounded work totals; accepted physical snapshots are stored separately from diagnostics. More...
 
struct  serif::solver::NewtonProgress
 Numerical continuation data at one accepted Newton boundary. More...
 
struct  serif::solver::NewtonCheckpoint< State >
 Own the accepted physical star and the small amount of Newton history needed to continue it. More...
 
struct  serif::solver::SolveEvent
 Small event record suitable for logging without retaining every iterate. More...
 
struct  serif::solver::NoObserver
 Disable observation without introducing runtime callback allocation. More...
 
struct  serif::solver::NoModel
 Marker for algebraic tests and custom problems without a stellar description. More...
 
class  serif::solver::SolveResult< State, System, Model >
 Own the last accepted physical state, matching frozen system, and descriptive model. More...
 

Namespaces

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

Enumerations

enum class  serif::solver::SolveStatus {
  serif::solver::converged , serif::solver::initial_state_rejected , serif::solver::invalid_metric , serif::solver::preparation_failure ,
  serif::solver::linear_solve_failure , serif::solver::globalization_failure , serif::solver::maximum_iterations , serif::solver::stopped
}
 Numerical termination; invalid configuration and user callback errors remain exceptions. More...
 
enum class  serif::solver::EventKind {
  serif::solver::initial , serif::solver::before_iteration , serif::solver::trial_rejected , serif::solver::before_accept ,
  serif::solver::accepted , serif::solver::finished , serif::solver::resumed
}
 Events expose immutable accepted/trial snapshots; callbacks never decide acceptance. More...
 
enum class  serif::solver::SolveControl { serif::solver::continue_solve , serif::solver::stop }
 A stop request is remembered until the next initial, resumed or accepted Newton boundary. More...
 

Functions

std::optional< std::string > serif::solver::validate_newton_progress (const NewtonProgress &progress, const std::size_t state_size)
 Reject incomplete or inconsistent imported history before preparing any runtime operators.
 

Variables

template<typename Options>
constexpr bool serif::solver::detail::checkpointable_options
 Only built-in stateless numerical policies currently have a complete restart contract.