WARPXM v1.10.0
Loading...
Searching...
No Matches
ein_ic.h
Go to the documentation of this file.
1#ifndef EIN_IC_APP_H
2#define EIN_IC_APP_H
3
4// WARPXM includes
6
7namespace wxm
8{
9namespace apps
10{
11namespace functions
12{
13namespace five_moment
14{
15
21class EinIC : public WmApplication
22{
23public:
29
34 ~EinIC() override;
35
40 void setup(const WxCryptSet& wxc) override;
41
47 const std::vector<int>& getOutputVariableIndexes(int flag) const override
48 {
49 return _output_fluid;
50 }
51
59 void evaluate_function(const real* q,
60 const real* aux,
61 const solverVariables_t* pSV,
62 real* result) const override;
63
64protected:
65 std::vector<int> _output_fluid;
66
69 std::vector<real> _params;
70
71private:
72 EinIC& operator=(const EinIC& var) = delete;
73 EinIC(const EinIC& var) = delete;
74};
75} // namespace five_moment
76} // namespace functions
77} // namespace apps
78} // namespace wxm
79
80#endif
Base Class for physics applications.
Definition: wmapplication.h:93
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:22
int _var_type
Definition: ein_ic.h:68
void evaluate_function(const real *q, const real *aux, const solverVariables_t *pSV, real *result) const override
Redefinition of the function evaluator.
const std::vector< int > & getOutputVariableIndexes(int flag) const override
Grab output variable indices.
Definition: ein_ic.h:47
void setup(const WxCryptSet &wxc) override
Setup.
std::vector< int > _output_fluid
Definition: ein_ic.h:65
int _ic_type
Definition: ein_ic.h:67
std::vector< real > _params
Definition: ein_ic.h:69
list apps
Definition: shock_tube.py:33
Base namespace for everything not included in the global namespace.
Definition: field_source.h:8
Definition: wmapplication.h:38
#define real
Definition: wmoclunstructuredreconstruction.h:11