WARPXM v1.10.0
Loading...
Searching...
No Matches
fluid_source.h
Go to the documentation of this file.
1#pragma once
2
3// Wm includes
4
5// Wm includes
7
8namespace wxm
9{
10namespace apps
11{
12namespace pcmaxwell
13{
15{
16public:
18
19 ~FluidSource() override;
20
21 void setup(const WxCryptSet& wxc) override;
22
23 const std::vector<int>& getAuxiliaryVariableIndexes(int flag) const override
24 {
26 }
27 const std::vector<int>& getOutputVariableIndexes(int flag) const override
28 {
30 }
31
32 real source(const real* q,
33 const real* aux,
34 const elementGeometry_t* pEG,
35 real* source) const override;
36
37protected:
41
44 real _com; // charge / mass ratio
46
47 std::vector<int> _electric_field_variables;
49
50private:
51 FluidSource& operator=(const FluidSource& var);
52 FluidSource(const FluidSource& var);
53};
54} // namespace pcmaxwell
55} // namespace apps
56} // namespace wxm
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
real _skin_depth_norm
Definition: fluid_source.h:40
real _com
Definition: fluid_source.h:44
real _charge
Definition: fluid_source.h:42
const std::vector< int > & getOutputVariableIndexes(int flag) const override
Definition: fluid_source.h:27
real _omega_p_tau
Definition: fluid_source.h:39
real _mass
Definition: fluid_source.h:43
real _factor
Definition: fluid_source.h:45
std::vector< int > _electric_field_variables
Definition: fluid_source.h:47
std::vector< int > _fluid_density_gradient_variables
Definition: fluid_source.h:48
void setup(const WxCryptSet &wxc) override
real _chi_e
Definition: fluid_source.h:38
const std::vector< int > & getAuxiliaryVariableIndexes(int flag) const override
Definition: fluid_source.h:23
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