WARPXM v1.10.0
Loading...
Searching...
No Matches
density_diffusion_cyl_source.h
Go to the documentation of this file.
1#ifndef WXM_APPS_5MOMENT_DENSITYDIFFUSIONCYLSOURCE_H
2#define WXM_APPS_5MOMENT_DENSITYDIFFUSIONCYLSOURCE_H
3
4// Wm includes
6
7// #include "5-moment_base.h"
8
9namespace wxm
10{
11namespace apps
12{
13namespace five_moment
14{
15
17{
18public:
20
22
23 void setup(const WxCryptSet& wxc) override;
24
25 const std::vector<int>& getInputVariableIndexes(int flag) const override
26 {
27 return _input_variables;
28 }
29 const std::vector<int>& getAuxiliaryVariableIndexes(int flag) const override
30 {
31 return _aux_variables;
32 }
33 const std::vector<int>& getOutputVariableIndexes(int flag) const override
34 {
35 return _input_variables;
36 }
37
38 real source(const real* q,
39 const real* aux,
40 const elementGeometry_t* pEG,
41 real* source) const override;
42
43protected:
44 int _ir;
45 std::vector<real> _D_params;
46
47 std::vector<int> _input_variables;
48 std::vector<int> _aux_variables;
49
50private:
51 DensityDiffusionCylSource& operator=(const DensityDiffusionCylSource& var) = delete;
53};
54} // namespace five_moment
55} // namespace apps
56} // namespace wxm
57
58#endif // WXM_APPS_5MOMENT_DENSITYDIFFUSIONCYLSOURCE_H
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
Definition: density_diffusion_cyl_source.h:17
std::vector< int > _input_variables
Definition: density_diffusion_cyl_source.h:47
std::vector< int > _aux_variables
Definition: density_diffusion_cyl_source.h:48
real source(const real *q, const real *aux, const elementGeometry_t *pEG, real *source) const override
const std::vector< int > & getOutputVariableIndexes(int flag) const override
Definition: density_diffusion_cyl_source.h:33
const std::vector< int > & getAuxiliaryVariableIndexes(int flag) const override
Definition: density_diffusion_cyl_source.h:29
int _ir
Definition: density_diffusion_cyl_source.h:44
const std::vector< int > & getInputVariableIndexes(int flag) const override
Definition: density_diffusion_cyl_source.h:25
void setup(const WxCryptSet &wxc) override
std::vector< real > _D_params
Definition: density_diffusion_cyl_source.h:45
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