WARPXM v1.10.0
Loading...
Searching...
No Matches
1d2v_dory_guest_harris.h
Go to the documentation of this file.
1#ifndef wmapplication_kinetics1d2v_distribution_dory_guest_harris_h
2#define wmapplication_kinetics1d2v_distribution_dory_guest_harris_h
3
4// WARPXM includes
6
7namespace wxm
8{
9namespace apps
10{
11namespace functions
12{
13namespace kinetics
14{
29{
30public:
36
42
47 void setup(const WxCryptSet& wxc) override;
48
54 const std::vector<int>& getOutputVariableIndexes(int flag) const override
55 {
56 return _distribution;
57 }
58
66 void evaluate_function(const real* q,
67 const real* aux,
68 const solverVariables_t* pSV,
69 real* result) const override;
70
71protected:
72 std::vector<int> _distribution; // output variable
73
74 int _j; // j
76 real _Omega_c; // Omega_c
77 real _n; // n
78 real _v_perp0; // v_perp0
79 real _eps; // eps
80private:
83};
84
85} // namespace kinetics
86} // namespace functions
87} // namespace apps
88} // namespace wxm
89
90#endif
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
1D2V Dory-Guest-Harris Initial Condition We initialize a ring distribution with a perturbation,...
Definition: 1d2v_dory_guest_harris.h:29
real _eps
Definition: 1d2v_dory_guest_harris.h:79
int _j
Definition: 1d2v_dory_guest_harris.h:74
real _Omega_c
Definition: 1d2v_dory_guest_harris.h:76
real _k_tilde
Definition: 1d2v_dory_guest_harris.h:75
void evaluate_function(const real *q, const real *aux, const solverVariables_t *pSV, real *result) const override
Redefinition of the function evaluator.
std::vector< int > _distribution
Definition: 1d2v_dory_guest_harris.h:72
const std::vector< int > & getOutputVariableIndexes(int flag) const override
Grab output variable indices.
Definition: 1d2v_dory_guest_harris.h:54
real _n
Definition: 1d2v_dory_guest_harris.h:77
real _v_perp0
Definition: 1d2v_dory_guest_harris.h:78
void setup(const WxCryptSet &wxc) override
Setup.
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