WARPXM v1.10.0
Loading...
Searching...
No Matches
full_dyadic_second_moment.h
Go to the documentation of this file.
1#ifndef wxm_apps_vlasovmaxwell_fulldyadicsecondmoment_h
2#define wxm_apps_vlasovmaxwell_fulldyadicsecondmoment_h
3
4// General includes
6
7namespace wxm
8{
9namespace apps
10{
11namespace vlasovmaxwell
12{
13
43{
44public:
50
56
61 void setup(const WxCryptSet& wxc) override;
62
68 const std::vector<int>& getInputVariableIndexes(int flag) const override
69 {
70 return _input_variables;
71 }
72
78 const std::vector<int>& getOutputVariableIndexes(int flag) const override
79 {
80 return _output_variables;
81 }
82
90 void evaluate_function(const real* q,
91 const real* aux,
92 const solverVariables_t* pSV,
93 real* result) const override;
94
95protected:
97
98 std::vector<int> _input_variables;
99 std::vector<int> _output_variables;
100
101private:
102 FullDyadicSecondMoment& operator=(const FullDyadicSecondMoment& var);
104};
105
106} // namespace vlasovmaxwell
107} // namespace apps
108} // namespace wxm
109
110#endif // wxm_apps_vlasovmaxwell_fullsecondmoment_h
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
Computes the Full Dyadic Second Moment which becomes the Fluid Momentum Flux Gamma = Full velocity sp...
Definition: full_dyadic_second_moment.h:43
real _mass
Definition: full_dyadic_second_moment.h:96
std::vector< int > _output_variables
Definition: full_dyadic_second_moment.h:99
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: full_dyadic_second_moment.h:78
std::vector< int > _input_variables
Definition: full_dyadic_second_moment.h:98
void setup(const WxCryptSet &wxc) override
Setup.
const std::vector< int > & getInputVariableIndexes(int flag) const override
Grab input variable indices.
Definition: full_dyadic_second_moment.h:68
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