WARPXM v1.10.0
Loading...
Searching...
No Matches
energy_flux_moment.h
Go to the documentation of this file.
1#ifndef wxm_apps_vlasovmaxwell_energyfluxmoment_h
2#define wxm_apps_vlasovmaxwell_energyfluxmoment_h
3
4// General includes
6
7namespace wxm
8{
9namespace apps
10{
11namespace vlasovmaxwell
12{
13
44{
45public:
51
57
58 void setup(const WxCryptSet& wxc) override;
59
65 const std::vector<int>& getInputVariableIndexes(int flag) const override
66 {
67 return _input_variables;
68 }
69
75 const std::vector<int>& getOutputVariableIndexes(int flag) const override
76 {
77 return _output_variables;
78 }
79
87 void evaluate_function(const real* q,
88 const real* aux,
89 const solverVariables_t* pSV,
90 real* result) const override;
91
92protected:
94
95 std::vector<int> _input_variables;
96 std::vector<int> _output_variables;
97
98private:
99 EnergyFluxMoment& operator=(const EnergyFluxMoment& var);
101};
102
103} // namespace vlasovmaxwell
104} // namespace apps
105} // namespace wxm
106
107#endif // wxm_apps_vlasovmaxwell_energyfluxmoment_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 moment which becomes the Fluid Energy Flux Gamma = Full velocity space integral of vec{v...
Definition: energy_flux_moment.h:44
void setup(const WxCryptSet &wxc) override
std::vector< int > _output_variables
Definition: energy_flux_moment.h:96
std::vector< int > _input_variables
Definition: energy_flux_moment.h:95
real _mass
Definition: energy_flux_moment.h:93
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 > & getInputVariableIndexes(int flag) const override
Grab input variable indices.
Definition: energy_flux_moment.h:65
const std::vector< int > & getOutputVariableIndexes(int flag) const override
Grab output variable indices.
Definition: energy_flux_moment.h:75
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