WARPXM v1.10.0
Loading...
Searching...
No Matches
gem_challenge1D.h
Go to the documentation of this file.
1#ifndef WMICFUNCTION_GEM_FIELD_1D_H
2#define WMICFUNCTION_GEM_FIELD_1D_H
3
4// std includes
5#include <vector>
6#include <string>
7
8// Wm includes
10
11namespace wxm
12{
13namespace functions
14{
15namespace maxwell
16{
17
18class gem1D : public WmICFunction
19{
20public:
26
32
38 void setup(const WxCryptSet& wxc);
39
46 void applyFunction(const real* position, real* value) const;
47
48private:
49 real _sheetWidth;
50 real _b0;
51 real _lx;
52 real _ly;
53 real _pert;
54};
55
56} // namespace maxwell
57} // namespace functions
58} // namespace wxm
59
60#endif // WMICFUNCTION_GEM_FIELD_1D_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_challenge1D.h:19
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