WARPXM v1.10.0
Loading...
Searching...
No Matches
field_source.h
Go to the documentation of this file.
1#ifndef WXM_APPS_13MOMENT_FIELDSOURCE_H
2#define WXM_APPS_13MOMENT_FIELDSOURCE_H
3
4// Wm includes
6
7namespace wxm
8{
9namespace apps
10{
11namespace thirteen_moment
12{
13
15{
16public:
18
20
21 void setup(const WxCryptSet& wxc) override;
22
23 const std::vector<int>& getInputVariableIndexes(int flag) const override
24 {
25 return _fluid_variables;
26 }
27 const std::vector<int>& getAuxiliaryVariableIndexes(int flag) const override
28 {
29 return _field_variables;
30 }
31 std::vector<int> getOutputVariableIndexes(int flag) const override
32 {
33 return _fluid_variables;
34 }
35
36protected:
41
42 std::vector<int> _fluid_variables;
43 std::vector<int> _field_variables;
44
45private:
46 field_source_t& operator=(const field_source_t& var);
48};
49} // namespace thirteen_moment
50} // namespace apps
51} // namespace wxm
52
53#endif // WXM_APPS_13MOMENT_FIELDSOURCE_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: field_source.h:15
const std::vector< int > & getAuxiliaryVariableIndexes(int flag) const override
Definition: field_source.h:27
real _omegaptau
Definition: field_source.h:37
real _omegactau
Definition: field_source.h:38
void setup(const WxCryptSet &wxc) override
const std::vector< int > & getInputVariableIndexes(int flag) const override
Definition: field_source.h:23
std::vector< int > _field_variables
Definition: field_source.h:43
real _mass
Definition: field_source.h:40
real _charge
Definition: field_source.h:39
std::vector< int > getOutputVariableIndexes(int flag) const override
Definition: field_source.h:31
std::vector< int > _fluid_variables
Definition: field_source.h:42
Base namespace for everything not included in the global namespace.
Definition: field_source.h:8
#define real
Definition: wmoclunstructuredreconstruction.h:11