|
SERiF v0.0.1a
Stellar Evolution and Rotation in Four Dimensions
|
Retain one accepted displacement and direction while backtracking changes the current candidate. More...
#include <geometry.hpp>
Public Member Functions | |
| template<typename Evaluator, typename Layout> | |
| auto | limit (const Evaluator &evaluator, const model::StellarState< Layout > &state, std::span< const double > direction, const double maximum_step, const double safety, const bool enabled) -> std::expected< geometry::deformation::GeometryStepLimit, geometry::deformation::DeformationFailure > |
| Reuse the deformation tangent and the union of actual equation sampling rules. | |
| double | next (const auto &evaluator, const double step, const Backtracking &options, const bool inverted) const |
| Use a rejected inverted sample to skip unsafe rungs of the existing step ladder. | |
Private Member Functions | |
| auto | estimate (const auto &evaluator, const double step, const double safety) const |
| Apply the geometry module to snapshots retained before any trial changes the cache. | |
Private Attributes | |
| ::mfem::Vector | m_accepted_displacement |
| ::mfem::Vector | m_displacement_direction |
| std::shared_ptr< const std::vector< geometry::deformation::backend::mfem::GeometrySampleRule > > | m_rules |
| bool | m_geometry_ready {false} |
Retain one accepted displacement and direction while backtracking changes the current candidate.
|
inlinenodiscardprivate |
Apply the geometry module to snapshots retained before any trial changes the cache.
|
inlinenodiscard |
Reuse the deformation tangent and the union of actual equation sampling rules.
|
inlinenodiscard |
Use a rejected inverted sample to skip unsafe rungs of the existing step ladder.
|
private |
|
private |
|
private |
|
private |