WARPXM v1.10.0
Loading...
Searching...
No Matches
maxwell.h
Go to the documentation of this file.
1#ifndef WXM_APPS_MAXWELL_MAXWELL_H
2#define WXM_APPS_MAXWELL_MAXWELL_H
3
4// WarpM includes
6
7namespace wxm
8{
9namespace apps
10{
11namespace maxwell
12{
13
15{
16public:
18
19 ~maxwell_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
28 const std::vector<int>& getOutputVariableIndexes(int flag) const override
29 {
30 return _variables;
31 }
32
34 const real* q_r,
35 const real* aux_l,
36 const real* aux_r,
37 const solverVariables_t* pFV,
38 real* numericalFlux) const override;
40 const real* aux,
41 const solverVariables_t* pSV,
42 std::vector<std::vector<real>>& internalFlux) const override;
43
44protected:
50
51 std::vector<int> _variables;
52
53private:
54 maxwell_t& operator=(const maxwell_t& var);
55 maxwell_t(const maxwell_t& var);
56};
57} // namespace maxwell
58} // namespace apps
59} // namespace wxm
60
61#endif // WXM_APPS_MAXWELL_MAXWELL_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: maxwell.h:15
void setup(const WxCryptSet &wxc) override
int _freezeB
Definition: maxwell.h:49
const std::vector< int > & getOutputVariableIndexes(int flag) const override
Definition: maxwell.h:28
std::vector< int > _variables
Definition: maxwell.h:51
real skin_depth_norm
Definition: maxwell.h:46
const std::vector< int > & getInputVariableIndexes(int flag) const override
Definition: maxwell.h:23
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 rel_permittivity
Definition: maxwell.h:47
real internal_flux(const real *q, const real *aux, const solverVariables_t *pSV, std::vector< std::vector< real > > &internalFlux) const override
real omega_p_norm
Definition: maxwell.h:45
real rel_permeability
Definition: maxwell.h:48
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