WARPXM v1.10.0
Loading...
Searching...
No Matches
mhd_two_temperature.h
Go to the documentation of this file.
1#pragma once
2
3#include "warpxm/warpxm_config.h"
4
5#include <limits>
6
7namespace wxm
8{
9namespace apps
10{
11namespace mhd_two_temperature
12{
13
35 const real rho_min = std::numeric_limits<real>::epsilon());
36
53 const real Ai,
54 const real rho_min = std::numeric_limits<real>::epsilon());
55
77 const real gas_gamma,
78 const real rho_min = std::numeric_limits<real>::epsilon(),
79 const real press_min = std::numeric_limits<real>::epsilon());
80
100 const real* q,
101 const real gas_gamma,
102 const real rho_min = std::numeric_limits<real>::epsilon(),
103 const real press_min = std::numeric_limits<real>::epsilon());
104
117real getFluidPressure(const real press_i, const real press_e);
118
131void getGradientElectronPressure(const real* grad_q, const real gas_gamma, real* grad_pe);
132
149 const real* grad_q,
150 const real gas_gamma,
151 real* grad_press_i,
152 const real rho_min = std::numeric_limits<real>::epsilon());
153
171 const real gas_gamma,
172 const real Ai,
173 const real Zi,
174 const real rho_min,
175 const real press_min);
176
193 const real gas_gamma,
194 const real Ai,
195 const real rho_min,
196 const real press_min);
197
215 const real* grad_q,
216 const real gas_gamma,
217 const real Ai,
218 real* grad_Ti,
219 const real rho_min,
220 const real press_min);
221
240 const real* grad_q,
241 const real gas_gamma,
242 const real Ai,
243 const real Zi,
244 real* grad_Te,
245 const real rho_min,
246 const real press_min);
247
248real current_density_cart(const real skin_depth_norm, const real* grad_B[3], real* J);
249
250real current_density_cyl(const real skin_depth_norm,
251 const real r,
252 const real* B,
253 const real* grad_B[3],
254 const int ir,
255 const int ith,
256 const int iz,
257 real* J);
258
259} // namespace mhd_two_temperature
260} // namespace apps
261} // namespace wxm
list apps
Definition: shock_tube.py:33
real getFluidPressure(const real press_i, const real press_e)
Get the the total fluid pressure from ion and electron pressures.
void getGradientIonTemperature(const real *q, const real *grad_q, const real gas_gamma, const real Ai, real *grad_Ti, const real rho_min, const real press_min)
Get the gradient of ion temperature from MHD gradient variables.
real getIonPressureFloored(const real *q, const real gas_gamma, const real rho_min=std::numeric_limits< real >::epsilon(), const real press_min=std::numeric_limits< real >::epsilon())
Get the ion pressure from MHD variables using floors for pressure and density.
real getRhoFloored(const real *q, const real rho_min=std::numeric_limits< real >::epsilon())
Get the floored mass density.
void getGradientIonPressure(const real *q, const real *grad_q, const real gas_gamma, real *grad_press_i, const real rho_min=std::numeric_limits< real >::epsilon())
Get the gradient of ion pressure from MHD gradient variables.
real getElectronPressureFloored(const real *q, const real gas_gamma, const real rho_min=std::numeric_limits< real >::epsilon(), const real press_min=std::numeric_limits< real >::epsilon())
Get the electron pressure from MHD variables using floors for pressure and density.
real current_density_cart(const real skin_depth_norm, const real *grad_B[3], real *J)
void getGradientElectronPressure(const real *grad_q, const real gas_gamma, real *grad_pe)
Get the gradient of electron pressure from MHD gradient variables.
real getIonNumberDensity(const real *q, const real Ai, const real rho_min=std::numeric_limits< real >::epsilon())
Get the floored ion number density,.
void getGradientElectronTemperature(const real *q, const real *grad_q, const real gas_gamma, const real Ai, const real Zi, real *grad_Te, const real rho_min, const real press_min)
Get the gradient of electron temperature from MHD gradient variables.
real getElectronTemperatureFloored(const real *q, const real gas_gamma, const real Ai, const real Zi, const real rho_min, const real press_min)
Get the electron temperature from MHD gradient variables.
real current_density_cyl(const real skin_depth_norm, const real r, const real *B, const real *grad_B[3], const int ir, const int ith, const int iz, real *J)
real getIonTemperatureFloored(const real *q, const real gas_gamma, const real Ai, const real rho_min, const real press_min)
Get the ion temperature from MHD gradient variables.
Base namespace for everything not included in the global namespace.
Definition: field_source.h:8
#define real
Definition: wmoclunstructuredreconstruction.h:11