WARPXM v1.10.0
Loading...
Searching...
No Matches
2d2v_dory_guest_harris.h
Go to the documentation of this file.
1#ifndef wmapplication_kinetics2d2v_distribution_dory_guest_harris_h
2#define wmapplication_kinetics2d2v_distribution_dory_guest_harris_h
3
4// WARPXM includes
6
7namespace wxm
8{
9namespace apps
10{
11namespace functions
12{
13namespace kinetics
14{
15
34{
35public:
41
47
52 void setup(const WxCryptSet& wxc) override;
53
59 const std::vector<int>& getOutputVariableIndexes(int flag) const override
60 {
61 return _distribution;
62 }
63
71 void evaluate_function(const real* q,
72 const real* aux,
73 const solverVariables_t* pSV,
74 real* result) const override;
75
76protected:
77 std::vector<int> _distribution; // output variable
78
79 int _j; // j
80 std::vector<real> _k_tilde; // k
81 real _Omega_c; // Omega_c
82 real _n; // n
83 real _v_perp0; // v_perp0
84 real _eps; // eps
85private:
88};
89} // namespace kinetics
90} // namespace functions
91} // namespace apps
92} // namespace wxm
93
94#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
2D2V Dory-Guest-Harris Initial Condition We initialize a ring distribution with a perturbation,...
Definition: 2d2v_dory_guest_harris.h:34
real _v_perp0
Definition: 2d2v_dory_guest_harris.h:83
real _Omega_c
Definition: 2d2v_dory_guest_harris.h:81
const std::vector< int > & getOutputVariableIndexes(int flag) const override
Grab output variable indices.
Definition: 2d2v_dory_guest_harris.h:59
std::vector< int > _distribution
Definition: 2d2v_dory_guest_harris.h:77
int _j
Definition: 2d2v_dory_guest_harris.h:79
real _eps
Definition: 2d2v_dory_guest_harris.h:84
std::vector< real > _k_tilde
Definition: 2d2v_dory_guest_harris.h:80
real _n
Definition: 2d2v_dory_guest_harris.h:82
void evaluate_function(const real *q, const real *aux, const solverVariables_t *pSV, real *result) const override
Redefinition of the function evaluator.
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