WARPXM v1.10.0
Loading...
Searching...
No Matches
vlasovmaxwell_custom.h
Go to the documentation of this file.
1#ifndef wmapplication_function_kinetics_vlasovmaxwell_custom_h
2#define wmapplication_function_kinetics_vlasovmaxwell_custom_h
3
4// WARPXM includes
6
7namespace wxm
8{
9namespace apps
10{
11namespace functions
12{
13namespace kinetics
14{
15
21{
22public:
28
34
39 void setup(const WxCryptSet& wxc) override;
40
46 const std::vector<int>& getOutputVariableIndexes(int flag) const override
47 {
48 return _distribution;
49 }
50
58 void evaluate_function(const real* q,
59 const real* aux,
60 const solverVariables_t* pSV,
61 real* result) const override;
62
63protected:
64 std::vector<int> _distribution; // output variable
65
66 // int _numDims;
67 // real _standardDeviation;
68 // std::vector<real> _average;
69 // real _min;
70 // real _max;
71
75
76private:
77 VlasovMaxwellCustom& operator=(const VlasovMaxwellCustom& var);
79};
80
81} // namespace kinetics
82} // namespace functions
83} // namespace apps
84} // namespace wxm
85
86#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
Initailize VlasovMaxwellCustom Distribution.
Definition: vlasovmaxwell_custom.h:21
std::vector< int > _distribution
Definition: vlasovmaxwell_custom.h:64
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 _perturbation
Definition: vlasovmaxwell_custom.h:74
real _thermal_velocity
Definition: vlasovmaxwell_custom.h:72
const std::vector< int > & getOutputVariableIndexes(int flag) const override
Grab output variable indices.
Definition: vlasovmaxwell_custom.h:46
real _density0
Definition: vlasovmaxwell_custom.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