WARPXM v1.10.0
Loading...
Searching...
No Matches
1d1v_two_stream.h
Go to the documentation of this file.
1#ifndef wmapplication_kinetics1d1v_distribution_two_stream_h
2#define wmapplication_kinetics1d1v_distribution_two_stream_h
3
4// WARPXM includes
6
7namespace wxm
8{
9namespace apps
10{
11namespace functions
12{
13namespace kinetics
14{
27{
28public:
34
40
45 void setup(const WxCryptSet& wxc) override;
46
52 const std::vector<int>& getOutputVariableIndexes(int flag) const override
53 {
54 return _distribution;
55 }
56
64 void evaluate_function(const real* q,
65 const real* aux,
66 const solverVariables_t* pSV,
67 real* result) const override;
68
69protected:
70 std::vector<int> _distribution; // output variable
71
77private:
78 Kinetics1d1vTwoStream& operator=(const Kinetics1d1vTwoStream& var);
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 Two-Stream Instability Initial Condition We initialize 2 counterstreaming plasma beams: f(x,...
Definition: 1d1v_two_stream.h:27
void evaluate_function(const real *q, const real *aux, const solverVariables_t *pSV, real *result) const override
Redefinition of the function evaluator.
const std::vector< int > & getOutputVariableIndexes(int flag) const override
Grab output variable indices.
Definition: 1d1v_two_stream.h:52
void setup(const WxCryptSet &wxc) override
Setup.
real _thermal_velocity
Definition: 1d1v_two_stream.h:72
std::vector< int > _distribution
Definition: 1d1v_two_stream.h:70
real _wave_number
Definition: 1d1v_two_stream.h:75
real _perturbation
Definition: 1d1v_two_stream.h:74
real _velocity_separation
Definition: 1d1v_two_stream.h:76
real _density0
Definition: 1d1v_two_stream.h:73
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