WARPXM v1.10.0
Loading...
Searching...
No Matches
antenna_single_freq_bc.h
Go to the documentation of this file.
1#ifndef WXM_APPS_ANTENNA_SINGLE_FREQ_BC_H
2#define WXM_APPS_ANTENNA_SINGLE_FREQ_BC_H
3
4// Wm includes
6
7namespace wxm
8{
9namespace apps
10{
11namespace bc
12{
14{
15public:
17
19
20 void setup(const WxCryptSet& wxc) override;
21
22 const std::vector<int>& getOutputVariableIndexes(int flag) const override
23 {
24 return _variables;
25 }
26 const std::vector<int>& getInputVariableIndexes(int flag) const override
27 {
28 return _variables;
29 }
30
31 // redefinition of bc
32 void bc_q(const real* q_in,
33 const real* aux_in,
34 const real* aux_out,
35 const solverVariables_t* pFV,
36 real* q_out) const override;
37
38protected:
44
45 std::vector<real> _time;
46 std::vector<real> _center;
47 std::vector<real> _direction;
48 std::vector<real> _polarization;
49
51
52 std::vector<int> _variables;
53
54private:
55 antenna_single_freq_bc_t& operator=(const antenna_single_freq_bc_t& var) = delete;
57};
58} // namespace bc
59} // namespace apps
60} // namespace wxm
61
62#endif // WXM_APPS_ANTENNA_SINGLE_FREQ_BC_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: antenna_single_freq_bc.h:14
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: antenna_single_freq_bc.h:22
const std::vector< int > & getInputVariableIndexes(int flag) const override
Definition: antenna_single_freq_bc.h:26
real _radius
Definition: antenna_single_freq_bc.h:43
real _omega_p_norm
Definition: antenna_single_freq_bc.h:41
std::vector< int > _variables
Definition: antenna_single_freq_bc.h:52
real _amplitude
Definition: antenna_single_freq_bc.h:39
void setup(const WxCryptSet &wxc) override
real _skin_depth_norm
Definition: antenna_single_freq_bc.h:42
std::vector< real > _direction
Definition: antenna_single_freq_bc.h:47
std::vector< real > _center
Definition: antenna_single_freq_bc.h:46
std::vector< real > _polarization
Definition: antenna_single_freq_bc.h:48
real _d_norm[3]
Definition: antenna_single_freq_bc.h:50
real _frequency
Definition: antenna_single_freq_bc.h:40
std::vector< real > _time
Definition: antenna_single_freq_bc.h:45
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