WARPXM v1.10.0
Loading...
Searching...
No Matches
plasma_switch.h
Go to the documentation of this file.
1#ifndef wmicfunction_plasma_switch_five_moment_h
2#define wmicfunction_plasma_switch_five_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 ~plasma_switch() override = default;
38 void setup(const WxCryptSet& wxc) override;
39
46 void applyFunction(const real* position, real* value) const override;
47
48private:
49 std::vector<real> _center;
50 real _pressure;
51 real _density_max;
52 real _density_min;
53 real _width_x_max;
54 real _width_x_min;
55 real _width_y;
56 real _transition_width;
57};
58} // namespace thirteen_moment
59} // namespace functions
60} // namespace wxm
61
64#endif
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: plasma_switch.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