WARPXM v1.10.0
Loading...
Searching...
No Matches
fixed_dt.h
Go to the documentation of this file.
1#ifndef WXM_FIXED_DT_H
2#define WXM_FIXED_DT_H
3
5#include "time_stepper_base.h"
6
7namespace wxm
8{
9namespace dt_calc
10{
12{
13public:
14 fixed_dt(const WmConstOpaquePtr& parent_solver) : time_stepper_base(parent_solver)
15 {
16 }
17
18 void setup(const WxCryptSet& wxc) override;
19
20 bool allow_retry() const override
21 {
22 return false;
23 }
24
26
28};
29} // namespace dt_calc
30} // namespace wxm
31#endif
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
Definition: fixed_dt.h:12
bool allow_retry() const override
Definition: fixed_dt.h:20
TimestepDecision test_dt(const WxStepperStatus &stab) override
Test whether the provided step status is acceptable, and recommend a timestep to take.
fixed_dt(const WmConstOpaquePtr &parent_solver)
Definition: fixed_dt.h:14
bool _check_cfl
Definition: fixed_dt.h:27
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