WARPXM v1.10.0
Loading...
Searching...
No Matches
wmadvectionflux.h
Go to the documentation of this file.
1#ifndef __wmadvectionflux__h__
2#define __wmadvectionflux__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 WmKernelVariable* _density;
30 WmKernelVariable* _velocity;
31 WmKernelVariable* _diffusivity;
32 WmKernelVariable* lapDx;
33 WmKernelVariable* lapDy;
34 WmKernelVariable* lapDz;
35
36private:
37 WmAdvectionFlux& operator=(const WmAdvectionFlux& var);
39};
40
41#endif // __wmadvectionflux__h__
Definition: wmadvectionflux.h:11
WmKernelVariable * _density
Definition: wmadvectionflux.h:29
WmKernelVariable * lapDz
Definition: wmadvectionflux.h:34
WmKernelVariable * _diffusivity
Definition: wmadvectionflux.h:31
void setup(const WxCryptSet &wxc)
WmKernelVariable * lapDx
Definition: wmadvectionflux.h:32
WmKernelVariable * lapDy
Definition: wmadvectionflux.h:33
std::string generateSourceCall(const WmUnstructuredEquationSet &eqSet, unsigned int callType) const
std::string generateSource(const WmUnstructuredEquationSet &eqSet) const
WmKernelVariable * _velocity
Definition: wmadvectionflux.h:30
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