subroutine takes a set of Fourier coefficients (ft) and returns the minimum number of coeffients that must be retained (idx) to ensure that the relative error in the total spectral energy is below a specified tolerance (tol_floor)
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
complex, | intent(in), | dimension(:) | :: | ft | ||
integer, | intent(out) | :: | idx | |||
integer, | intent(in), | optional | :: | imu | ||
integer, | intent(in), | optional | :: | iz | ||
integer, | intent(in), | optional | :: | is | ||
real, | intent(in), | optional | :: | tol_in |