WARPXM v1.10.0
Loading...
Searching...
No Matches
wmicfunction_sinc_field_2d.h
Go to the documentation of this file.
1#ifndef WMICFUNCTION_SINC_FIELD_2D_H
2#define WMICFUNCTION_SINC_FIELD_2D_H
3
4// std includes
5#include <vector>
6#include <string>
7
8// Wm includes
10
12{
13public:
15
17
18 void setup(const WxCryptSet& wxc);
19
20 void applyFunction(const real* position, real* value) const;
21
22private:
23 real _min_wavelength;
24 real _amplitude;
25
26 real omega_p_norm;
27 real skin_depth_norm;
28
29 real _sinc_width;
30 real _transition_width;
31 bool _te;
32
33 std::vector<real> _sinc_center;
34};
35
36#endif // WMICFUNCTION_SINC_FIELD_2D_H
Definition: wmicfunction_sinc_field_2d.h:12
void setup(const WxCryptSet &wxc)
Setup WmICFunction object using supplied cryptset.
void applyFunction(const real *position, real *value) const
This is the currently apply function call - recasts to real.
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
#define real
Definition: wmoclunstructuredreconstruction.h:11