WARPXM v1.10.0
Loading...
Searching...
No Matches
1d1v_landau_damping.h
Go to the documentation of this file.
1#ifndef wmapplication_kinetics1d1v_distribution_landau_damping_h
2#define wmapplication_kinetics1d1v_distribution_landau_damping_h
3
4// WARPXM includes
6
7namespace wxm
8{
9namespace apps
10{
11namespace functions
12{
13namespace kinetics
14{
15
28{
29public:
35
41
46 void setup(const WxCryptSet& wxc) override;
47
53 const std::vector<int>& getOutputVariableIndexes(int flag) const override
54 {
55 return _distribution;
56 }
57
65 void evaluate_function(const real* q,
66 const real* aux,
67 const solverVariables_t* pSV,
68 real* result) const override;
69
70protected:
71 std::vector<int> _distribution; // output variable
72
77private:
80};
81
82} // namespace kinetics
83} // namespace functions
84} // namespace apps
85} // namespace wxm
86
87#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
1D1V Landau Damping Initial Condition This is a Maxwellian distribution of f in velocity space multip...
Definition: 1d1v_landau_damping.h:28
real _thermal_velocity
Definition: 1d1v_landau_damping.h:73
std::vector< int > _distribution
Definition: 1d1v_landau_damping.h:71
const std::vector< int > & getOutputVariableIndexes(int flag) const override
Grab output variable indices.
Definition: 1d1v_landau_damping.h:53
real _perturbation
Definition: 1d1v_landau_damping.h:75
real _wave_number
Definition: 1d1v_landau_damping.h:76
void setup(const WxCryptSet &wxc) override
Setup.
void evaluate_function(const real *q, const real *aux, const solverVariables_t *pSV, real *result) const override
Redefinition of the function evaluator.
real _density0
Definition: 1d1v_landau_damping.h:74
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