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