WARPXM v1.10.0
Loading...
Searching...
No Matches
wmpearsonIVreconditioner.h
Go to the documentation of this file.
1#ifndef __wmpearsonIVreconditioner__h__
2#define __wmpearsonIVreconditioner__h__
3
4// STD libraries
5#include <iostream>
6#include <vector>
7#include <list>
8
9// WarpM includes
11
13{
14public:
16 : _numElements(0),
17 _kernel(NULL),
18 _fluid(NULL),
19 _pressureMin(NULL),
20 _densityMin(NULL),
22 {
23 }
24
26
27 void setup(const WxCryptSet& wxc);
28
29 void process();
30
31protected:
32 // Protected Functions
33
34 std::string generateSource();
35
36 // Protected Variables
37
38 WmKernelVariable* _fluid;
39 WmKernelVariable* _densityMin;
40 WmKernelVariable* _pressureMin;
41
42 WmKernelVariable* _globalVariableSet;
43
44 // These are the OpenCL Kernels that manipulate the buffers
46
47 cl_kernel _kernel;
48
49private:
52};
53
54#endif // __wmpearsonIVreconditioner__h__
The WmPatchProcess class is a base class for processes that are broken up onto separate sections of t...
Definition: wmpatchprocess.h:26
Definition: wmpearsonIVreconditioner.h:13
WmKernelVariable * _fluid
Definition: wmpearsonIVreconditioner.h:38
WmKernelVariable * _globalVariableSet
Definition: wmpearsonIVreconditioner.h:42
int _numElements
Definition: wmpearsonIVreconditioner.h:45
cl_kernel _kernel
Definition: wmpearsonIVreconditioner.h:47
std::string generateSource()
WmKernelVariable * _densityMin
Definition: wmpearsonIVreconditioner.h:39
WmPearsonIVReconditioner()
Definition: wmpearsonIVreconditioner.h:15
WmKernelVariable * _pressureMin
Definition: wmpearsonIVreconditioner.h:40
void setup(const WxCryptSet &wxc)
WxCryptSet extends WxCrypt by providing, in addition to name-value pairs, an set of named WxCryptSets...
Definition: wxcryptset.h:35