WARPXM v1.10.0
Loading...
Searching...
No Matches
boundary_condition_helper_functions.h
Go to the documentation of this file.
1#ifndef WXM_APPS_MAXWELL_BOUNDARY_CONDITION_HELPER_FUNCTIONS_H
2#define WXM_APPS_MAXWELL_BOUNDARY_CONDITION_HELPER_FUNCTIONS_H
3
4// Wm includes
5#include "warpxm/warpxm_config.h" // for variable macros
6#include "apps/wmapplication.h" // for pSV
8
9namespace wxm
10{
11namespace apps
12{
13namespace maxwell
14{
15namespace boundary_condition
16{
17
18void conducting_wall(const real* q_in,
19 const solverVariables_t* pFV,
20 real* q_out,
21 real Bn = 0);
22
24 const real* aux,
25 const real _Ae,
26 const real _Ai,
27 const real _Ze,
28 const real _Zi,
29 const real _sdn,
30 const real _ompt,
31 const solverVariables_t* pFV,
32 real* q_out);
33
34void sinc_wall(const real* q_in,
35 const solverVariables_t* pFV,
36 const real c, // light speed normalized to v0
37 const real amplitude,
38 const real frequency,
39 const real timeshift,
40 real* q_out);
41
42void sinc_absorbing_wall(const real* q_in,
43 const solverVariables_t* pFV,
44 const real c, // light speed normalized to v0
45 const real amplitude,
46 const real max_frequency,
47 const real min_frequency,
48 real* q_out);
49
50void oscillating_wall(const real* q_in,
51 const solverVariables_t* pFV,
52 const real c, // light speed normalized to v0
53 const std::vector<real>& amplitudes,
54 const std::vector<real>& frequencies,
55 const std::vector<real>& phases,
56 real* q_out);
57
58void copyout(const real* QC, real* QC_w);
59
60void axis_maxwell(const real* q_in, const solverVariables_t* pFV, real* q_out);
61
62void axis_maxwell_gradient(const real* q_in,
63 const real* aux,
64 const real _Ae,
65 const real _Ai,
66 const real _Ze,
67 const real _Zi,
68 const real _sdn,
69 const real _ompt,
70 const solverVariables_t* pFV,
71 real* q_out);
72
73void conducting_wall_yu(const real* q_in, const solverVariables_t* pFV, real* q_out);
74
76 const real* aux,
77 const real _Ae,
78 const real _Ai,
79 const real _Ze,
80 const real _Zi,
81 const real _sdn,
82 const real _ompt,
83 const solverVariables_t* pFV,
84 real* q_out);
85
86void ramp_wall(const real* q_in,
87 const solverVariables_t* pFV,
88 const real max_amplitude,
89 const real ramp_rate,
90 const real time_delay,
91 real* q_out);
92} // namespace boundary_condition
93} // namespace maxwell
94} // namespace apps
95} // namespace wxm
96
97#endif // WXM_APPS_MAXWELL_BOUNDARY_CONDITION_HELPER_FUNCTIONS_H
list apps
Definition: shock_tube.py:33
void conducting_wall_gradient(const real *q_in, const real *aux, const real _Ae, const real _Ai, const real _Ze, const real _Zi, const real _sdn, const real _ompt, const solverVariables_t *pFV, real *q_out)
void sinc_wall(const real *q_in, const solverVariables_t *pFV, const real c, const real amplitude, const real frequency, const real timeshift, real *q_out)
void axis_maxwell_gradient(const real *q_in, const real *aux, const real _Ae, const real _Ai, const real _Ze, const real _Zi, const real _sdn, const real _ompt, const solverVariables_t *pFV, real *q_out)
void sinc_absorbing_wall(const real *q_in, const solverVariables_t *pFV, const real c, const real amplitude, const real max_frequency, const real min_frequency, real *q_out)
void axis_maxwell(const real *q_in, const solverVariables_t *pFV, real *q_out)
void ramp_wall(const real *q_in, const solverVariables_t *pFV, const real max_amplitude, const real ramp_rate, const real time_delay, real *q_out)
void conducting_wall(const real *q_in, const solverVariables_t *pFV, real *q_out, real Bn=0)
void copyout(const real *QC, real *QC_w)
void oscillating_wall(const real *q_in, const solverVariables_t *pFV, const real c, const std::vector< real > &amplitudes, const std::vector< real > &frequencies, const std::vector< real > &phases, real *q_out)
void conducting_wall_yu(const real *q_in, const solverVariables_t *pFV, real *q_out)
void conducting_wall_gradient_yu(const real *q_in, const real *aux, const real _Ae, const real _Ai, const real _Ze, const real _Zi, const real _sdn, const real _ompt, const solverVariables_t *pFV, real *q_out)
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