|
SpECTRE
v2026.04.01
|
Suggests step sizes to place steps at specific times. More...
#include <StepToTimes.hpp>
Classes | |
| struct | Times |
Public Types | |
| using | options = tmpl::list<Times> |
| using | argument_tags = tmpl::list<::Tags::Time> |
Public Member Functions | |
| StepToTimes (std::unique_ptr< TimeSequence< double > > times) | |
| TimeStepRequest | operator() (double now, double last_step) const |
| bool | uses_local_data () const override |
| Whether the result can differ on different elements, so requiring communication to synchronize the result across the domain. This is ignored for LTS step changing. | |
| bool | can_be_delayed () const override |
| Whether the result can be applied with a delay. | |
| void | pup (PUP::er &p) override |
| Public Member Functions inherited from StepChooser< StepChooserUse::Slab > | |
| WRAPPED_PUPable_abstract (StepChooser) | |
| TimeStepRequest | desired_step (const double last_step, const db::DataBox< DbTags > &box) const |
| The last_step parameter describes the step size to be adjusted. It may be the step size or the slab size, or may be infinite if the appropriate size cannot be determined. | |
Static Public Attributes | |
| static constexpr Options::String | help |
Suggests step sizes to place steps at specific times.
The suggestion provided depends on the current time, so it should be applied immediately, rather than delayed several slabs.
|
overridevirtual |
Whether the result can be applied with a delay.
StepChoosers setting the .end or .end_hard_limit fields of TimeStepRequest must return false here.
Implements StepChooser< StepChooserUse::Slab >.
|
overridevirtual |
Whether the result can differ on different elements, so requiring communication to synchronize the result across the domain. This is ignored for LTS step changing.
Implements StepChooser< StepChooserUse::Slab >.
|
staticconstexpr |