ModesFromGEP
Solve a generalized EVP and map its modes onto the public grid.
Developer documentation: this item describes internal implementation details.
Declaration
[F,G,h,varargout] = ModesFromGEP(self,A,B,h_func,varargin)
Parameters
selfInternalModesFiniteDifference instanceAleft generalized-eigenproblem matrixBright generalized-eigenproblem matrixh_funcmap from eigenvalue to equivalent depthvararginoptional requests amongF2,G2,N2G2,uMax,wMax,kConstant, andomegaConstant
Returns
Fhorizontal-velocity mode matrix onzOutGvertical-velocity mode matrix onzOuthequivalent-depth row vectorvarargoutrequested diagnostics fromNormalizeModes