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
24{
25public:
27
28 ~maxwell_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
37 const std::vector<int>& getOutputVariableIndexes(int flag) const override
38 {
39 return _variables;
40 }
41
43 const real* q_r,
44 const real* aux_l,
45 const real* aux_r,
46 const solverVariables_t* pFV,
47 real* numericalFlux) const override;
49 const real* aux,
50 const solverVariables_t* pSV,
51 std::vector<std::vector<real>>& internalFlux) const override;
52
53protected:
59
60 std::vector<int> _variables;
61
62private:
63 maxwell_t& operator=(const maxwell_t& var);
64 maxwell_t(const maxwell_t& var);
65};
66} // namespace maxwell
67} // namespace apps
68} // namespace wxm
69
70#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
Applies Maxwell equations.
Definition: maxwell.h:24
void setup(const WxCryptSet &wxc) override
int _freezeB
Definition: maxwell.h:58
const std::vector< int > & getOutputVariableIndexes(int flag) const override
Definition: maxwell.h:37
std::vector< int > _variables
Definition: maxwell.h:60
real skin_depth_norm
Definition: maxwell.h:55
const std::vector< int > & getInputVariableIndexes(int flag) const override
Definition: maxwell.h:32
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:56
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:54
real rel_permeability
Definition: maxwell.h:57
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