WARPXM v1.10.0
Loading...
Searching...
No Matches
wmicfunction_sine_field.h
Go to the documentation of this file.
1#ifndef WMICFUNCTION_SINE_FIELD_H
2#define WMICFUNCTION_SINE_FIELD_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 _wavelength;
24 real _amplitude;
25
26 real omega_p_norm;
27 real skin_depth_norm;
28
29 real _sine_width;
30 real _sine_center;
31 real _transition_width;
32};
33
34#endif // WMICFUNCTION_SINE_FLUID_H
Definition: wmicfunction_sine_field.h:12
void applyFunction(const real *position, real *value) const
This is the currently apply function call - recasts to real.
void setup(const WxCryptSet &wxc)
Setup WmICFunction object using supplied cryptset.
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