WARPXM v1.10.0
Loading...
Searching...
No Matches
wmgeneratechargedquantities.h
Go to the documentation of this file.
1#ifndef __wmgeneratechargedquantities__h__
2#define __wmgeneratechargedquantities__h__
3
4// STD libraries
5#include <iostream>
6#include <vector>
7#include <list>
8
9// WarpM includes
10#include <wmpatchedprocessingobject.h>
11
12class WmGenerateChargedQuantities : public WmPatchedProcessingObject
13{
14public:
17
18 void setup(const WxCryptSet& wxc);
19
20 void process();
21
22protected:
23 // Protected Functions
24
25 std::string generateSource();
26
27 // Protected Variables
28
29 // A holder to test if this patch is on the boundary
30
31 // OpenCL Buffers
32
33 // Input/Output Variables
36
37 variableList_t _massDensityVariables;
38 variableList_t _velocityVariables;
39
40 variableList_t _massVariables;
41 variableList_t _chargeVariables;
42
43 variableList_t _varList;
44
45 // These are the OpenCL Kernels that manipulate the buffers
48 cl_kernel _kernel;
49
50private:
53};
54
55#endif // __wmgeneratechargedquantities__h__
Definition: wmgeneratechargedquantities.h:13
cl_kernel _kernel
Definition: wmgeneratechargedquantities.h:48
variableList_t _currentDensityVariables
Definition: wmgeneratechargedquantities.h:35
void setup(const WxCryptSet &wxc)
variableList_t _massVariables
Definition: wmgeneratechargedquantities.h:40
int _numFluids
Definition: wmgeneratechargedquantities.h:47
int _numElements
Definition: wmgeneratechargedquantities.h:46
variableList_t _massDensityVariables
Definition: wmgeneratechargedquantities.h:37
variableList_t _chargeVariables
Definition: wmgeneratechargedquantities.h:41
variableList_t _varList
Definition: wmgeneratechargedquantities.h:43
variableList_t _velocityVariables
Definition: wmgeneratechargedquantities.h:38
variableList_t _chargeDensityVariables
Definition: wmgeneratechargedquantities.h:34
WxCryptSet extends WxCrypt by providing, in addition to name-value pairs, an set of named WxCryptSets...
Definition: wxcryptset.h:35