WARPXM v1.10.0
Loading...
Searching...
No Matches
couette_flow.h
Go to the documentation of this file.
1#ifndef wmicfunction_couette_flow_13_moment_h
2#define wmicfunction_couette_flow_13_moment_h
3
4// std includes
5#include <vector>
6
7// Wm includes
9
13namespace wxm
14{
15namespace functions
16{
17namespace thirteen_moment
18{
33{
34public:
36
37 ~couette_flow() override = default;
38 void setup(const WxCryptSet& wxc) override;
39
46 void applyFunction(const real* position, real* value) const override;
47
48private:
49 real _density;
50 real _pressure;
51 real _height;
52 real _width;
53 real _aspect;
54 real _g1;
55 real _g3;
56};
57} // namespace thirteen_moment
58} // namespace functions
59} // namespace wxm
60
63#endif // wmicfunction_couette_flow_13_moment_h
Base class for functions used in generating initial conditions.
Definition: wmicfunction.h:25
WxCryptSet extends WxCrypt by providing, in addition to name-value pairs, an set of named WxCryptSets...
Definition: wxcryptset.h:35
Initialize the simplified 2D plasma switch problem for a single 5 moment fluid.
Definition: couette_flow.h:33
void setup(const WxCryptSet &wxc) override
Setup WmICFunction object using supplied cryptset.
void applyFunction(const real *position, real *value) const override
Evaluate the function at a position and return the result through a pointer.
Base namespace for everything not included in the global namespace.
Definition: field_source.h:8
#define real
Definition: wmoclunstructuredreconstruction.h:11