WARPXM v1.10.0
Loading...
Searching...
No Matches
frequency_check_5moment.h
Go to the documentation of this file.
1#ifndef WMAPPLICATION_PLASMA_FREQUENCYTEST_5MOMENT_H
2#define WMAPPLICATION_PLASMA_FREQUENCYTEST_5MOMENT_H
3
4// Wm includes
6
7// If we want warning (for density)
8// #define FIVE_MOMENT_FREQUENCY_CHECK_WARNING
9// or error
10// #define FIVE_MOMENT_FREQUENCY_CHECK_ERROR
11
12namespace wxm
13{
14namespace apps
15{
16namespace plasma
17{
18
20{
21public:
23
25
26 void setup(const WxCryptSet& wxc) override;
27
28 const std::vector<int>& getInputVariableIndexes(int flag) const override
29 {
30 return _fluid_variables;
31 }
32 const std::vector<int>& getAuxiliaryVariableIndexes(int flag) const override
33 {
34 return _field_variables;
35 }
36
37 real source(const real* q,
38 const real* aux,
39 const elementGeometry_t* pEG,
40 real* source) const override;
41
42protected:
51
53
54 std::vector<int> _fluid_variables;
55 std::vector<int> _field_variables;
56
57private:
60};
61} // namespace plasma
62} // namespace apps
63} // namespace wxm
64
65#endif // WMAPPLICATION_PLASMA_FREQUENCYTEST_5MOMENT_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: frequency_check_5moment.h:20
real _coulomb_log
Definition: frequency_check_5moment.h:49
real _charge
Definition: frequency_check_5moment.h:44
const std::vector< int > & getInputVariableIndexes(int flag) const override
Definition: frequency_check_5moment.h:28
std::vector< int > _field_variables
Definition: frequency_check_5moment.h:55
real _density_min
Definition: frequency_check_5moment.h:52
real _mass
Definition: frequency_check_5moment.h:45
real _omegactau
Definition: frequency_check_5moment.h:47
std::vector< int > _fluid_variables
Definition: frequency_check_5moment.h:54
real _minimum_frequency
Definition: frequency_check_5moment.h:50
real _nuptau
Definition: frequency_check_5moment.h:48
real _gamma
Definition: frequency_check_5moment.h:43
real source(const real *q, const real *aux, const elementGeometry_t *pEG, real *source) const override
const std::vector< int > & getAuxiliaryVariableIndexes(int flag) const override
Definition: frequency_check_5moment.h:32
void setup(const WxCryptSet &wxc) override
real _omegaptau
Definition: frequency_check_5moment.h:46
list apps
Definition: shock_tube.py:33
bool plasma
Definition: bloch_periodic_2D.py:105
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