WARPXM v1.10.0
Loading...
Searching...
No Matches
wmplasma5momentcollisionsource.h
Go to the documentation of this file.
1#ifndef __wmplasma5momentcollisionsource__h__
2#define __wmplasma5momentcollisionsource__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
31
32 // Fluid
33 WmKernelVariable* _fluid;
34 WmKernelVariable* _fluidDx;
35 WmKernelVariable* _fluidDy;
36 WmKernelVariable* _fluidDz;
37
38 // Constants
39
40 // Normalized Constants
41 WmKernelVariable* _reynoldsNumber;
42 WmKernelVariable* _prandtlNumber;
43
44 // Viscosity Constants
45 WmKernelVariable* _viscosity;
46
47 // Thermal Conduction Constants
48 WmKernelVariable* _thermalConductivity;
49 WmKernelVariable* _boltzmannConstant;
50
51 // Plasma Constants
52 WmKernelVariable* _eps0;
53 WmKernelVariable* _coulombLog;
54 WmKernelVariable* _mass;
55 WmKernelVariable* _charge;
56 WmKernelVariable* _gamma;
57
58private:
61};
62
63#endif // __wmplasma5momentcollisionsourcebgk__h__
Definition: wmplasma5momentcollisionsource.h:11
std::string generateSourceCall(const WmUnstructuredEquationSet &eqSet, unsigned int callType) const
WmKernelVariable * _fluidDx
Definition: wmplasma5momentcollisionsource.h:34
WmKernelVariable * _eps0
Definition: wmplasma5momentcollisionsource.h:52
std::string generateSource(const WmUnstructuredEquationSet &eqSet) const
WmKernelVariable * _gamma
Definition: wmplasma5momentcollisionsource.h:56
WmKernelVariable * _boltzmannConstant
Definition: wmplasma5momentcollisionsource.h:49
WmKernelVariable * _fluidDy
Definition: wmplasma5momentcollisionsource.h:35
int _collisionType
Definition: wmplasma5momentcollisionsource.h:30
bool _normalized
Definition: wmplasma5momentcollisionsource.h:29
WmKernelVariable * _coulombLog
Definition: wmplasma5momentcollisionsource.h:53
WmKernelVariable * _viscosity
Definition: wmplasma5momentcollisionsource.h:45
WmKernelVariable * _thermalConductivity
Definition: wmplasma5momentcollisionsource.h:48
WmKernelVariable * _mass
Definition: wmplasma5momentcollisionsource.h:54
WmKernelVariable * _reynoldsNumber
Definition: wmplasma5momentcollisionsource.h:41
WmKernelVariable * _prandtlNumber
Definition: wmplasma5momentcollisionsource.h:42
WmKernelVariable * _fluid
Definition: wmplasma5momentcollisionsource.h:33
WmKernelVariable * _fluidDz
Definition: wmplasma5momentcollisionsource.h:36
WmKernelVariable * _charge
Definition: wmplasma5momentcollisionsource.h:55
void setup(const WxCryptSet &wxc)
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