WARPXM v1.10.0
Loading...
Searching...
No Matches
wmplasma5momentbraginskiiflux.h
Go to the documentation of this file.
1#ifndef __wmplasma5momentbraginskiiflux__h__
2#define __wmplasma5momentbraginskiiflux__h__
3
4// STD libraries
5#include <iostream>
6
7// WarpM includes
9
10#include <memory>
11
13{
14public:
16
18
19 void setup(const WxCryptSet& wxc);
20
21 // This generates the string for the function call
23 unsigned int callType) const;
24
25 // This generates the source code for the hyperapp
26 std::string generateSource(const WmUnstructuredEquationSet& eqSet) const;
27
28protected:
29 // Fluid
30 std::unique_ptr<WmKernelVariable> field_;
31 std::unique_ptr<WmKernelVariable> afluid_;
32 std::unique_ptr<WmKernelVariable> bfluid_;
33 std::unique_ptr<WmKernelVariable> fluidDx_;
34 std::unique_ptr<WmKernelVariable> fluidDy_;
35 std::unique_ptr<WmKernelVariable> fluidDz_;
36
39 real omega_c_norm, omega_p_norm, nu_p_norm, c_0_norm; // normalization constants
40 real gamma; // gas gamma for a
41 real g0a, g1a, g6a, g7a, g8a, g9a; // C2
44
45private:
48};
49
50#endif
Definition: wmplasma5momentbraginskiiflux.h:13
real Za
Definition: wmplasma5momentbraginskiiflux.h:38
real g8a
Definition: wmplasma5momentbraginskiiflux.h:41
real g15a
Definition: wmplasma5momentbraginskiiflux.h:43
std::string generateSourceCall(const WmUnstructuredEquationSet &eqSet, unsigned int callType) const
real omega_p_norm
Definition: wmplasma5momentbraginskiiflux.h:39
std::string generateSource(const WmUnstructuredEquationSet &eqSet) const
real g14a
Definition: wmplasma5momentbraginskiiflux.h:43
real gamma
Definition: wmplasma5momentbraginskiiflux.h:40
std::unique_ptr< WmKernelVariable > fluidDy_
Definition: wmplasma5momentbraginskiiflux.h:34
real Aa
Definition: wmplasma5momentbraginskiiflux.h:37
std::unique_ptr< WmKernelVariable > fluidDx_
Definition: wmplasma5momentbraginskiiflux.h:33
real g16a
Definition: wmplasma5momentbraginskiiflux.h:43
std::unique_ptr< WmKernelVariable > fluidDz_
Definition: wmplasma5momentbraginskiiflux.h:35
real g0a
Definition: wmplasma5momentbraginskiiflux.h:41
real g13a
Definition: wmplasma5momentbraginskiiflux.h:42
real g17a
Definition: wmplasma5momentbraginskiiflux.h:43
real g10a
Definition: wmplasma5momentbraginskiiflux.h:42
real Zb
Definition: wmplasma5momentbraginskiiflux.h:38
std::unique_ptr< WmKernelVariable > bfluid_
Definition: wmplasma5momentbraginskiiflux.h:32
real g12a
Definition: wmplasma5momentbraginskiiflux.h:42
real g7a
Definition: wmplasma5momentbraginskiiflux.h:41
real c_0_norm
Definition: wmplasma5momentbraginskiiflux.h:39
void setup(const WxCryptSet &wxc)
std::unique_ptr< WmKernelVariable > field_
Definition: wmplasma5momentbraginskiiflux.h:30
real g11a
Definition: wmplasma5momentbraginskiiflux.h:42
std::unique_ptr< WmKernelVariable > afluid_
Definition: wmplasma5momentbraginskiiflux.h:31
real nu_p_norm
Definition: wmplasma5momentbraginskiiflux.h:39
real Ab
Definition: wmplasma5momentbraginskiiflux.h:37
real g9a
Definition: wmplasma5momentbraginskiiflux.h:41
real g19a
Definition: wmplasma5momentbraginskiiflux.h:43
real g6a
Definition: wmplasma5momentbraginskiiflux.h:41
real g1a
Definition: wmplasma5momentbraginskiiflux.h:41
real omega_c_norm
Definition: wmplasma5momentbraginskiiflux.h:39
real g18a
Definition: wmplasma5momentbraginskiiflux.h:43
Definition: wmunstructuredapp.h:31
Definition: wmunstructuredequationset.h:19
WxCryptSet extends WxCrypt by providing, in addition to name-value pairs, an set of named WxCryptSets...
Definition: wxcryptset.h:35
#define real
Definition: wmoclunstructuredreconstruction.h:11