Skip to content

Commit

Permalink
For equalGM, change taper to GM too
Browse files Browse the repository at this point in the history
  • Loading branch information
mark-petersen committed May 25, 2022
1 parent 4cb9c1b commit 142ee46
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion components/mpas-ocean/src/shared/mpas_ocn_gm.F
Original file line number Diff line number Diff line change
Expand Up @@ -770,7 +770,7 @@ subroutine ocn_GM_compute_Bolus_velocity(statePool, &
!$omp parallel
!$omp do schedule(runtime)
do iEdge=1, nEdges
RediKappa(iEdge) = RediHorizontalTaper(iEdge) * gmBolusKappa(iEdge)
RediKappa(iEdge) = gmHorizontalTaper(iEdge) * gmBolusKappa(iEdge)
end do
!$omp end do
!$omp end parallel
Expand Down
2 changes: 2 additions & 0 deletions components/mpas-ocean/src/shared/mpas_ocn_tracer_hmix_redi.F
Original file line number Diff line number Diff line change
Expand Up @@ -538,6 +538,8 @@ subroutine ocn_tracer_hmix_Redi_init(domain, err)!{{{
! initialize Redi kappa array
if (config_Redi_closure == 'constant'.or. &
config_Redi_closure == 'equalGM') then
! For 'equalGM' RediKappa is updated every step. Just
! initialize here.
!$omp parallel
!$omp do schedule(runtime)
do iEdge = 1, nEdges
Expand Down

0 comments on commit 142ee46

Please sign in to comment.