WVTransformConstantStratification
Create a wave-vortex transform for constant stratification.
Declaration
wvt = WVTransformConstantStratification(Lxyz,Nxyz,options)
Parameters
Lxyzlength of the domain (in meters) in the three coordinate directions, e.g. [Lx Ly Lz]Nxyznumber of grid points in the three coordinate directions, e.g. [Nx Ny Nz]options.N0constant buoyancy frequency in radians per second; default5.2e-3options.isHydrostaticuse hydrostatic dynamics; defaultfalseoptions.latitudelatitude in the supported domain; default33options.shouldAntialiasexclude quadratically aliased modes; defaulttrueoptions.computationalBackendnonlinear-flux implementation,"matlab"(default) or the explicit"compiled"previewoptions.rho0reference density in kilograms per cubic meter; default1025
Returns
wvtnewWVTransformConstantStratificationinstance
Discussion
Creates a new instance of the WVTransformConstantStratification class appropriate for disentangling waves and vortices in constant stratification.
Set isHydrostatic=true for hydrostatic dynamics; the default
is the nonhydrostatic transform. N0 is the constant buoyancy
frequency. The remaining geometry options configure the
rotating, doubly periodic domain.