|
SERiF v0.0.1a
Stellar Evolution and Rotation in Four Dimensions
|
Execute one immutable physical definition against explicit candidate fields and geometry. More...
#include <equilibrium.hpp>
Public Types | |
| using | Plan = typename Bound::Plan |
| using | SurfaceFormulation = typename Plan::Surface::Formulation |
| using | Prepared = std::remove_cvref_t<decltype(std::declval<const typename Problem::Cache&>().template get<PreparedKey>())> |
Public Member Functions | |
| StellarEquilibrium (std::shared_ptr< const Bound > bound, Problem problem, AdditionalInputs additional=AdditionalInputs{}) | |
| Keep physical and discretization owners alive before constructing their numerical cache. | |
| template<typename Coefficients, typename Geometry> | |
| auto | try_prepare (const Coefficients &coefficients, const Geometry &geometry, utils::dependencies::PreparationMode mode=utils::dependencies::PreparationMode::reuse_unchanged) |
| Accept a complete residual and Jacobian, retaining the previous system on rejection. | |
| const std::shared_ptr< const AcceptedSystem > & | accepted () const |
| Return an owning physical residual and Jacobian for the last successfully prepared candidate. | |
| const Prepared & | prepared () const |
| Retain the last complete physical or normalized preparation, including after a rejected candidate. | |
| const auto & | layout () const noexcept |
| Inspect the independent physical unknown and residual orderings. | |
| const auto & | cache () const noexcept |
| Inspect cache availability and work from the latest preparation attempt. | |
| const auto & | model () const noexcept |
| Inspect the unchanged declarative stellar model. | |
Private Attributes | |
| std::shared_ptr< const Bound > | m_bound |
| Problem | m_problem |
| AdditionalInputs | m_additional |
| Prepared | m_prepared {} |
Execute one immutable physical definition against explicit candidate fields and geometry.
| using serif::model::backend::mfem::StellarEquilibrium< Bound, Problem, AdditionalInputs, PreparedKey >::Plan = typename Bound::Plan |
| using serif::model::backend::mfem::StellarEquilibrium< Bound, Problem, AdditionalInputs, PreparedKey >::Prepared = std::remove_cvref_t<decltype(std::declval<const typename Problem::Cache&>().template get<PreparedKey>())> |
| using serif::model::backend::mfem::StellarEquilibrium< Bound, Problem, AdditionalInputs, PreparedKey >::SurfaceFormulation = typename Plan::Surface::Formulation |
|
inline |
Keep physical and discretization owners alive before constructing their numerical cache.
|
inlinenodiscard |
Return an owning physical residual and Jacobian for the last successfully prepared candidate.
|
inlinenodiscardnoexcept |
Inspect cache availability and work from the latest preparation attempt.
|
inlinenodiscardnoexcept |
Inspect the independent physical unknown and residual orderings.
|
inlinenodiscardnoexcept |
Inspect the unchanged declarative stellar model.
|
inlinenodiscard |
Retain the last complete physical or normalized preparation, including after a rejected candidate.
|
inlinenodiscard |
Accept a complete residual and Jacobian, retaining the previous system on rejection.
|
private |
|
private |
|
private |
|
private |