ProfileWithDoubleGaussianPlusPycnocline
Build a double-Gaussian pycnocline profile used by the built-in benchmarks.
Developer documentation: this item describes internal implementation details.
Declaration
[rhoFunc,N2Func,zIn] = ProfileWithDoubleGaussianPlusPycnocline(rho_0,D,delta_p,z_p,L_s,L_d,N0,Nq,Np,Nd)
Parameters
rho_0reference surface densityDwater-column depthdelta_ppycnocline thickness scalez_ppycnocline center depthL_sshallow Gaussian scaleL_ddeep Gaussian scaleN0surface buoyancy frequencyNqmixed-layer buoyancy-frequency scaleNppycnocline buoyancy-frequency scaleNddeep buoyancy-frequency scale
Returns
rhoFuncdensity function handleN2Funcbuoyancy-frequency function handlezIndepth domain for the constructed profile