WARPXM v1.10.0
Loading...
Searching...
No Matches
hallmhd.h
Go to the documentation of this file.
1#pragma once
2
3// wxm includes
5
6// stl includes
7#include <vector>
8#include <limits>
9
10namespace wxm
11{
12namespace apps
13{
14namespace hallmhd
15{
16
18 const real skin_depth_norm,
19 const real Ai,
20 const real Zi,
21 const real theta,
22 const solverVariables_t* pSV,
23 const real* q,
24 const real* aux,
25 const real* J,
26 std::vector<std::vector<real>>& internal_flux,
27 const real Ae = 0.0,
28 const real rho_min = std::numeric_limits<real>::epsilon(),
29 const real press_min = std::numeric_limits<real>::epsilon(),
30 const real drift_pe_factor = 1.0,
31 const real jxb_factor = 1.0,
32 const real grad_pe_factor = 1.0);
33
34real whistler_wave_speed(const real skin_depth_norm,
35 const real Ai,
36 const real Zi,
37 const solverVariables_t* pSV,
38 const real* q,
39 const real Ae = 0.0,
40 const real rho_min = std::numeric_limits<real>::epsilon());
41
42real hallmhd_set_time_step(const solverVariables_t* pSV, const real V_m, const real V_w);
43real gyro_dt_limit(const real skin_depth_norm,
44 const real Ai,
45 const real Zi,
46 const solverVariables_t* pSV,
47 const real* q);
48
49void calc_wave_speeds(const real gas_gamma,
50 const real skin_depth_norm,
51 const real Ai,
52 const real Zi,
53 const solverVariables_t* pSV,
54 const real* q,
55 const real* J,
56 real& v_plasma,
57 real& v_whistler,
58 real& v_fast_magnetosonic,
59 real& v_hall,
60 const real Ae = 0.0,
61 const real rho_min = std::numeric_limits<real>::epsilon(),
62 const real press_min = std::numeric_limits<real>::epsilon());
63
64} // namespace hallmhd
65} // namespace apps
66} // namespace wxm
list apps
Definition: shock_tube.py:33
real whistler_wave_speed(const real skin_depth_norm, const real Ai, const real Zi, const solverVariables_t *pSV, const real *q, const real Ae=0.0, const real rho_min=std::numeric_limits< real >::epsilon())
void calc_wave_speeds(const real gas_gamma, const real skin_depth_norm, const real Ai, const real Zi, const solverVariables_t *pSV, const real *q, const real *J, real &v_plasma, real &v_whistler, real &v_fast_magnetosonic, real &v_hall, const real Ae=0.0, const real rho_min=std::numeric_limits< real >::epsilon(), const real press_min=std::numeric_limits< real >::epsilon())
real hallmhd_set_time_step(const solverVariables_t *pSV, const real V_m, const real V_w)
real gyro_dt_limit(const real skin_depth_norm, const real Ai, const real Zi, const solverVariables_t *pSV, const real *q)
real hallmhd_internal_flux(const real gas_gamma, const real skin_depth_norm, const real Ai, const real Zi, const real theta, const solverVariables_t *pSV, const real *q, const real *aux, const real *J, std::vector< std::vector< real > > &internal_flux, const real Ae=0.0, const real rho_min=std::numeric_limits< real >::epsilon(), const real press_min=std::numeric_limits< real >::epsilon(), const real drift_pe_factor=1.0, const real jxb_factor=1.0, const real grad_pe_factor=1.0)
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