WARPXM v1.10.0
Loading...
Searching...
No Matches
briowu_shocktube.h
Go to the documentation of this file.
1#pragma once
2
3// WARPXM includes
5
6namespace wxm
7{
8namespace apps
9{
10namespace functions
11{
12namespace mhd_two_temperature
13{
25{
26public:
32
37 ~BrioWuShockTube() override;
38
43 void setup(const WxCryptSet& wxc) override;
44
50 const std::vector<int>& getOutputVariableIndexes(int flag) const override
51 {
52 return output_fluid_;
53 }
54
62 void evaluate_function(const real* q,
63 const real* aux,
64 const solverVariables_t* pSV,
65 real* result) const override;
66
67protected:
68 std::vector<int> output_fluid_;
69
72
89
91
92 std::vector<real> direction_;
93 std::vector<real> center_;
94
95private:
96 BrioWuShockTube& operator=(const BrioWuShockTube& var);
98};
99} // namespace mhd_two_temperature
100} // namespace functions
101} // namespace apps
102} // 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
Class used implement the Brio-Wu Shocktube initial condition for the Two-Temperature MHD model.
Definition: briowu_shocktube.h:25
real rho_l_
Definition: briowu_shocktube.h:73
real transitionWidth_
Definition: briowu_shocktube.h:88
std::vector< real > direction_
Definition: briowu_shocktube.h:92
real rho_r_
Definition: briowu_shocktube.h:74
std::vector< int > output_fluid_
Definition: briowu_shocktube.h:68
void setup(const WxCryptSet &wxc) override
Setup.
std::vector< real > center_
Definition: briowu_shocktube.h:93
real gas_gamma_
Definition: briowu_shocktube.h:90
const std::vector< int > & getOutputVariableIndexes(int flag) const override
Grab output variable indices.
Definition: briowu_shocktube.h:50
void evaluate_function(const real *q, const real *aux, const solverVariables_t *pSV, real *result) const override
Redefinition of the function evaluator.
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