WARPXM v1.10.0
Loading...
Searching...
No Matches
randomvelocity_fluid13.h
Go to the documentation of this file.
1#ifndef wmapplication_function_thirteen_moment_random_velocity_h
2#define wmapplication_function_thirteen_moment_random_velocity_h
3
4// WARPXM Includes
6
7namespace wxm
8{
9namespace apps
10{
11namespace functions
12{
13namespace thirteen_moment
14{
15
17{
18public:
24
30
35 void setup(const WxCryptSet& wxc) override;
36
42 const std::vector<int>& getOutputVariableIndexes(int flag) const override
43 {
44 return _output_fluid;
45 }
46
54 void evaluate_function(const real* q,
55 const real* aux,
56 const solverVariables_t* pSV,
57 real* result) const override;
58
59protected:
60 std::vector<int> _output_fluid;
61
62 real rand(const real min, const real max) const;
63
68
69private:
70 RandomVelocityFluid13& operator=(const RandomVelocityFluid13& var);
72};
73} // namespace thirteen_moment
74} // namespace functions
75} // namespace apps
76} // namespace wxm
77
78#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
real rand(const real min, const real max) const
std::vector< int > _output_fluid
Definition: randomvelocity_fluid13.h:60
void evaluate_function(const real *q, const real *aux, const solverVariables_t *pSV, real *result) const override
Redefinition of the function evaluator.
real _mass
Definition: randomvelocity_fluid13.h:65
real _amplitude
Definition: randomvelocity_fluid13.h:64
void setup(const WxCryptSet &wxc) override
Setup.
real _n
Definition: randomvelocity_fluid13.h:66
const std::vector< int > & getOutputVariableIndexes(int flag) const override
Grab output variable indices.
Definition: randomvelocity_fluid13.h:42
real _T
Definition: randomvelocity_fluid13.h:67
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