gyroaverages
moment_kinetics.gyroaverages
— Modulemodule for supporting gyroaverages at fixed guiding centre R and fixed position r
moment_kinetics.gyroaverages.elementlist!
— Methodfor a given list of coordinate values, determine in which elements they are found -1 indicates that the required element would be outside of the existing grid
– assume here that the coordinates are fully local in memory
moment_kinetics.gyroaverages.gyroaverage_field!
— Methodfunction for gyroaveraging a field of shape (z,r) and filling the result into an array of shape (vperp,z,r,s)
moment_kinetics.gyroaverages.gyroaverage_pdf!
— Methodfunction for gyroaveraging a charge particle pdf of shape (vpa,vperp,z,r,s) and filling the result into an of the same shape