4#include "warpxm/warpxm_config.h"
27 return nu_p_norm * sqrt(2) * Z_a * Z_a * Z_b * Z_b * coulomb_log_a * (A_a + A_b) /
28 (A_a * A_a * A_b * A_b);
41 return fmax(minimum, collision_coefficient * rho_b / pow(theta_a + theta_b, 1.5));
53 return fmax(minimum, collision_coefficient * rho / pow(2.0 * theta, 1.5));
56void mat_mult(
const std::vector<std::vector<real>>& a,
57 const std::vector<std::vector<real>>& b,
58 std::vector<std::vector<real>>& c);
void mat_mult(const std::vector< std::vector< real > > &a, const std::vector< std::vector< real > > &b, std::vector< std::vector< real > > &c)
real calculate_collision_coefficient(real nu_p_norm, real coulomb_log_a, real A_a, real Z_a, real A_b, real Z_b)
Definition: functions.h:17
real calculate_interspecies_collision_frequency(real collision_coefficient, real minimum, real A_a, real A_b, real theta_a, real rho_b, real theta_b)
Definition: functions.h:31
real calculate_intraspecies_collision_frequency(real collision_coefficient, real minimum, real rho, real theta)
Definition: functions.h:44
#define real
Definition: wmoclunstructuredreconstruction.h:11