WARPXM v1.10.0
Loading...
Searching...
No Matches
wmpcmaxwellflux.h
Go to the documentation of this file.
1#ifndef __wmpcmaxwellflux__h__
2#define __wmpcmaxwellflux__h__
3
4// WarpM includes
6
7#include <memory>
8
10{
11public:
13
15
16 void setup(const WxCryptSet& wxc);
17
18 // This generates the string for the function call
20 unsigned int callType) const;
21
22 // This generates the source code for the hyperapp
23 std::string generateSource(const WmUnstructuredEquationSet& eqSet) const;
24
25protected:
26 // Protected Variables
27
30
32 std::vector<real> _masses;
33 std::vector<real> _charges;
34 variableList_t _densities;
35 variableList_t _velocities;
36 variableList_t _momentums;
37 variableList_t _gradDensities;
38
39 // Field
40 WmKernelVariable* _field;
41
42 // Constants
48
49 // Sources
50 WmKernelVariable* _currentDensity;
51 WmKernelVariable* _gradChargeDensity;
52 WmKernelVariable* _gradXDivE;
53 WmKernelVariable* _gradYDivE;
54 WmKernelVariable* _gradZDivE;
55 WmKernelVariable* _gradXDivB;
56 WmKernelVariable* _gradYDivB;
57 WmKernelVariable* _gradZDivB;
58
59private:
60 WmPCMaxwellFlux& operator=(const WmPCMaxwellFlux& var);
62};
63
64#endif // __wmpcmaxwellflux__h__
Definition: wmpcmaxwellflux.h:10
WmKernelVariable * _gradYDivE
Definition: wmpcmaxwellflux.h:53
WmKernelVariable * _gradZDivE
Definition: wmpcmaxwellflux.h:54
bool _cleaningOnly
Definition: wmpcmaxwellflux.h:28
WmKernelVariable * _currentDensity
Definition: wmpcmaxwellflux.h:50
WmKernelVariable * _gradYDivB
Definition: wmpcmaxwellflux.h:56
WmKernelVariable * _field
Definition: wmpcmaxwellflux.h:40
std::vector< real > _masses
Definition: wmpcmaxwellflux.h:32
std::string generateSource(const WmUnstructuredEquationSet &eqSet) const
real c0_norm
Definition: wmpcmaxwellflux.h:45
WmKernelVariable * _gradXDivB
Definition: wmpcmaxwellflux.h:55
real omega_p_norm
Definition: wmpcmaxwellflux.h:46
variableList_t _velocities
Definition: wmpcmaxwellflux.h:35
WmKernelVariable * _gradXDivE
Definition: wmpcmaxwellflux.h:52
variableList_t _momentums
Definition: wmpcmaxwellflux.h:36
real _chiB
Definition: wmpcmaxwellflux.h:44
variableList_t _gradDensities
Definition: wmpcmaxwellflux.h:37
std::string generateSourceCall(const WmUnstructuredEquationSet &eqSet, unsigned int callType) const
void setup(const WxCryptSet &wxc)
WmKernelVariable * _gradChargeDensity
Definition: wmpcmaxwellflux.h:51
WmKernelVariable * _gradZDivB
Definition: wmpcmaxwellflux.h:57
bool _fluxOnly
Definition: wmpcmaxwellflux.h:29
std::vector< real > _charges
Definition: wmpcmaxwellflux.h:33
real _chiE
Definition: wmpcmaxwellflux.h:43
int _numFluids
Definition: wmpcmaxwellflux.h:31
variableList_t _densities
Definition: wmpcmaxwellflux.h:34
real omega_c_norm
Definition: wmpcmaxwellflux.h:47
Definition: wmunstructuredapp.h:31
Definition: wmunstructuredequationset.h:19
WxCryptSet extends WxCrypt by providing, in addition to name-value pairs, an set of named WxCryptSets...
Definition: wxcryptset.h:35
#define real
Definition: wmoclunstructuredreconstruction.h:11