WARPXM v1.10.0
Loading...
Searching...
No Matches
axisymmetric_fluid_source_2D.h
Go to the documentation of this file.
1#ifndef WMAPPLICATION_MAXWELL_AXISYMMETRIC_FLUIDSOURCE_2D_H
2#define WMAPPLICATION_MAXWELL_AXISYMMETRIC_FLUIDSOURCE_2D_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 _aux_variables;
29 }
30
31 const std::vector<int>& getOutputVariableIndexes(int flag) const override
32 {
33 return _variables;
34 }
35
36 real source(const real* q,
37 const real* aux,
38 const elementGeometry_t* pEG,
39 real* source) const override;
40
41protected:
48
49 std::vector<int> _variables;
50 std::vector<int> _aux_variables;
51
52private:
54 operator=(const axisymmetric_fluid_source_2D_t& var) = delete;
56};
57} // namespace maxwell
58} // namespace apps
59} // namespace wxm
60
61#endif // WMAPPLICATION_MAXWELL_AXISYMMETRIC_FLUIDSOURCE_2D_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: axisymmetric_fluid_source_2D.h:15
real _charge
Definition: axisymmetric_fluid_source_2D.h:42
real _omega_p_tau
Definition: axisymmetric_fluid_source_2D.h:44
const std::vector< int > & getOutputVariableIndexes(int flag) const override
Definition: axisymmetric_fluid_source_2D.h:31
void setup(const WxCryptSet &wxc) override
const std::vector< int > & getInputVariableIndexes(int flag) const override
Definition: axisymmetric_fluid_source_2D.h:21
real _rel_permittivity
Definition: axisymmetric_fluid_source_2D.h:47
real _skin_depth_norm
Definition: axisymmetric_fluid_source_2D.h:45
real source(const real *q, const real *aux, const elementGeometry_t *pEG, real *source) const override
std::vector< int > _variables
Definition: axisymmetric_fluid_source_2D.h:49
const std::vector< int > & getAuxiliaryVariableIndexes(int flag) const override
Definition: axisymmetric_fluid_source_2D.h:26
real _factor
Definition: axisymmetric_fluid_source_2D.h:46
real _mass
Definition: axisymmetric_fluid_source_2D.h:43
std::vector< int > _aux_variables
Definition: axisymmetric_fluid_source_2D.h:50
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