46 auto div = delta_v / cs;
47 return sycl::sqrt(T(1.0) + T(9.0 / 128.0) * shambase::constants::pi<T> * div * div);
76 T rho_grain, T s_grain, T rho, T cs, T gamma, T f = T(1.0)) noexcept {
81 return (rho_grain * s_grain / (rho * cs * f))
82 * sycl::sqrt(shambase::constants::pi<T> * gamma / T(8));
T epstein_stopping_time(T rho_grain, T s_grain, T rho, T cs, T gamma, T f=T(1.0)) noexcept
Epstein drag stopping time for spherical dust grains.
T epstein_supersonic_correction(T delta_v, T cs) noexcept
Epstein drag supersonic correction factor.
Shamrock assertion utility.
#define SHAM_ASSERT(x)
Shorthand for SHAM_ASSERT_NAMED without a message.
Class holding the value of numerous constants generated from the following source.