WARPXM v1.10.0
Loading...
Searching...
No Matches
wmapplication_first_moment.h
Go to the documentation of this file.
1#ifndef WMAPPLICATION_FIRSTMOMENT_H
2#define WMAPPLICATION_FIRSTMOMENT_H
3
4// General includes
6
7// Specific includes
8// #include "apps/vlasovmaxwell/vlasovmaxwell.h"
9
11{
12public:
14
16
17 void setup(const WxCryptSet& wxc) override;
18
19 const std::vector<int>& getInputVariableIndexes(int flag) const override
20 {
21 return _inputVariables;
22 }
23 const std::vector<int>& getOutputVariableIndexes(int flag) const override
24 {
25 return _outputVariables;
26 }
27
28 // const std::vector<int>& getAuxiliaryVariableIndexes(int flag) const override
29 // {
30 // return _auxVariables;
31 // }
32
33 // redefinition of fluxes from parent
34 void evaluate_function(const real* q,
35 const real* aux,
36 const solverVariables_t* pSV,
37 real* result) const override;
38
39protected:
40 std::vector<int> _inputVariables;
41 std::vector<int> _outputVariables;
42 // std::vector<int> _auxVariables;
43
44private:
47};
48
49#endif // WMAPPLICATION_FIRSTMOMENT_H
Definition: wmapplication_first_moment.h:11
void evaluate_function(const real *q, const real *aux, const solverVariables_t *pSV, real *result) const override
const std::vector< int > & getInputVariableIndexes(int flag) const override
Definition: wmapplication_first_moment.h:19
std::vector< int > _outputVariables
Definition: wmapplication_first_moment.h:41
~WmApplication_FirstMoment() override
std::vector< int > _inputVariables
Definition: wmapplication_first_moment.h:40
void setup(const WxCryptSet &wxc) override
const std::vector< int > & getOutputVariableIndexes(int flag) const override
Definition: wmapplication_first_moment.h:23
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
Definition: wmapplication.h:38
#define real
Definition: wmoclunstructuredreconstruction.h:11