WARPXM v1.10.0
Loading...
Searching...
No Matches
custom_maxwell.h
Go to the documentation of this file.
1#ifndef WMICFUNCTION_CUSTOM_MAXWELL_H
2#define WMICFUNCTION_CUSTOM_MAXWELL_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 _omega_p_tau;
50 real _skin_depth_norm;
51 real _n0;
52 real _Z;
53 real _perturbation;
54};
55
56} // namespace maxwell
57} // namespace functions
58} // namespace wxm
59
60#endif // WMICFUNCTION_CUSTOM_MAXWELL_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: custom_maxwell.h:19
CustomMaxwell()
Create new CustomMaxwell.
void applyFunction(const real *position, real *value) const
Evaluate the function at a position and return the result through a pointer.
~CustomMaxwell()
Destroy CustomMaxwell.
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