WARPXM v1.10.0
Loading...
Searching...
No Matches
copyout.h
Go to the documentation of this file.
1#pragma once
2
3// wxm includes
5
6namespace wxm
7{
8namespace apps
9{
10namespace five_moment
11{
12namespace bc
13{
14
20class Copyout : public WmApplication
21{
22public:
24
25 ~Copyout() override;
26
27 void setup(const WxCryptSet& wxc) override;
28
29 const std::vector<int>& getInputVariableIndexes(int flag) const override
30 {
31 return _var_idcs;
32 }
33 const std::vector<int>& getOutputVariableIndexes(int flag) const override
34 {
35 return _var_idcs;
36 }
37
38 // redefinition of bc
39 void bc_q(const real* q_in,
40 const real* aux_in,
41 const real* aux_out,
42 const solverVariables_t* pFV,
43 real* q_out) const override;
44
45protected:
46 std::vector<int> _var_idcs;
47
48private:
49 Copyout& operator=(const Copyout& var);
50 Copyout(const Copyout& var);
51};
52
53} // namespace bc
54} // namespace five_moment
55} // namespace apps
56} // 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
Five moment copyout (zero gradient Neumann) boundary condition.
Definition: copyout.h:21
const std::vector< int > & getInputVariableIndexes(int flag) const override
Definition: copyout.h:29
void setup(const WxCryptSet &wxc) override
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.
const std::vector< int > & getOutputVariableIndexes(int flag) const override
Definition: copyout.h:33
std::vector< int > _var_idcs
Definition: copyout.h:46
list apps
Definition: shock_tube.py:33
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