next up previous contents
Next: IntDepth: Boolean Up: Physical/Computational parameters Previous: VoronoiRatio   Contents

vertgridcorrect: Boolean

For an equispaced vertical grid, the vertical grid spacing is constant and is given by $\Delta z=D_{max}/N_{kmax}$, where $D_{max}$ is the maximum depth in the domain. In the rare case for which the minimum depth, $D_{min}$ in the domain is less than $\Delta z$, there are not enough grid points to resolve the region with the smallest depth. If this is the case and vertgridcorrect is set to 1, then the number of vertical grid cells is adjusted such that $\Delta z=D_{min}$, such that $N_{kmax}=D_{max}/D_{min}$.