WVTransformBarotropicQG

create geometry for 2D barotropic flow


Declaration

 wvt = Cartesian2DBarotropic(Lxyz, Nxyz, options)

Parameters

  • Lxy length of the domain (in meters) in the two coordinate directions, e.g. [Lx Ly]
  • Nxy number of grid points in the two coordinate directions, e.g. [Nx Ny]
  • shouldAntialias (optional) whether or not to de-alias for quadratic multiplications

Returns

  • wvt a new Cartesian2DBarotropic instance

Discussion

  Lxy = 50e3;
  Nxy = 256;
  wvt = Cartesian2DBarotropic([Lxy, Lxy], [Nxy, Nxy]);