WARPXM v1.10.0
Loading...
Searching...
No Matches
axisymmetric_fluid_source_1D.h
Go to the documentation of this file.
1#ifndef WXM_APPS_PHMAXWELL_AXISYMMETRIC_FLUIDSOURCE_1D_H
2#define WXM_APPS_PHMAXWELL_AXISYMMETRIC_FLUIDSOURCE_1D_H
3
4// Wm includes
6
7// STL includes
8#include <cmath>
9
10namespace wxm
11{
12namespace apps
13{
14namespace phmaxwell
15{
16
18{
19public:
21
23
24 void setup(const WxCryptSet& wxc) override;
25
26 const std::vector<int>& getInputVariableIndexes(int flag) const override
27 {
28 return _field_variables;
29 }
30 const std::vector<int>& getAuxiliaryVariableIndexes(int flag) const override
31 {
32 // return _fluid_variables;
33 return _aux_variables;
34 }
35 const std::vector<int>& getOutputVariableIndexes(int flag) const override
36 {
37 return _field_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:
48
51
54
55 std::vector<int> _field_variables;
56 std::vector<int> _aux_variables;
57
58private:
60 operator=(const axisymmetric_fluid_source_1D_t& var) = delete;
62};
63} // namespace phmaxwell
64} // namespace apps
65} // namespace wxm
66
67#endif // WXM_APPS_PHMAXWELL_AXISYMMETRIC_FLUIDSOURCE_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: axisymmetric_fluid_source_1D.h:18
void setup(const WxCryptSet &wxc) override
std::vector< int > _field_variables
Definition: axisymmetric_fluid_source_1D.h:55
real _chi
Definition: axisymmetric_fluid_source_1D.h:49
const std::vector< int > & getInputVariableIndexes(int flag) const override
Definition: axisymmetric_fluid_source_1D.h:26
real _omega_p_tau
Definition: axisymmetric_fluid_source_1D.h:52
const std::vector< int > & getAuxiliaryVariableIndexes(int flag) const override
Definition: axisymmetric_fluid_source_1D.h:30
const std::vector< int > & getOutputVariableIndexes(int flag) const override
Definition: axisymmetric_fluid_source_1D.h:35
std::vector< int > _aux_variables
Definition: axisymmetric_fluid_source_1D.h:56
real _charge
Definition: axisymmetric_fluid_source_1D.h:46
real source(const real *q, const real *aux, const elementGeometry_t *pEG, real *source) const override
real _mass
Definition: axisymmetric_fluid_source_1D.h:47
real _skin_depth_norm
Definition: axisymmetric_fluid_source_1D.h:53
real _gamma
Definition: axisymmetric_fluid_source_1D.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