WARPXM v1.10.0
Loading...
Searching...
No Matches
wmapplication_langmuir_wave_kinetic.h
Go to the documentation of this file.
1#ifndef WMAPPLICATION_LANGMUIR_WAVEKINETIC_H
2#define WMAPPLICATION_LANGMUIR_WAVEKINETIC_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 const std::vector<int>& getAuxiliaryVariableIndexes(int flag) const override
25 {
26 return _auxVariables;
27 }
28
29 // redefinition of fluxes from parent
31 const real* q_r,
32 const real* aux_l,
33 const real* aux_r,
34 const solverVariables_t* pFV,
35 real* numericalFlux) const override;
37 const real* aux,
38 const solverVariables_t* pSV,
39 std::vector<std::vector<real>>& internalFlux) const override;
40
41protected:
47
49
50 std::vector<int> _inputVariables;
51 std::vector<int> _outputVariables;
52 std::vector<int> _auxVariables;
53
54 // left and right vector for numerical flux calculation, mutable because changed each time
55 mutable std::vector<std::vector<real>> _flux_left;
56 mutable std::vector<std::vector<real>> _flux_right;
57
58private:
61};
62
63#endif // WMAPPLICATION_LANGMUIR_WAVEKINETIC_H
Definition: wmapplication_langmuir_wave_kinetic.h:8
std::string _numerical_flux_type
Definition: wmapplication_langmuir_wave_kinetic.h:48
real _x_factor
Definition: wmapplication_langmuir_wave_kinetic.h:45
real _debye
Definition: wmapplication_langmuir_wave_kinetic.h:44
void setup(const WxCryptSet &wxc) override
const std::vector< int > & getAuxiliaryVariableIndexes(int flag) const override
Definition: wmapplication_langmuir_wave_kinetic.h:24
real numerical_flux(const real *q_l, const real *q_r, const real *aux_l, const real *aux_r, const solverVariables_t *pFV, real *numericalFlux) const override
std::vector< int > _outputVariables
Definition: wmapplication_langmuir_wave_kinetic.h:51
real _ometau
Definition: wmapplication_langmuir_wave_kinetic.h:42
const std::vector< int > & getInputVariableIndexes(int flag) const override
Definition: wmapplication_langmuir_wave_kinetic.h:16
std::vector< std::vector< real > > _flux_right
Definition: wmapplication_langmuir_wave_kinetic.h:56
std::vector< int > _inputVariables
Definition: wmapplication_langmuir_wave_kinetic.h:50
std::vector< std::vector< real > > _flux_left
Definition: wmapplication_langmuir_wave_kinetic.h:55
real _n0
Definition: wmapplication_langmuir_wave_kinetic.h:43
const std::vector< int > & getOutputVariableIndexes(int flag) const override
Definition: wmapplication_langmuir_wave_kinetic.h:20
real internal_flux(const real *q, const real *aux, const solverVariables_t *pSV, std::vector< std::vector< real > > &internalFlux) const override
std::vector< int > _auxVariables
Definition: wmapplication_langmuir_wave_kinetic.h:52
real _k_factor
Definition: wmapplication_langmuir_wave_kinetic.h:46
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