WARPXM v1.10.0
Loading...
Searching...
No Matches
decay.h
Go to the documentation of this file.
1#ifndef WM_FVM_DECAY_H
2#define WM_FVM_DECAY_H
3
4// WarpM includes
6#include <memory>
7
11namespace wxm
12{
16namespace fvm
17{
28{
29public:
31 {
32 }
33
34 void setup(const WxCryptSet& wxc);
35
37 unsigned int callType) const;
38
39 std::string generateSource(const WmUnstructuredEquationSet& eqSet) const;
40
41private:
42 real a_;
43 std::unique_ptr<WmKernelVariable> q_;
44
45 // prevent copying
46 decay& operator=(const decay& var);
47 decay(const decay& var);
48};
49} // namespace fvm
50} // namespace wxm
51
52#endif
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
Adds a linear decay .
Definition: decay.h:28
decay()
Definition: decay.h:30
std::string generateSourceCall(const WmUnstructuredEquationSet &eqSet, unsigned int callType) const
std::string generateSource(const WmUnstructuredEquationSet &eqSet) const
void setup(const WxCryptSet &wxc)
Base namespace for everything not included in the global namespace.
Definition: field_source.h:8
#define real
Definition: wmoclunstructuredreconstruction.h:11