WARPXM v1.10.0
Loading...
Searching...
No Matches
wmapplication_lobc_source.h
Go to the documentation of this file.
1#ifndef WMAPPLICATION_LOBC_SOURCE_H
2#define WMAPPLICATION_LOBC_SOURCE_H
3
4// WarpM includes
6#include <memory>
7
8// LOBC_SOURCE includes
9
11{
12public:
14
16
17 void setup(const WxCryptSet& wxc) override;
18
19 const std::vector<int>& getInputVariableIndexes(int flag) const override
20 {
21 return _inputVariables;
22 }
23 const std::vector<int>& getOutputVariableIndexes(int flag) const override
24 {
25 return _outputVariables;
26 }
27
28 const std::vector<int>& getAuxiliaryVariableIndexes(int flag) const override
29 {
30 return _auxVariables;
31 }
32
33 // redefinition of fluxes from parent
34
35 // real numerical_flux(const real* q_l, const real* q_r, const real* aux_l,
36 // const real* aux_r, const solverVariables_t* pFV,
37 // real* numericalFlux) const override;
38 // real internal_flux(const real* q, const real* aux,
39 // const solverVariables_t* pSV,
40 // std::vector<std::vector<real>>& internalFlux) const override;
41 real source(const real* q,
42 const real* aux,
43 const elementGeometry_t* pEG,
44 real* source) const override;
45
46protected:
49
50 std::vector<int> _inputVariables;
51 std::vector<int> _outputVariables;
52 std::vector<int> _auxVariables;
53
54 std::unique_ptr<WmApplication> _flux_app;
55
56private:
59};
60
61#endif // WMAPPLICATION_LOBC_SOURCE_H
Definition: wmapplication_lobc_source.h:11
const std::vector< int > & getOutputVariableIndexes(int flag) const override
Definition: wmapplication_lobc_source.h:23
void setup(const WxCryptSet &wxc) override
std::vector< int > _inputVariables
Definition: wmapplication_lobc_source.h:50
real source(const real *q, const real *aux, const elementGeometry_t *pEG, real *source) const override
std::unique_ptr< WmApplication > _flux_app
Definition: wmapplication_lobc_source.h:54
real _reint_time
Definition: wmapplication_lobc_source.h:47
const std::vector< int > & getInputVariableIndexes(int flag) const override
Definition: wmapplication_lobc_source.h:19
const std::vector< int > & getAuxiliaryVariableIndexes(int flag) const override
Definition: wmapplication_lobc_source.h:28
std::vector< int > _outputVariables
Definition: wmapplication_lobc_source.h:51
real _lacuna_time
Definition: wmapplication_lobc_source.h:48
std::vector< int > _auxVariables
Definition: wmapplication_lobc_source.h:52
~WmApplication_LOBC_SOURCE() override
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: wmapplication.h:38
#define real
Definition: wmoclunstructuredreconstruction.h:11