WARPXM v1.10.0
Loading...
Searching...
No Matches
2d2v_landau_damping.h
Go to the documentation of this file.
1#ifndef kinetics2d2v_field_landau_damping_h
2#define kinetics2d2v_field_landau_damping_h
3
4// WARPXM includes
6
7namespace wxm
8{
9namespace apps
10{
11namespace functions
12{
13namespace maxwell
14{
23{
24public:
30
36
41 void setup(const WxCryptSet& wxc) override;
42
48 const std::vector<int>& getOutputVariableIndexes(int flag) const override
49 {
50 return _output_fields;
51 }
52
60 void evaluate_function(const real* q,
61 const real* aux,
62 const solverVariables_t* pSV,
63 real* result) const override;
64
65protected:
66 std::vector<int> _output_fields;
67
72 std::vector<real> _perturbation;
73 std::vector<real> _wave_number;
74
75private:
78};
79} // namespace maxwell
80} // namespace functions
81} // namespace apps
82} // namespace wxm
83
84#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 Landau Damping Initial Condition for the Fields This is an (Ex, Ey) (2D Electric) Field consiste...
Definition: 2d2v_landau_damping.h:23
std::vector< real > _perturbation
Definition: 2d2v_landau_damping.h:72
std::vector< int > _output_fields
Definition: 2d2v_landau_damping.h:66
real _n0
Definition: 2d2v_landau_damping.h:70
std::vector< real > _wave_number
Definition: 2d2v_landau_damping.h:73
real _omega_p_tau
Definition: 2d2v_landau_damping.h:68
const std::vector< int > & getOutputVariableIndexes(int flag) const override
Grab output variable indices.
Definition: 2d2v_landau_damping.h:48
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.
real _skin_depth_norm
Definition: 2d2v_landau_damping.h:69
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