WARPXM v1.10.0
Loading...
Searching...
No Matches
axis_bc_gradients.h
Go to the documentation of this file.
1#pragma once
2
3// Wm includes
5
6namespace wxm
7{
8namespace apps
9{
10namespace mhd
11{
12namespace bc
13{
15{
16public:
18
19 ~AxisBCGradients() override;
20
21 void setup(const WxCryptSet& wxc) override;
22
23 const std::vector<int>& getInputVariableIndexes(int flag) const override
24 {
26 }
27
28 const std::vector<int>& getOutputVariableIndexes(int flag) const override
29 {
31 }
32
33 // redefinition of bc
34 void bc_q(const real* q_in,
35 const real* aux_in,
36 const real* aux_out,
37 const solverVariables_t* pFV,
38 real* q_out) const override;
39
40protected:
41 // r, theta, and z indices
42 int _ir, _ith, _iz;
43
44 std::vector<int> _mhd_fluid_gradients;
45
46private:
47 AxisBCGradients& operator=(AxisBCGradients& var);
49};
50} // namespace bc
51} // namespace mhd
52} // namespace apps
53} // 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
Definition: axis_bc_gradients.h:15
int _ith
Definition: axis_bc_gradients.h:42
const std::vector< int > & getOutputVariableIndexes(int flag) const override
Definition: axis_bc_gradients.h:28
int _iz
Definition: axis_bc_gradients.h:42
void bc_q(const real *q_in, const real *aux_in, const real *aux_out, const solverVariables_t *pFV, real *q_out) const override
Boundary Condition Application which sets the boundary condition on ghost nodes.
int _ir
Definition: axis_bc_gradients.h:42
void setup(const WxCryptSet &wxc) override
const std::vector< int > & getInputVariableIndexes(int flag) const override
Definition: axis_bc_gradients.h:23
std::vector< int > _mhd_fluid_gradients
Definition: axis_bc_gradients.h:44
list apps
Definition: shock_tube.py:33
warpy mhd
Definition: mhd_shock.py:32
bc
Definition: advection2d_conservation.py:32
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