WARPXM v1.10.0
Loading...
Searching...
No Matches
wmplasma13momentintracollisionalsourcebgk.h
Go to the documentation of this file.
1#ifndef __wmplasma13momentintracollisionalsourceBGK__h__
2#define __wmplasma13momentintracollisionalsourceBGK__h__
3
4// STD libraries
5#include <iostream>
6
7// WarpM includes
9
11{
12public:
14
16
17 void setup(const WxCryptSet& wxc);
18
19 // This generates the string for the function call
21 unsigned int callType) const;
22
23 // This generates the source code for the hyperapp
24 std::string generateSource(const WmUnstructuredEquationSet& eqSet) const;
25
26protected:
27 // Protected Variables
28
29 // These are plural, but they'll only have one entry each
30
33
34 // Fluid
35 WmKernelVariable* _fluid;
36
37 // Constants
38 real _knudsenNumber; // WMCOLLISIONFREQUENCY_CONSTANT | WMCOLLISIONFREQUENCY_PLASMA
39 real _collisionFrequency; // WMCOLLISIONFREQUENCY_CONSTANT
40
41 real _eps0; // WMCOLLISIONFREQUENCY_PLASMA
42 real _coulombLog; // WMCOLLISIONFREQUENCY_PLASMA
43 real _mass; // WMCOLLISIONFREQUENCY_PLASMA
44 real _charge; // WMCOLLISIONFREQUENCY_PLASMA
45
46 static std::string _constantForm;
47 static std::string _plasmaForm;
48 static std::string _normalizedPlasmaForm;
49
50private:
55};
56
57#endif // __wmplasma13momentintracollisionalsourceBGK__h__
Definition: wmplasma13momentintracollisionalsourcebgk.h:11
real _mass
Definition: wmplasma13momentintracollisionalsourcebgk.h:43
void setup(const WxCryptSet &wxc)
static std::string _constantForm
Definition: wmplasma13momentintracollisionalsourcebgk.h:46
real _knudsenNumber
Definition: wmplasma13momentintracollisionalsourcebgk.h:38
static std::string _plasmaForm
Definition: wmplasma13momentintracollisionalsourcebgk.h:47
bool _normalized
Definition: wmplasma13momentintracollisionalsourcebgk.h:32
real _collisionFrequency
Definition: wmplasma13momentintracollisionalsourcebgk.h:39
std::string generateSourceCall(const WmUnstructuredEquationSet &eqSet, unsigned int callType) const
int _collisionType
Definition: wmplasma13momentintracollisionalsourcebgk.h:31
std::string generateSource(const WmUnstructuredEquationSet &eqSet) const
real _coulombLog
Definition: wmplasma13momentintracollisionalsourcebgk.h:42
static std::string _normalizedPlasmaForm
Definition: wmplasma13momentintracollisionalsourcebgk.h:48
real _charge
Definition: wmplasma13momentintracollisionalsourcebgk.h:44
WmKernelVariable * _fluid
Definition: wmplasma13momentintracollisionalsourcebgk.h:35
real _eps0
Definition: wmplasma13momentintracollisionalsourcebgk.h:41
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