WARPXM v1.10.0
Loading...
Searching...
No Matches
timed_source.h
Go to the documentation of this file.
1#pragma once
2
3// Wm includes
5
6namespace wxm
7{
8namespace apps
9{
10namespace imhd
11{
34{
35public:
37 ~TimedSource() override;
38 void setup(const WxCryptSet& wxc) override;
39
40 const std::vector<int>& getInputVariableIndexes(int flag) const override
41 {
42 return _var_idcs;
43 }
44 const std::vector<int>& getOutputVariableIndexes(int flag) const override
45 {
46 return _var_idcs;
47 }
48 real source(const real* q,
49 const real* aux,
50 const elementGeometry_t* pEG,
51 real* source) const override;
52
53protected:
54 std::vector<int> _var_idcs;
55
60
69private:
70 TimedSource& operator=(const TimedSource& var);
71 TimedSource(const TimedSource& var);
72};
73} // namespace imhd
74} // namespace apps
75} // 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
This plasma source allows for plasma between times t_start and t_end using the same bump function sty...
Definition: timed_source.h:34
real _r_bump
center of bump in r-direction
Definition: timed_source.h:65
real _wz_bump
1/2-width of bump in z-direction
Definition: timed_source.h:64
real _v_source
velocity of the source term
Definition: timed_source.h:67
real _ndot
Definition: timed_source.h:57
real _Ai
Definition: timed_source.h:59
real _z_bump
center of bump in z-direction
Definition: timed_source.h:63
real _gas_gamma
Definition: timed_source.h:56
const std::vector< int > & getOutputVariableIndexes(int flag) const override
Definition: timed_source.h:44
real _wr_bump
1/2-width of bump in r-direction
Definition: timed_source.h:66
real source(const real *q, const real *aux, const elementGeometry_t *pEG, real *source) const override
std::vector< int > _var_idcs
Definition: timed_source.h:54
real _t_end
end time of heaviside source term
Definition: timed_source.h:62
real _temperature
Definition: timed_source.h:58
real _t_start
start time of heaviside source term
Definition: timed_source.h:61
const std::vector< int > & getInputVariableIndexes(int flag) const override
Definition: timed_source.h:40
void setup(const WxCryptSet &wxc) override
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