WARPXM v1.10.0
Loading...
Searching...
No Matches
mhd_two_temperature.h File Reference

Functions related to temperature and pressure used across many MHD apps. More...

#include "warpxm/warpxm_config.h"
#include <limits>

Go to the source code of this file.

Detailed Description

Functions related to temperature and pressure used across many MHD apps.

Namespaces

namespace  wxm
 Base namespace for everything not included in the global namespace.
 
namespace  wxm::apps
 
namespace  wxm::apps::mhd_two_temperature
 

Functions

real wxm::apps::mhd_two_temperature::getRhoFloored (const real *q, const real rho_min=std::numeric_limits< real >::epsilon())
 Get the floored mass density.
 
real wxm::apps::mhd_two_temperature::getIonNumberDensity (const real *q, const real Ai, const real rho_min=std::numeric_limits< real >::epsilon())
 Get the floored ion number density,.
 
real wxm::apps::mhd_two_temperature::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 wxm::apps::mhd_two_temperature::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 wxm::apps::mhd_two_temperature::getFluidPressure (const real press_i, const real press_e)
 Get the the total fluid pressure from ion and electron pressures.
 
void wxm::apps::mhd_two_temperature::getGradientElectronPressure (const real *grad_q, const real gas_gamma, real *grad_pe)
 Get the gradient of electron pressure from MHD gradient variables.
 
void wxm::apps::mhd_two_temperature::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 wxm::apps::mhd_two_temperature::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 wxm::apps::mhd_two_temperature::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.
 
void wxm::apps::mhd_two_temperature::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.
 
void wxm::apps::mhd_two_temperature::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 wxm::apps::mhd_two_temperature::current_density_cart (const real skin_depth_norm, const real *grad_B[3], real *J)
 
real wxm::apps::mhd_two_temperature::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)