XGCa
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Functions
basic_physics.hpp File Reference
#include "space_settings.hpp"
#include "constants.hpp"
Include dependency graph for basic_physics.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

KOKKOS_INLINE_FUNCTION double kinetic_energy (double mass, double v)
 
KOKKOS_INLINE_FUNCTION double maxwellian_dist (double den, double temp, double energy)
 
KOKKOS_INLINE_FUNCTION double maxwellian_dist_1d_v (double temp, double energy, double maxe)
 
KOKKOS_INLINE_FUNCTION double maxwellian_dist_2d_v (double temp, double energy, double maxe)
 
KOKKOS_INLINE_FUNCTION double exp_ad (double x)
 
KOKKOS_INLINE_FUNCTION double gyro_radius (double B, double mu, double c2_2m)
 
KOKKOS_INLINE_FUNCTION double thermal_velocity (double mass, double temp_ev)
 
KOKKOS_INLINE_FUNCTION double normalize_to_vth (double mass, double temp_ev, double v)
 
KOKKOS_INLINE_FUNCTION double normalized_v_para (double c_m, double mass, double B, double temp_ev, double rho)
 
KOKKOS_INLINE_FUNCTION double normalized_sqrt_mu (double B, double temp_ev, double mu)
 
KOKKOS_INLINE_FUNCTION void rho_mu_to_en_pitch (double B, double c_m, double c2_2m, double mass, double rho, double mu, double &en, double &pitch)
 
KOKKOS_INLINE_FUNCTION void en_pitch_to_rho_mu (double B, double c_m, double mass, double en, double pitch, double &rho, double &mu)
 

Function Documentation

KOKKOS_INLINE_FUNCTION void en_pitch_to_rho_mu ( double  B,
double  c_m,
double  mass,
double  en,
double  pitch,
double &  rho,
double &  mu 
)

Here is the caller graph for this function:

KOKKOS_INLINE_FUNCTION double exp_ad ( double  x)

Here is the caller graph for this function:

KOKKOS_INLINE_FUNCTION double gyro_radius ( double  B,
double  mu,
double  c2_2m 
)
KOKKOS_INLINE_FUNCTION double kinetic_energy ( double  mass,
double  v 
)

Here is the caller graph for this function:

KOKKOS_INLINE_FUNCTION double maxwellian_dist ( double  den,
double  temp,
double  energy 
)

Here is the caller graph for this function:

KOKKOS_INLINE_FUNCTION double maxwellian_dist_1d_v ( double  temp,
double  energy,
double  maxe 
)

Here is the caller graph for this function:

KOKKOS_INLINE_FUNCTION double maxwellian_dist_2d_v ( double  temp,
double  energy,
double  maxe 
)

Here is the caller graph for this function:

KOKKOS_INLINE_FUNCTION double normalize_to_vth ( double  mass,
double  temp_ev,
double  v 
)
KOKKOS_INLINE_FUNCTION double normalized_sqrt_mu ( double  B,
double  temp_ev,
double  mu 
)

Here is the caller graph for this function:

KOKKOS_INLINE_FUNCTION double normalized_v_para ( double  c_m,
double  mass,
double  B,
double  temp_ev,
double  rho 
)

Here is the caller graph for this function:

KOKKOS_INLINE_FUNCTION void rho_mu_to_en_pitch ( double  B,
double  c_m,
double  c2_2m,
double  mass,
double  rho,
double  mu,
double &  en,
double &  pitch 
)

Here is the caller graph for this function:

KOKKOS_INLINE_FUNCTION double thermal_velocity ( double  mass,
double  temp_ev 
)

Here is the caller graph for this function: