WARPXM v1.10.0
Loading...
Searching...
No Matches
gem_challenge_1D.h
Go to the documentation of this file.
1#ifndef GEM_CHALLENGE_1D_HALLMHD_H
2#define GEM_CHALLENGE_1D_HALLMHD_H
3
4// std includes
5#include <vector>
6#include <string>
7
8// Wm includes
10
11namespace wxm
12{
13namespace functions
14{
15namespace hallmhd
16{
17
18class gem1D : public WmICFunction
19{
20public:
27
34
41 void setup(const WxCryptSet& wxc);
42
50 void applyFunction(const real* position, real* value) const;
51
52private:
53 real _sheet_width;
54 real _gamma;
55 real _mass;
56 real _n0;
57 real _nInf;
58 real _temperature;
59 real _b0;
60 real _lx;
61 real _ly;
62 real _pert;
63 // real _skin_depth_norm;
64 // real _charge;
65};
66
67} // namespace hallmhd
68} // namespace functions
69} // namespace wxm
70
71#endif // GEM_CHALLENGE_1D_5MOMENT_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_1D.h:19
void applyFunction(const real *position, real *value) const
Evaluate the function at a position and return the result through a pointer.
void setup(const WxCryptSet &wxc)
Setup gem object using supplied cryptset.
Base namespace for everything not included in the global namespace.
Definition: field_source.h:8
#define real
Definition: wmoclunstructuredreconstruction.h:11