WARPXM v1.10.0
Loading...
Searching...
No Matches
harris_current_sheet_field.h
Go to the documentation of this file.
1#ifndef WMICFUNCTION_HARRISFIELD_H
2#define WMICFUNCTION_HARRISFIELD_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
19{
20public:
26
32
38 void setup(const WxCryptSet& wxc);
39
46 void applyFunction(const real* position, real* value) const;
47
48private:
49 real _sheet_width;
50 real _b0;
51 real _perturbation_delta;
52 real _perturbation_gamma;
53};
54
55} // namespace maxwell
56} // namespace functions
57} // namespace wxm
58
59#endif // WMICFUNCTION_HARRISFIELD_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: harris_current_sheet_field.h:19
void setup(const WxCryptSet &wxc)
Setup harris_current_sheet object using supplied cryptset.
~harris_current_sheet()
Destroy harris_current_sheet.
harris_current_sheet()
Create new harris_current_sheet.
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