SpECTRE
v2024.05.11
|
Suggests a constant step size. More...
#include <Constant.hpp>
Public Types | |
using | argument_tags = tmpl::list<> |
Public Member Functions | |
Constant (const double value) | |
std::pair< double, bool > | operator() (const double) 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. More... | |
void | pup (PUP::er &p) override |
Public Member Functions inherited from StepChooser< StepChooserUse > | |
WRAPPED_PUPable_abstract (StepChooser) | |
virtual bool | uses_local_data () const =0 |
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. More... | |
template<typename StepChoosersToUse = AllStepChoosers, typename DbTags > | |
std::pair< double, bool > | desired_step (const double last_step_magnitude, const db::DataBox< DbTags > &box) const |
The last_step_magnitude 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. More... | |
Static Public Attributes | |
static constexpr Options::String | help {"Suggests a constant step size."} |
Suggests a constant step size.
|
inlineoverridevirtual |
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.
last_step_magnitude
passed to the call operator is not considered local data. Implements StepChooser< StepChooserUse >.