Function crpropa::initHelicalTurbulence
Defined in File HelicalGridTurbulence.h
Function Documentation
-
void crpropa::initHelicalTurbulence(ref_ptr<Grid3f> grid, double Brms, double lMin, double lMax, double alpha = -11 / 3., int seed = 0, double H = 0)
Create a random initialization of a turbulent field including helicity
- Parameters:
grid – grid on which the turbulence is calculated
Brms – RMS field strength
lMin – Minimum wavelength of the turbulence
lMax – Maximum wavelength of the turbulence
alpha – Power law index of <B^2(k)> ~ k^alpha (alpha = -11/3 corresponds to a Kolmogorov spectrum)
seed – Random seed
H – Helicity