WARPXM v1.10.0
Loading...
Searching...
No Matches
wmapplication_langmuir_diffusion_coefficient.h
Go to the documentation of this file.
1#ifndef WMAPPLICATION_LANGMUIRDIFFUSIONCOEFFICIENT_H
2#define WMAPPLICATION_LANGMUIRDIFFUSIONCOEFFICIENT_H
3
4// General includes
6
7// Specific includes
8
10{
11public:
13
15
16 void setup(const WxCryptSet& wxc) override;
17
18 const std::vector<int>& getInputVariableIndexes(int flag) const override
19 {
20 return _inputVariables;
21 }
22
23 const std::vector<int>& getOutputVariableIndexes(int flag) const override
24 {
25 return _outputVariables;
26 }
27
28 const std::vector<int>& getAuxiliaryVariableIndexes(int flag) const override
29 {
30 return _auxVariables;
31 }
32
33 // redefinition of fluxes from parent
34 void evaluate_function(const real* q,
35 const real* aux,
36 const solverVariables_t* pSV,
37 real* result) const override;
38
39 // Dispersion relation function
40 real realDispersion(const real kx, const real ky, const real kz) const;
41
42 // linear damping rate
43 real linearDamping(const real kx, const real ky, const real kz) const;
44
45 // Growth rate interpolation function
46 real interpolateGrowthRates(const std::vector<real>& kScaled, const std::vector<real>& growthRates, real this_k) const;
47
48protected:
49 // self variables
52 //real _tau;
53 std::vector<real> _kPrimed;
54 std::vector<real> _reOmega;
55 std::vector<real> _imOmega;
56
57 std::vector<int> _inputVariables;
58 std::vector<int> _outputVariables;
59 std::vector<int> _auxVariables;
60
61private:
64};
65
66#endif // WMAPPLICATION_LANGMUIRDIFFUSIONCOEFFICIENT_H
67
Definition: wmapplication_langmuir_diffusion_coefficient.h:10
std::vector< int > _outputVariables
Definition: wmapplication_langmuir_diffusion_coefficient.h:58
std::vector< real > _reOmega
Definition: wmapplication_langmuir_diffusion_coefficient.h:54
std::vector< real > _imOmega
Definition: wmapplication_langmuir_diffusion_coefficient.h:55
std::vector< int > _inputVariables
Definition: wmapplication_langmuir_diffusion_coefficient.h:57
const std::vector< int > & getInputVariableIndexes(int flag) const override
Definition: wmapplication_langmuir_diffusion_coefficient.h:18
const std::vector< int > & getAuxiliaryVariableIndexes(int flag) const override
Definition: wmapplication_langmuir_diffusion_coefficient.h:28
real realDispersion(const real kx, const real ky, const real kz) const
std::vector< real > _kPrimed
Definition: wmapplication_langmuir_diffusion_coefficient.h:53
real interpolateGrowthRates(const std::vector< real > &kScaled, const std::vector< real > &growthRates, real this_k) const
real _mass_ratio
Definition: wmapplication_langmuir_diffusion_coefficient.h:51
real linearDamping(const real kx, const real ky, const real kz) const
void setup(const WxCryptSet &wxc) override
std::vector< int > _auxVariables
Definition: wmapplication_langmuir_diffusion_coefficient.h:59
void evaluate_function(const real *q, const real *aux, const solverVariables_t *pSV, real *result) const override
const std::vector< int > & getOutputVariableIndexes(int flag) const override
Definition: wmapplication_langmuir_diffusion_coefficient.h:23
real _ometau
Definition: wmapplication_langmuir_diffusion_coefficient.h:50
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