Skip to content

Commit

Permalink
Re-merge branch 'vanroekel/ocean/fix-richardson-number-calculation' i…
Browse files Browse the repository at this point in the history
…nto next (PR #5946)
  • Loading branch information
jonbob committed Oct 25, 2023
2 parents 62ab242 + cfb1208 commit 8ecb73d
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions components/mpas-ocean/src/shared/mpas_ocn_diagnostics.F
Original file line number Diff line number Diff line change
Expand Up @@ -1594,11 +1594,12 @@ subroutine ocn_diagnostic_solve_richardson(displacedDensity, density, zMid, &
!$acc parallel loop gang vector &
!$acc present(RiTopOfCell, maxLevelCell, nEdgesOnCell, edgesOnCell, normalVelocity, &
!$acc edgeAreaFractionOfCell, zMid, BruntVaisalaFreqTop, minLevelCell) &
!$acc private(k, i, iEdge, delU2, shearSquared, shearMean)
!$acc private(k, i, iEdge, delU2, shearMean, jCell, shear, dz_edge, Ri_edge, &
!$acc RiTopOfCellNorm)
#else
!$omp parallel
!$omp do schedule(runtime) private(k, shearSquared, i, iEdge, delU2, shearMean, &
!$omp jCell, shear, dz_edge, Ri_edge)
!$omp do schedule(runtime) private(k, i, iEdge, delU2, shearMean, jCell, shear, &
!$omp dz_edge, Ri_edge, RiTopOfCellNorm)
#endif
do iCell=1,nCells
RiTopOfCell(:,iCell) = 100.0_RKIND
Expand Down

0 comments on commit 8ecb73d

Please sign in to comment.