WARPXM v1.10.0
Loading...
Searching...
No Matches
pressure_equilibrium.h
Go to the documentation of this file.
1#ifndef wmapplication_kineticspressureequilibrium_h
2#define wmapplication_kineticspressureequilibrium_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
57 void evaluate_function(const real* q,
58 const real* aux,
59 const solverVariables_t* pSV,
60 real* result) const override;
61
62protected:
63 // self variables
64 std::vector<int> _distribution; // output variable
65
71private:
74};
75
76} // namespace kinetics
77} // namespace functions
78} // namespace apps
79} // namespace wxm
80
81#endif // wmapplication_kineticspressureequilibrium_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 density variation in pressure equilibrium.
Definition: pressure_equilibrium.h:20
void setup(const WxCryptSet &wxc) override
Setup.
real _drift_velocity
Definition: pressure_equilibrium.h:68
real _thermal_velocity
Definition: pressure_equilibrium.h:67
real _density
Definition: pressure_equilibrium.h:66
real _perturbation
Definition: pressure_equilibrium.h:69
real _wavenumber
Definition: pressure_equilibrium.h:70
std::vector< int > _distribution
Definition: pressure_equilibrium.h:64
const std::vector< int > & getOutputVariableIndexes(int flag) const override
Grab output variable indices.
Definition: pressure_equilibrium.h:45
void evaluate_function(const real *q, const real *aux, const solverVariables_t *pSV, real *result) const override
Redefinition of the function evaluator.
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