WARPXM v1.10.0
Loading...
Searching...
No Matches
oscillating_wall.h
Go to the documentation of this file.
1#ifndef WXM_APPS_PHMAXWELL_OSCILLATINGWALL_H
2#define WXM_APPS_PHMAXWELL_OSCILLATINGWALL_H
3
4// Wm includes
6
7namespace wxm
8{
9namespace apps
10{
11namespace phmaxwell
12{
13
15{
16public:
18
20
21 void setup(const WxCryptSet& wxc) override;
22
23 const std::vector<int>& getInputVariableIndexes(int flag) const override
24 {
25 return _variables;
26 }
27 const std::vector<int>& getOutputVariableIndexes(int flag) const override
28 {
29 return _variables;
30 }
31
32 // redefinition of bc
33 void bc_q(const real* q_in,
34 const real* aux_in,
35 const real* aux_out,
36 const solverVariables_t* pFV,
37 real* q_out) const override;
38
39protected:
40 std::vector<real> _amplitudes;
41 std::vector<real> _frequencies;
42 std::vector<real> _phases;
45
46 std::vector<int> _variables;
47
48private:
49 oscillating_wall_t& operator=(const oscillating_wall_t& var);
51};
52} // namespace phmaxwell
53} // namespace apps
54} // namespace wxm
55
56#endif // WXM_APPS_PHMAXWELL_OSCILLATINGWALL_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: oscillating_wall.h:15
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.
std::vector< real > _phases
Definition: oscillating_wall.h:42
std::vector< real > _amplitudes
Definition: oscillating_wall.h:40
real _omega_p_tau
Definition: oscillating_wall.h:43
const std::vector< int > & getOutputVariableIndexes(int flag) const override
Definition: oscillating_wall.h:27
void setup(const WxCryptSet &wxc) override
real _skin_depth_norm
Definition: oscillating_wall.h:44
const std::vector< int > & getInputVariableIndexes(int flag) const override
Definition: oscillating_wall.h:23
std::vector< real > _frequencies
Definition: oscillating_wall.h:41
std::vector< int > _variables
Definition: oscillating_wall.h:46
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