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
15{
16public:
18
19 ~phmaxwell_t() override;
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
33 const real* q_r,
34 const real* aux_l,
35 const real* aux_r,
36 const solverVariables_t* pFV,
37 real* numericalFlux) const override;
39 const real* aux,
40 const solverVariables_t* pSV,
41 std::vector<std::vector<real>>& internalFlux) const override;
42
43 // real source(const real* q, const real* aux, const elementGeometry_t* pEG,
44 // real* source) const override;
45
46protected:
49
52
53 // real _c0;
54 // real _omegaptau;
55 // real _omegactau;
56
57 std::vector<int> _variables;
59
60private:
61 phmaxwell_t& operator=(const phmaxwell_t& var);
62 phmaxwell_t(const phmaxwell_t& var);
63};
64} // namespace phmaxwell
65} // namespace apps
66} // namespace wxm
67
68#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
Definition: phmaxwell.h:15
int _freezeB
Definition: phmaxwell.h:58
const std::vector< int > & getInputVariableIndexes(int flag) const override
Definition: phmaxwell.h:23
void setup(const WxCryptSet &wxc) override
real _omega_p_tau
Definition: phmaxwell.h:50
const std::vector< int > & getOutputVariableIndexes(int flag) const override
Definition: phmaxwell.h:27
real _gamma
Definition: phmaxwell.h:48
std::vector< int > _variables
Definition: phmaxwell.h:57
real _skin_depth_norm
Definition: phmaxwell.h:51
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:47
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