WARPXM v1.10.0
Loading...
Searching...
No Matches
ein_ic.h
Go to the documentation of this file.
1#ifndef EIN_IC_H
2#define EIN_IC_H
3
4// std includes
5#include <vector>
6#include <string>
7
8// Wm includes
10
11namespace wxm
12{
13namespace functions
14{
15namespace five_moment
16{
17
23class ein_ic : public WmICFunction
24{
25public:
32
39
46 void setup(const WxCryptSet& wxc);
47
55 void applyFunction(const real* position, real* value) const;
56
57private:
58 int _ic_type;
59 int _var_type;
60 std::vector<real> _params;
61};
62
63} // namespace five_moment
64} // namespace functions
65} // namespace wxm
66
67#endif // EIN_IC_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
Class to set IC for a simple flow problem.
Definition: ein_ic.h:24
void applyFunction(const real *position, real *value) const
Evaluate the function at a position and return the result through a pointer.
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