WARPXM v1.10.0
Loading...
Searching...
No Matches
diffusion.h
Go to the documentation of this file.
1#ifndef WXM_APPS_DIFFUSION_ANALYTIC_SOLUTION_H
2#define WXM_APPS_DIFFUSION_ANALYTIC_SOLUTION_H
3
4// General includes
6
7namespace wxm
8{
9namespace apps
10{
11namespace analytic_solutions
12{
13
21{
22public:
24 ~Diffusion() override;
25
26 void setup(const WxCryptSet& wxc) override;
27
28 const std::vector<int>& getOutputVariableIndexes(int flag) const override
29 {
30 return output_variables_;
31 }
32
33 void evaluate_function(const real* q,
34 const real* aux,
35 const solverVariables_t* pSV,
36 real* result) const override;
37
38protected:
41
42 std::vector<int> output_variables_;
43
44private:
45 Diffusion& operator=(const Diffusion& var);
46 Diffusion(const Diffusion& var);
47};
48
49} // namespace analytic_solutions
50} // namespace apps
51} // namespace wxm
52#endif // WXM_APPS_DIFFUSION_ANALYTIC_SOLUTION_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
Class that calculates the analytic solution Diffusion Equation.
Definition: diffusion.h:21
void setup(const WxCryptSet &wxc) override
std::vector< int > output_variables_
Definition: diffusion.h:42
const std::vector< int > & getOutputVariableIndexes(int flag) const override
Definition: diffusion.h:28
real diffusion_coefficient_
Definition: diffusion.h:39
real length_
Definition: diffusion.h:40
void evaluate_function(const real *q, const real *aux, const solverVariables_t *pSV, real *result) const override
list apps
Definition: shock_tube.py:33
Base namespace for everything not included in the global namespace.
Definition: field_source.h:8
Definition: wmapplication.h:38
#define real
Definition: wmoclunstructuredreconstruction.h:11