WARPXM v1.10.0
Loading...
Searching...
No Matches
drifting_maxwellian.h
Go to the documentation of this file.
1#ifndef wmapplication_kineticsdriftingmaxwellian_h
2#define wmapplication_kineticsdriftingmaxwellian_h
3
5
6namespace wxm
7{
8namespace apps
9{
10namespace functions
11{
12namespace kinetics
13{
14
20{
21public:
27
33
38 void setup(const WxCryptSet& wxc) override;
39
45 const std::vector<int>& getOutputVariableIndexes(int flag) const override
46 {
47 return _distribution;
48 }
49
50
58 void evaluate_function(const real* q,
59 const real* aux,
60 const solverVariables_t* pSV,
61 real* result) const override;
62
63protected:
64 // self variables
65 std::vector<int> _distribution; // output variable
66
72private:
75};
76
77} // namespace kinetics
78} // namespace functions
79} // namespace apps
80} // namespace wxm
81
82#endif // wmapplication_kineticsdriftingmaxwellian_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
A drifting maxwellian with perturbation initial condition.
Definition: drifting_maxwellian.h:20
real _wavenumber
Definition: drifting_maxwellian.h:71
real _perturbation
Definition: drifting_maxwellian.h:70
real _thermal_velocity
Definition: drifting_maxwellian.h:68
real _density
Definition: drifting_maxwellian.h:67
void setup(const WxCryptSet &wxc) override
Setup.
const std::vector< int > & getOutputVariableIndexes(int flag) const override
Grab output variable indices.
Definition: drifting_maxwellian.h:45
void evaluate_function(const real *q, const real *aux, const solverVariables_t *pSV, real *result) const override
Redefinition of the function evaluator.
real _drift_velocity
Definition: drifting_maxwellian.h:69
std::vector< int > _distribution
Definition: drifting_maxwellian.h:65
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