WARPXM v1.10.0
Loading...
Searching...
No Matches
wmapplication_bgk_collision_source.h
Go to the documentation of this file.
1#ifndef WMAPPLICATION_BGKCOLLISIONSOURCE_H
2#define WMAPPLICATION_BGKCOLLISIONSOURCE_H
3
4// General includes
6
8{
9public:
11
13
14 void setup(const WxCryptSet& wxc) override;
15
16 const std::vector<int>& getInputVariableIndexes(int flag) const override
17 {
18 return _inputVariables;
19 }
20 const std::vector<int>& getOutputVariableIndexes(int flag) const override
21 {
22 return _outputVariables;
23 }
24
25 const std::vector<int>& getAuxiliaryVariableIndexes(int flag) const override
26 {
27 return _auxVariables;
28 }
29
30 // redefinition of fluxes from parent
31 real source(const real* q,
32 const real* aux,
33 const elementGeometry_t* pEG,
34 real* source) const override;
35
36protected:
40
42
44
45 std::vector<int> _inputVariables;
46 std::vector<int> _outputVariables;
47 std::vector<int> _auxVariables;
48
49private:
51 operator=(const WmApplication_BGKcollisionSource& var);
53};
54
55#endif // WMAPPLICATION_BGKCOLLISIONSOURCE_H
Definition: wmapplication_bgk_collision_source.h:8
std::vector< int > _inputVariables
Definition: wmapplication_bgk_collision_source.h:45
real _nu_p_tau
Definition: wmapplication_bgk_collision_source.h:37
bool _nu_was_given
Definition: wmapplication_bgk_collision_source.h:39
real source(const real *q, const real *aux, const elementGeometry_t *pEG, real *source) const override
real _log_lambda
Definition: wmapplication_bgk_collision_source.h:43
std::vector< int > _outputVariables
Definition: wmapplication_bgk_collision_source.h:46
std::vector< int > _auxVariables
Definition: wmapplication_bgk_collision_source.h:47
real _mass
Definition: wmapplication_bgk_collision_source.h:41
void setup(const WxCryptSet &wxc) override
const std::vector< int > & getInputVariableIndexes(int flag) const override
Definition: wmapplication_bgk_collision_source.h:16
real _nu
Definition: wmapplication_bgk_collision_source.h:38
const std::vector< int > & getAuxiliaryVariableIndexes(int flag) const override
Definition: wmapplication_bgk_collision_source.h:25
const std::vector< int > & getOutputVariableIndexes(int flag) const override
Definition: wmapplication_bgk_collision_source.h:20
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: wmapplication.h:38
#define real
Definition: wmoclunstructuredreconstruction.h:11