5#include "warpxm/warpxm_config.h"
11 const real rho_min = std::numeric_limits<real>::epsilon(),
12 const real press_min = std::numeric_limits<real>::epsilon());
17 const real rho_min = std::numeric_limits<real>::epsilon(),
18 const real press_min = std::numeric_limits<real>::epsilon());
22 const real rho_min = std::numeric_limits<real>::epsilon(),
23 const real press_min = std::numeric_limits<real>::epsilon());
27 const real rho_min = std::numeric_limits<real>::epsilon(),
28 const real press_min = std::numeric_limits<real>::epsilon());
32 const real rho_min = std::numeric_limits<real>::epsilon(),
33 const real press_min = std::numeric_limits<real>::epsilon());
51 const real rho_min = std::numeric_limits<real>::epsilon(),
52 const real press_min = std::numeric_limits<real>::epsilon());
60 const real rho_min = std::numeric_limits<real>::epsilon(),
61 const real press_min = std::numeric_limits<real>::epsilon());
69 const real rho_min = std::numeric_limits<real>::epsilon(),
70 const real press_min = std::numeric_limits<real>::epsilon());
78 const real rho_min = std::numeric_limits<real>::epsilon(),
79 const real press_min = std::numeric_limits<real>::epsilon());
86 const real lambda_k_R,
87 const real lambda_k_L);
95 const real rho_min = std::numeric_limits<real>::epsilon(),
96 const real press_min = std::numeric_limits<real>::epsilon());
126 const real gas_gamma,
129 const real rho_min = std::numeric_limits<real>::epsilon(),
130 const real press_min = std::numeric_limits<real>::epsilon());
162 const std::string& flux_type,
164 const real rho_min = std::numeric_limits<real>::epsilon(),
165 const real press_min = std::numeric_limits<real>::epsilon());
182 std::vector<std::vector<real>>& internalFlux,
183 const real rho_min = std::numeric_limits<real>::epsilon(),
184 const real press_min = std::numeric_limits<real>::epsilon());
196 const real rho_min = std::numeric_limits<real>::epsilon(),
197 const real press_min = std::numeric_limits<real>::epsilon());
208 const real rho_min = std::numeric_limits<real>::epsilon());
213 const real rho_min = std::numeric_limits<real>::epsilon(),
214 const real press_min = std::numeric_limits<real>::epsilon());
219 const real rho_min = std::numeric_limits<real>::epsilon(),
220 const real press_min = std::numeric_limits<real>::epsilon());
229 const real rho_min = std::numeric_limits<real>::epsilon(),
230 const real press_min = std::numeric_limits<real>::epsilon());
233 const real gas_gamma,
240 const real rho_min = std::numeric_limits<real>::epsilon(),
241 const real press_min = std::numeric_limits<real>::epsilon());
244 const real gas_gamma,
248 const real rho_min = std::numeric_limits<real>::epsilon(),
249 const real press_min = std::numeric_limits<real>::epsilon());
252 const real gas_gamma,
256 const real rho_min = std::numeric_limits<real>::epsilon(),
257 const real press_min = std::numeric_limits<real>::epsilon());
260 const real gas_gamma,
266 const real rho_min = std::numeric_limits<real>::epsilon(),
267 const real press_min = std::numeric_limits<real>::epsilon());
279 const real gas_gamma,
283 const real rho_min = std::numeric_limits<real>::epsilon(),
284 const real press_min = std::numeric_limits<real>::epsilon());
304 real* numericalFlux);
real imhd_numerical_flux(const real gas_gamma, const real *q_l, const real *q_r, const real *aux_l, const real *aux_r, const solverVariables_t *pFV, const std::string &flux_type, real *numericalFlux, const real rho_min=std::numeric_limits< real >::epsilon(), const real press_min=std::numeric_limits< real >::epsilon())
IMHD numerical flux vector calculated in global frame.
real get_avg(real a, real b)
void freeslipWallCondition_imhd(const real gas_gamma, const solverVariables_t *pFV, const real *QC, real *QC_w, const real rho_min=std::numeric_limits< real >::epsilon(), const real press_min=std::numeric_limits< real >::epsilon())
real min_wave_speed(real gas_gamma, const real *q, const real rho_min=std::numeric_limits< real >::epsilon(), const real press_min=std::numeric_limits< real >::epsilon())
real rusanov_flux(const real gas_gamma, const real *ql, const real *qr, const real *F_L, const real *F_R, real *F_num, const real rho_min=std::numeric_limits< real >::epsilon(), const real press_min=std::numeric_limits< real >::epsilon())
void conducting_wall_freeslip_gradients(const real gas_gamma, const solverVariables_t *pFV, const real *QC, const real *aux_in, const real *aux_out, real *QC_w, const real rho_min=std::numeric_limits< real >::epsilon(), const real press_min=std::numeric_limits< real >::epsilon())
void conducting_wall_noslip_gradients(const real gas_gamma, const solverVariables_t *pFV, const real *QC, real *QC_w, const real rho_min=std::numeric_limits< real >::epsilon(), const real press_min=std::numeric_limits< real >::epsilon())
void imhd_internal_flux(const real gas_gamma, const solverVariables_t *pSV, const real *q, std::vector< std::vector< real > > &internalFlux, const real rho_min=std::numeric_limits< real >::epsilon(), const real press_min=std::numeric_limits< real >::epsilon())
IMHD internal flux tensor calculated in global frame.
void dwdq_MHD(const real gas_gamma, const real Q[8], real dwdq[][8], const real rho_min=std::numeric_limits< real >::epsilon(), const real press_min=std::numeric_limits< real >::epsilon())
real calc_fast_magnetosonic(real gas_gamma, const real *q, const real rho_min=std::numeric_limits< real >::epsilon(), const real press_min=std::numeric_limits< real >::epsilon())
real calc_slow_magnetosonic(real gas_gamma, const real *q, const real rho_min=std::numeric_limits< real >::epsilon(), const real press_min=std::numeric_limits< real >::epsilon())
void CtoNC_MHD(const real gas_gamma, const real QC[8], real QNC[8], const real rho_min=std::numeric_limits< real >::epsilon(), const real press_min=std::numeric_limits< real >::epsilon())
Converts conserved variables to nonconserved (primitive) variables.
void imhd_numerical_flux_local_frame(const real gas_gamma, const real *q, real *f, const real rho_min=std::numeric_limits< real >::epsilon(), const real press_min=std::numeric_limits< real >::epsilon())
IMHD numerical flux vector calculated in frame rotated to element boundary.
void NCtoC_MHD(const real gas_gamma, const real QNC[8], real QC[8], const real rho_min=std::numeric_limits< real >::epsilon())
Converts nonconserved (primitive) variables to conserved variables.
real roe_flux(const real gas_gamma, const real *ql, const real *qr, const real *F_L, const real *F_R, real *F_num, const real rho_min=std::numeric_limits< real >::epsilon(), const real press_min=std::numeric_limits< real >::epsilon())
void copyout_gradients(const real *grad_QC, real *grad_QC_w)
real max_wave_speed_magnitude(const real gas_gamma, const real *q, const real rho_min=std::numeric_limits< real >::epsilon(), const real press_min=std::numeric_limits< real >::epsilon())
void calc_magnetosonic_speeds(const real gas_gamma, const real *q, real *c, const real rho_min=std::numeric_limits< real >::epsilon(), const real press_min=std::numeric_limits< real >::epsilon())
Calculate magnetosonic speeds in local frame, normal to element boundary.
void dqdw_MHD(const real gas_gamma, const real Q[8], real dqdw[][8], const real rho_min=std::numeric_limits< real >::epsilon(), const real press_min=std::numeric_limits< real >::epsilon())
void conducting_wall_noslip_old(const real gas_gamma, const solverVariables_t *pFV, const real *QC, const real vx_w, const real vy_w, const real vz_w, real *QC_w, const real rho_min=std::numeric_limits< real >::epsilon(), const real press_min=std::numeric_limits< real >::epsilon())
void twofluid_to_imhd(const real *QC, const solverVariables_t *pSV, real oc_sd, real *QC_w)
real max_wave_speed(const real gas_gamma, const real *q, const real rho_min=std::numeric_limits< real >::epsilon(), const real press_min=std::numeric_limits< real >::epsilon())
real hll_flux(const real gas_gamma, const real *ql, const real *qr, const real *F_L, const real *F_R, real *F_num, const real rho_min=std::numeric_limits< real >::epsilon(), const real press_min=std::numeric_limits< real >::epsilon())
void copyout(const real *QC, real *QC_w)
real get_delta_lambda_k(const real lambda_k_R, const real lambda_k_L)
real get_lambda_k_star(const real lambda_k_roe, const real lambda_k_R, const real lambda_k_L)
void conducting_wall_freeslip(const real gas_gamma, const solverVariables_t *pFV, const real *QC, real *QC_w, const real rho_min=std::numeric_limits< real >::epsilon(), const real press_min=std::numeric_limits< real >::epsilon())
void conducting_wall_noslip(const real gas_gamma, const solverVariables_t *pFV, const real *QC, const real vx_w, const real vy_w, const real vz_w, real *QC_w, const real rho_min=std::numeric_limits< real >::epsilon(), const real press_min=std::numeric_limits< real >::epsilon())
void applyLdgPenaltyEta(const solverVariables_t *pFV, const real *q_l, const real *q_r, real *numericalFlux)
Apply LDG eta penalty to numerical flux.
real hlld_flux(const real gas_gamma, const real *ql, const real *qr, const real *F_L, const real *F_R, real *F_num, const real rho_min=std::numeric_limits< real >::epsilon(), const real press_min=std::numeric_limits< real >::epsilon())
Definition: wmapplication.h:38
#define real
Definition: wmoclunstructuredreconstruction.h:11