WARPXM v1.10.0
Loading...
Searching...
No Matches
geometric_source_1D.h
Go to the documentation of this file.
1#ifndef WMAPPLICATION_MAXWELL_GEOMETRICSOURCE_1D_H
2#define WMAPPLICATION_MAXWELL_GEOMETRICSOURCE_1D_H
3
4// Wm includes
6
7namespace wxm
8{
9namespace apps
10{
11namespace maxwell
12{
13
15{
16public:
18
19 void setup(const WxCryptSet& wxc) override;
20
21 const std::vector<int>& getInputVariableIndexes(int flag) const override
22 {
23 return _variables;
24 }
25
26 // const std::vector<int>& getAuxiliaryVariableIndexes(int flag) const override
27 // {
28 // return _fluid_variables;
29 // }
30 const std::vector<int>& getAuxiliaryVariableIndexes(int flag) const override
31 {
32 return _aux_variables;
33 }
34
35 const std::vector<int>& getOutputVariableIndexes(int flag) const override
36 {
37 return _variables;
38 }
39
40 real source(const real* q,
41 const real* aux,
42 const elementGeometry_t* pEG,
43 real* source) const override;
44
45protected:
46 // real _charge;
47 // real _mass;
50 // real _factor;
52
53 std::vector<int> _variables;
54 std::vector<int> _aux_variables;
55 // std::vector<int> _fluid_variables;
56
57private:
58 geometric_source_1D_t& operator=(const geometric_source_1D_t& var);
60};
61} // namespace maxwell
62} // namespace apps
63} // namespace wxm
64
65#endif // WMAPPLICATION_MAXWELL_GEOMETRICSOURCE_1D_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: geometric_source_1D.h:15
const std::vector< int > & getAuxiliaryVariableIndexes(int flag) const override
Definition: geometric_source_1D.h:30
real source(const real *q, const real *aux, const elementGeometry_t *pEG, real *source) const override
const std::vector< int > & getInputVariableIndexes(int flag) const override
Definition: geometric_source_1D.h:21
std::vector< int > _variables
Definition: geometric_source_1D.h:53
real _omega_p_tau
Definition: geometric_source_1D.h:48
real _rel_permittivity
Definition: geometric_source_1D.h:51
void setup(const WxCryptSet &wxc) override
real _skin_depth_norm
Definition: geometric_source_1D.h:49
const std::vector< int > & getOutputVariableIndexes(int flag) const override
Definition: geometric_source_1D.h:35
std::vector< int > _aux_variables
Definition: geometric_source_1D.h:54
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