|
SpECTRE
2021.08.02
|
Suggests a step size based on the CFL stability criterion. More...
#include <Cfl.hpp>
Classes | |
| struct | SafetyFactor |
Public Types | |
| using | options = tmpl::list< SafetyFactor > |
| using | argument_tags = tmpl::list< domain::Tags::MinimumGridSpacing< System::volume_dim, Frame >, ::Tags::TimeStepper<>, typename System::compute_largest_characteristic_speed > |
| using | return_tags = tmpl::list<> |
| using | compute_tags = tmpl::list< domain::Tags::MinimumGridSpacingCompute< System::volume_dim, Frame >, typename System::compute_largest_characteristic_speed > |
Public Member Functions | |
| Cfl (const double safety_factor) noexcept | |
| template<typename Metavariables > | |
| std::pair< double, bool > | operator() (const double minimum_grid_spacing, const typename Metavariables::time_stepper_tag::type::element_type &time_stepper, const double speed, const double last_step_magnitude, const Parallel::GlobalCache< Metavariables > &) const noexcept |
| void | pup (PUP::er &p) noexcept override |
Static Public Attributes | |
| static constexpr Options::String | help |
Suggests a step size based on the CFL stability criterion.
|
staticconstexpr |