|
SERiF v0.0.1a
Stellar Evolution and Rotation in Four Dimensions
|
Execute an explicitly bound model while retaining the last complete accepted physical system. More...
#include <problem.hpp>
Public Types | |
| using | Cache = utils::dependencies::ComputationCache<Graph, Inputs, Failure> |
| using | InputContext = Inputs |
| using | PreparationResult = std::expected<typename Cache::Report, typename Cache::Failure> |
Public Member Functions | |
| StellarProblem (Graph graph, Layout layout) | |
| Construct an unprepared graph; all numerical work starts with try_prepare. | |
| template<utils::dependencies::IsKeyList Requested = utils::dependencies::KeyList<keys::PhysicalSystem>> | |
| PreparationResult | try_prepare (const Inputs &inputs, Requested requested={}, utils::dependencies::PreparationMode mode=utils::dependencies::PreparationMode::reuse_unchanged) |
| Publish the physical system only after all requested computations have succeeded. | |
| template<typename InputFactory, utils::dependencies::IsKeyList Requested = utils::dependencies::KeyList<keys::PhysicalSystem>> requires std::invocable<InputFactory&> && std::same_as<std::invoke_result_t<InputFactory&>, std::expected<Inputs, Failure>> | |
| PreparationResult | try_prepare_inputs (InputFactory &&make_inputs, Requested requested={}, utils::dependencies::PreparationMode mode=utils::dependencies::PreparationMode::reuse_unchanged) |
| Validate and construct candidate inputs inside the preparation lifecycle. | |
| const std::shared_ptr< const AcceptedSystem > & | accepted () const |
| Read the retained accepted system, including after a later candidate was rejected. | |
| const Layout & | layout () const noexcept |
| Expose the independently ordered physical coordinate description. | |
| const Cache & | cache () const noexcept |
| Read graph diagnostics and successfully requested numerical services. | |
Private Attributes | |
| Cache | m_cache |
| Layout | m_layout |
| std::shared_ptr< const AcceptedSystem > | m_accepted |
Execute an explicitly bound model while retaining the last complete accepted physical system.
| using serif::model::backend::mfem::StellarProblem< Graph, Inputs, Layout, Failure >::Cache = utils::dependencies::ComputationCache<Graph, Inputs, Failure> |
| using serif::model::backend::mfem::StellarProblem< Graph, Inputs, Layout, Failure >::InputContext = Inputs |
| using serif::model::backend::mfem::StellarProblem< Graph, Inputs, Layout, Failure >::PreparationResult = std::expected<typename Cache::Report, typename Cache::Failure> |
|
inline |
Construct an unprepared graph; all numerical work starts with try_prepare.
|
inlinenodiscard |
Read the retained accepted system, including after a later candidate was rejected.
|
inlinenodiscardnoexcept |
Read graph diagnostics and successfully requested numerical services.
|
inlinenodiscardnoexcept |
Expose the independently ordered physical coordinate description.
|
inlinenodiscard |
Publish the physical system only after all requested computations have succeeded.
|
inlinenodiscard |
Validate and construct candidate inputs inside the preparation lifecycle.
|
private |
|
private |
|
private |