WARPXM v1.10.0
Loading...
Searching...
No Matches
brio_wu_shocktube_13moment.h
Go to the documentation of this file.
1#ifndef BRIO_WU_SHOCKTUBE_13MOMENT_H
2#define BRIO_WU_SHOCKTUBE_13MOMENT_H
3
4// std includes
5#include <vector>
6#include <string>
7
8// Wm includes
10
11namespace wxm
12{
13namespace functions
14{
15namespace thirteen_moment
16{
17
18class brio_wu : public WmICFunction
19{
20public:
26
32
38 void setup(const WxCryptSet& wxc);
39
46 void applyFunction(const real* position, real* value) const;
47
48private:
49 std::vector<real> _masses;
50 real _transition_width;
51};
52
53} // namespace thirteen_moment
54} // namespace functions
55} // namespace wxm
56
57#endif // BRIO_WU_SHOCKTUBE_13MOMENT_H
Base class for functions used in generating initial conditions.
Definition: wmicfunction.h:25
WxCryptSet extends WxCrypt by providing, in addition to name-value pairs, an set of named WxCryptSets...
Definition: wxcryptset.h:35
Definition: brio_wu_shocktube_13moment.h:19
~brio_wu()
Destroy brio_wu_shocktube_13moment.
brio_wu()
Create new brio_wu_shocktube_13moment.
void applyFunction(const real *position, real *value) const
Evaluate the function at a position and return the result through a pointer.
void setup(const WxCryptSet &wxc)
Setup brio_wu_shocktube_13moment object using supplied cryptset.
Base namespace for everything not included in the global namespace.
Definition: field_source.h:8
#define real
Definition: wmoclunstructuredreconstruction.h:11