pg_utils.numerics.utils.eigenfreq_psi_op

pg_utils.numerics.utils.eigenfreq_psi_op(m: Union[int, ndarray], n: Union[int, ndarray], prec: Optional[int] = None) Union[float, ndarray][source]

Analytic eigenfrequency for the self-adjoint operator for stream function Psi in the vorticity equation

\[\omega = - \frac{m}{n(2n + 2m + 1) + \frac{m}{2} + \frac{m^2}{4}}\]

Note

If prec is specified other than None, then the input must be consistently in gmpy2 form in order to properly compute in multi-precision.