WARPXM v1.10.0
Loading...
Searching...
No Matches
stationary_cylindrical_hyperdiffusion_bump.h
Go to the documentation of this file.
1#pragma once
2
3// WARPXM includes
5
6namespace wxm
7{
8namespace apps
9{
10namespace functions
11{
12namespace arbitrary
13{
14
36{
37public:
43
49
54 void setup(const WxCryptSet& wxc) override;
55
61 const std::vector<int>& getOutputVariableIndexes(int flag) const override
62 {
63 return _output_variables;
64 }
65
73 void evaluate_function(const real* q,
74 const real* aux,
75 const solverVariables_t* pSV,
76 real* result) const override;
77
78protected:
79 std::vector<int> _output_variables;
80
81 // Number of arguments that this class is designed to set
83
84 std::string _coordinate_system;
86 int _ir, _ith, _iz; // r, theta, and z indices
87
89
90private:
92 operator=(const StationaryCylindricalHyperdiffusionBump& var);
95};
96} // namespace arbitrary
97} // namespace functions
98} // namespace apps
99} // namespace wxm
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
The StationaryCylindricalHyperdiffusionBump is the stationary solution to.
Definition: stationary_cylindrical_hyperdiffusion_bump.h:36
int _iz
Definition: stationary_cylindrical_hyperdiffusion_bump.h:86
int _radial_index
Definition: stationary_cylindrical_hyperdiffusion_bump.h:85
void evaluate_function(const real *q, const real *aux, const solverVariables_t *pSV, real *result) const override
Redefinition of the function evaluator.
std::vector< int > _output_variables
Definition: stationary_cylindrical_hyperdiffusion_bump.h:79
std::string _coordinate_system
Definition: stationary_cylindrical_hyperdiffusion_bump.h:84
real _length_scaling_factor
Definition: stationary_cylindrical_hyperdiffusion_bump.h:88
int _ith
Definition: stationary_cylindrical_hyperdiffusion_bump.h:86
int _num_args
Definition: stationary_cylindrical_hyperdiffusion_bump.h:82
const std::vector< int > & getOutputVariableIndexes(int flag) const override
Grab output variable indices.
Definition: stationary_cylindrical_hyperdiffusion_bump.h:61
int _ir
Definition: stationary_cylindrical_hyperdiffusion_bump.h:86
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