WARPXM v1.10.0
Loading...
Searching...
No Matches
gem_challenge.h
Go to the documentation of this file.
1#ifndef WMICFUNCTION_GEM_HALLMHD_H
2#define WMICFUNCTION_GEM_HALLMHD_H
3
4// std includes
5
6// Wm includes
8
9namespace wxm
10{
11namespace functions
12{
13namespace hallmhd
14{
15
16class gem : public WmICFunction
17{
18public:
24 gem();
25
32
39 void setup(const WxCryptSet& wxc);
40
48 void applyFunction(const real* position, real* value) const;
49 // void applyFunction2(const real* position, real* value) const; // testing out a
50 // rewrite
51
52private:
53 real _sheet_width;
54 real _gamma;
55 real _mass;
56 real _n0;
57 real _nInf;
58 // real _velocity;
59 real _temperature;
60 real _b0;
61 real _lx;
62 real _ly;
63 real _pert;
64};
65
66} // namespace hallmhd
67} // namespace functions
68} // namespace wxm
69
70#endif // WMICFUNCTION_GEM_HALLMHD_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
Definition: gem_challenge.h:17
void setup(const WxCryptSet &wxc)
Setup gem object using supplied cryptset.
void applyFunction(const real *position, real *value) const
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