WARPXM v1.10.0
Loading...
Searching...
No Matches
phmaxwell.h
Go to the documentation of this file.
1#ifndef WXM_APPS_PHMAXWELL_H
2#define WXM_APPS_PHMAXWELL_H
3
4// WarpM includes
6
7namespace wxm
8{
9namespace apps
10{
11namespace phmaxwell
12{
13
24{
25public:
27
28 ~phmaxwell_t() override;
29
30 void setup(const WxCryptSet& wxc) override;
31
32 const std::vector<int>& getInputVariableIndexes(int flag) const override
33 {
34 return _variables;
35 }
36 const std::vector<int>& getOutputVariableIndexes(int flag) const override
37 {
38 return _variables;
39 }
40
42 const real* q_r,
43 const real* aux_l,
44 const real* aux_r,
45 const solverVariables_t* pFV,
46 real* numericalFlux) const override;
48 const real* aux,
49 const solverVariables_t* pSV,
50 std::vector<std::vector<real>>& internalFlux) const override;
51
52 // real source(const real* q, const real* aux, const elementGeometry_t* pEG,
53 // real* source) const override;
54
55protected:
58
61
62 // real _c0;
63 // real _omegaptau;
64 // real _omegactau;
65
66 std::vector<int> _variables;
68
69private:
70 phmaxwell_t& operator=(const phmaxwell_t& var);
71 phmaxwell_t(const phmaxwell_t& var);
72};
73} // namespace phmaxwell
74} // namespace apps
75} // namespace wxm
76
77#endif // WXM_APPS_PHMAXWELL_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
Applies the perfectly hyperbolic maxwell equations.
Definition: phmaxwell.h:24
int _freezeB
Definition: phmaxwell.h:67
const std::vector< int > & getInputVariableIndexes(int flag) const override
Definition: phmaxwell.h:32
void setup(const WxCryptSet &wxc) override
real _omega_p_tau
Definition: phmaxwell.h:59
const std::vector< int > & getOutputVariableIndexes(int flag) const override
Definition: phmaxwell.h:36
real _gamma
Definition: phmaxwell.h:57
std::vector< int > _variables
Definition: phmaxwell.h:66
real _skin_depth_norm
Definition: phmaxwell.h:60
real numerical_flux(const real *q_l, const real *q_r, const real *aux_l, const real *aux_r, const solverVariables_t *pFV, real *numericalFlux) const override
real _chi
Definition: phmaxwell.h:56
real internal_flux(const real *q, const real *aux, const solverVariables_t *pSV, std::vector< std::vector< real > > &internalFlux) const override
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