WARPXM v1.10.0
Loading...
Searching...
No Matches
stability_dt.h
Go to the documentation of this file.
1#pragma once
2
4#include "time_stepper_base.h"
5
6namespace wxm
7{
8namespace dt_calc
9{
32{
33
34public:
35 stability_dt(const WmConstOpaquePtr& parent_solver) : time_stepper_base(parent_solver)
36 {
37 }
38
39 void setup(const WxCryptSet& wxc) override;
40
42
43private:
45 double _safety_factor;
46
49 double _growth_factor;
50
52 double _last_sugg_dt;
53
55 real _min_dt;
56};
57} // namespace dt_calc
58} // namespace wxm
Encapsulates information necessary to communicate and explain a decision about what timestep should b...
Definition: timestep_decision.h:16
Opaque Pointer object that carries the referenced data type, but does not expose this payload type as...
Definition: wmopaqueptr.h:81
WxCryptSet extends WxCrypt by providing, in addition to name-value pairs, an set of named WxCryptSets...
Definition: wxcryptset.h:35
Represents important parameters for the efficacy of a completing simulation step.
Definition: wxstepperstatus.h:19
A time step calculator that uses the smallest global physics suggested dt and the result of the previ...
Definition: stability_dt.h:32
TimestepDecision test_dt(const WxStepperStatus &stab) override
Test whether the provided step status is acceptable, and recommend a timestep to take.
stability_dt(const WmConstOpaquePtr &parent_solver)
Definition: stability_dt.h:35
void setup(const WxCryptSet &wxc) override
Setup object using supplied crypset.
Definition: time_stepper_base.h:12
str dt_calc
Definition: diffusion2d.py:37
Base namespace for everything not included in the global namespace.
Definition: field_source.h:8
#define real
Definition: wmoclunstructuredreconstruction.h:11