WARPXM v1.10.0
Loading...
Searching...
No Matches
fluid_source.h
Go to the documentation of this file.
1#ifndef WMAPPLICATION_MAXWELL_FLUIDSOURCE_H
2#define WMAPPLICATION_MAXWELL_FLUIDSOURCE_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
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> _fluid_variables;
51
52private:
53 fluid_source_t& operator=(const fluid_source_t& var);
55};
56} // namespace maxwell
57} // namespace apps
58} // namespace wxm
59
60#endif // WMAPPLICATION_MAXWELL_FLUIDSOURCE_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: fluid_source.h:15
real source(const real *q, const real *aux, const elementGeometry_t *pEG, real *source) const override
const std::vector< int > & getOutputVariableIndexes(int flag) const override
Definition: fluid_source.h:31
std::vector< int > _variables
Definition: fluid_source.h:49
const std::vector< int > & getInputVariableIndexes(int flag) const override
Definition: fluid_source.h:21
real _skin_depth_norm
Definition: fluid_source.h:45
std::vector< int > _fluid_variables
Definition: fluid_source.h:50
real _rel_permittivity
Definition: fluid_source.h:47
real _mass
Definition: fluid_source.h:43
real _omega_p_tau
Definition: fluid_source.h:44
const std::vector< int > & getAuxiliaryVariableIndexes(int flag) const override
Definition: fluid_source.h:26
void setup(const WxCryptSet &wxc) override
real _factor
Definition: fluid_source.h:46
real _charge
Definition: fluid_source.h:42
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