WARPXM v1.10.0
Loading...
Searching...
No Matches
wmplasma13momentintercollisionalsourcebgk.h
Go to the documentation of this file.
1#ifndef __wmplasma13momentintercollisionalsourceBGK__h__
2#define __wmplasma13momentintercollisionalsourceBGK__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 WmKernelVariable* _otherFluid;
37
38 // Constants
39 real _knudsenNumber; // WMCOLLISIONFREQUENCY_CONSTANT | WMCOLLISIONFREQUENCY_PLASMA
40 real _collisionFrequency; // WMCOLLISIONFREQUENCY_CONSTANT
41
42 real _eps0; // WMCOLLISIONFREQUENCY_PLASMA
43 real _coulombLog; // WMCOLLISIONFREQUENCY_PLASMA
44 real _mass; // WMCOLLISIONFREQUENCY_PLASMA
45 real _charge; // WMCOLLISIONFREQUENCY_PLASMA
46 real _otherMass; // WMCOLLISIONFREQUENCY_PLASMA
47 real _otherCharge; // WMCOLLISIONFREQUENCY_PLASMA
48
49 static std::string _normalizedPlasmaForm;
50 static std::string _plasmaForm;
51 static std::string _constantForm;
52
53private:
58};
59
60#endif // __WmPlasma13MomentInterCollisionalSourceBGK__h__
Definition: wmplasma13momentintercollisionalsourcebgk.h:11
static std::string _normalizedPlasmaForm
Definition: wmplasma13momentintercollisionalsourcebgk.h:49
WmKernelVariable * _otherFluid
Definition: wmplasma13momentintercollisionalsourcebgk.h:36
real _collisionFrequency
Definition: wmplasma13momentintercollisionalsourcebgk.h:40
real _mass
Definition: wmplasma13momentintercollisionalsourcebgk.h:44
real _coulombLog
Definition: wmplasma13momentintercollisionalsourcebgk.h:43
void setup(const WxCryptSet &wxc)
static std::string _constantForm
Definition: wmplasma13momentintercollisionalsourcebgk.h:51
int _collisionType
Definition: wmplasma13momentintercollisionalsourcebgk.h:31
static std::string _plasmaForm
Definition: wmplasma13momentintercollisionalsourcebgk.h:50
real _eps0
Definition: wmplasma13momentintercollisionalsourcebgk.h:42
WmKernelVariable * _fluid
Definition: wmplasma13momentintercollisionalsourcebgk.h:35
bool _normalized
Definition: wmplasma13momentintercollisionalsourcebgk.h:32
std::string generateSource(const WmUnstructuredEquationSet &eqSet) const
real _otherCharge
Definition: wmplasma13momentintercollisionalsourcebgk.h:47
real _charge
Definition: wmplasma13momentintercollisionalsourcebgk.h:45
std::string generateSourceCall(const WmUnstructuredEquationSet &eqSet, unsigned int callType) const
real _otherMass
Definition: wmplasma13momentintercollisionalsourcebgk.h:46
real _knudsenNumber
Definition: wmplasma13momentintercollisionalsourcebgk.h:39
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