setGeostrophicForcingCoefficients
Select zero-frequency coefficients to fix.
Declaration
setGeostrophicForcingCoefficients(A0bar,options)
Parameters
A0barA0values on the transform spectral gridMA0optional logicalA0selection mask; defaultabs(A0bar) > 1e-6*max(abs(A0bar(:)))
Discussion
Without an explicit mask, coefficients whose magnitude is at
least \(10^{-6}\) times the largest supplied magnitude are
selected. If adaptive damping is registered, selected modes
above its horizontal k_damp threshold are removed.