WARPXM v1.10.0
Loading...
Searching...
No Matches
vlasov_diffusion.h
Go to the documentation of this file.
1#ifndef vlasov_diffusion_h_
2#define vlasov_diffusion_h_
3
4// General includes
6// Do I need these ones?
7#include "warpxm/warpxm_config.h"
8//#include "apps/general_functions/geometry.h"
9
11{
12public:
13 // Constructor
15
16 // Destructor
17 ~VlasovDiffusion() override;
18
19 void setup(const WxCryptSet& wxc) override;
20
21 const std::vector<int>& getInputVariableIndexes(int flag) const override
22 {
23 return _inputVariables;
24 }
25 const std::vector<int>& getOutputVariableIndexes(int flag) const override
26 {
27 return _outputVariables;
28 }
29
30 const std::vector<int>& getAuxiliaryVariableIndexes(int flag) const override
31 {
32 return _auxVariables;
33 }
34
35 // redefinition of fluxes from parent
37 const real* q_r,
38 const real* aux_l,
39 const real* aux_r,
40 const solverVariables_t* pFV,
41 real* numericalFlux) const override;
43 const real* aux,
44 const solverVariables_t* pSV,
45 std::vector<std::vector<real>>& internalFlux) const override;
46
47protected:
48 std::string _gradientMethod;
49
50 std::vector<int> _inputVariables;
51 std::vector<int> _auxVariables;
52 std::vector<int> _outputVariables;
53
54private:
55 VlasovDiffusion& operator=(const VlasovDiffusion& var);
57};
58
59#endif // VLASOV_DIFFUSION_H
Definition: vlasov_diffusion.h:11
std::vector< int > _outputVariables
Definition: vlasov_diffusion.h:52
std::vector< int > _inputVariables
Definition: vlasov_diffusion.h:50
real internal_flux(const real *q, const real *aux, const solverVariables_t *pSV, std::vector< std::vector< real > > &internalFlux) const override
void setup(const WxCryptSet &wxc) override
std::vector< int > _auxVariables
Definition: vlasov_diffusion.h:51
std::string _gradientMethod
Definition: vlasov_diffusion.h:48
const std::vector< int > & getAuxiliaryVariableIndexes(int flag) const override
Definition: vlasov_diffusion.h:30
real numerical_flux(const real *q_l, const real *q_r, const real *aux_l, const real *aux_r, const solverVariables_t *pFV, real *numericalFlux) const override
const std::vector< int > & getInputVariableIndexes(int flag) const override
Definition: vlasov_diffusion.h:21
~VlasovDiffusion() override
const std::vector< int > & getOutputVariableIndexes(int flag) const override
Definition: vlasov_diffusion.h:25
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