WARPXM v1.10.0
Loading...
Searching...
No Matches
wmicfunction_slab_fluid5.h
Go to the documentation of this file.
1#ifndef WMICFUNCTION_SLAB_FLUID5_H
2#define WMICFUNCTION_SLAB_FLUID5_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 _rho_in;
24 real _rho_out;
25 real _P_in;
26 real _P_out;
27
28 real _gas_gamma;
29
30 real _width_x;
31 real _center_x;
32 real _transitionWidth;
33};
34
35#endif // WMICFUNCTION_SLAB_FLUID5_H
Definition: wmicfunction_slab_fluid5.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