WARPXM v1.10.0
Loading...
Searching...
No Matches
nonlinear_diffusion.h
Go to the documentation of this file.
1#ifndef WXM_APPS_NONLINEAR_DIFFUSION_H
2#define WXM_APPS_NONLINEAR_DIFFUSION_H
3
4// Wm includes
6
7namespace wxm
8{
9namespace apps
10{
11
13{
14public:
16
18
19 void setup(const WxCryptSet& wxc) override;
20
21 const std::vector<int>& getInputVariableIndexes(int flag) const override
22 {
23 return _variables;
24 }
25 const std::vector<int>& getAuxiliaryVariableIndexes(int flag) const override
26 {
28 }
29 const std::vector<int>& getOutputVariableIndexes(int flag) const override
30 {
31 return _variables;
32 }
33
34protected:
36
37 std::vector<int> _variables;
38 std::vector<int> _gradient_variables;
39
40private:
41 nonlinear_diffusion_t& operator=(const nonlinear_diffusion_t& var);
43};
44} // namespace apps
45} // namespace wxm
46
47#endif // WXM_APPS_NONLINEAR_DIFFUSION_H
Base Class for physics applications.
Definition: wmapplication.h:93
WxCryptSet extends WxCrypt by providing, in addition to name-value pairs, an set of named WxCryptSets...
Definition: wxcryptset.h:35
Definition: nonlinear_diffusion.h:13
std::vector< int > _variables
Definition: nonlinear_diffusion.h:37
const std::vector< int > & getOutputVariableIndexes(int flag) const override
Definition: nonlinear_diffusion.h:29
const std::vector< int > & getAuxiliaryVariableIndexes(int flag) const override
Definition: nonlinear_diffusion.h:25
const std::vector< int > & getInputVariableIndexes(int flag) const override
Definition: nonlinear_diffusion.h:21
void setup(const WxCryptSet &wxc) override
real _diffusion_coefficient
Definition: nonlinear_diffusion.h:35
std::vector< int > _gradient_variables
Definition: nonlinear_diffusion.h:38
list apps
Definition: shock_tube.py:33
Base namespace for everything not included in the global namespace.
Definition: field_source.h:8
#define real
Definition: wmoclunstructuredreconstruction.h:11