WARPXM v1.10.0
Loading...
Searching...
No Matches
1d1v_landau_damping.h
Go to the documentation of this file.
1#ifndef wmapplication_kinetics1d1v_field_landau_damping_h
2#define wmapplication_kinetics1d1v_field_landau_damping_h
3
4// WARPXM includes
6
7namespace wxm
8{
9namespace apps
10{
11namespace functions
12{
13namespace maxwell
14{
26{
27public:
33
39
44 void setup(const WxCryptSet& wxc) override;
45
51 const std::vector<int>& getOutputVariableIndexes(int flag) const override
52 {
53 return _output_fields;
54 }
55
63 void evaluate_function(const real* q,
64 const real* aux,
65 const solverVariables_t* pSV,
66 real* result) const override;
67
68protected:
69 std::vector<int> _output_fields;
70
77
78private:
81};
82} // namespace maxwell
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 for the Fields This is an Ex (1D Electric) Field consistent wit...
Definition: 1d1v_landau_damping.h:26
real _skin_depth_norm
Definition: 1d1v_landau_damping.h:72
real _perturbation
Definition: 1d1v_landau_damping.h:75
real _wave_number
Definition: 1d1v_landau_damping.h:76
void setup(const WxCryptSet &wxc) override
Setup.
std::vector< int > _output_fields
Definition: 1d1v_landau_damping.h:69
const std::vector< int > & getOutputVariableIndexes(int flag) const override
Grab output variable indices.
Definition: 1d1v_landau_damping.h:51
real _n0
Definition: 1d1v_landau_damping.h:73
void evaluate_function(const real *q, const real *aux, const solverVariables_t *pSV, real *result) const override
Redefinition of the function evaluator.
real _omega_p_tau
Definition: 1d1v_landau_damping.h:71
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