WARPXM v1.10.0
Loading...
Searching...
No Matches
accel1d.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{
24class Accel1d : public WmApplication
25{
26public:
32
37 ~Accel1d() 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
71 std::vector<real> params_;
72
73private:
74 Accel1d& operator=(const Accel1d& var);
75 Accel1d(const Accel1d& var);
76};
77} // namespace mhd_two_temperature
78} // namespace functions
79} // namespace apps
80} // 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 Accelerator initial condition for the Two-Temperature MHD model.
Definition: accel1d.h:25
void evaluate_function(const real *q, const real *aux, const solverVariables_t *pSV, real *result) const override
Redefinition of the function evaluator.
const std::vector< int > & getOutputVariableIndexes(int flag) const override
Grab output variable indices.
Definition: accel1d.h:50
std::vector< real > params_
Definition: accel1d.h:71
void setup(const WxCryptSet &wxc) override
Setup.
std::vector< int > output_fluid_
Definition: accel1d.h:68
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