Skip to content

Commit

Permalink
Make cvmix compatible with maxLevelCell = 0
Browse files Browse the repository at this point in the history
  • Loading branch information
cbegeman committed Mar 10, 2024
1 parent a85a637 commit 47391d1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions components/mpas-ocean/src/shared/mpas_ocn_vmix_cvmix.F
Original file line number Diff line number Diff line change
Expand Up @@ -786,6 +786,7 @@ subroutine ocn_vmix_coefs_cvmix_build(meshPool, statePool, forcingPool, err, tim
!$omp parallel
!$omp do schedule(runtime) private(nEdges, areaSum, edgeCount, iEdge, iNeighbor)
do iCell=1,nCells
if (maxLevelCell(iCell) == 0) cycle
nEdges = nEdgesOnCell(iCell)
boundaryLayerDepthSmooth(iCell) = 0.0_RKIND
areaSum = 0.0_RKIND
Expand Down

0 comments on commit 47391d1

Please sign in to comment.