Skip to content

Commit

Permalink
Remove ALE by changing vertAleTransportTop
Browse files Browse the repository at this point in the history
  • Loading branch information
mark-petersen committed Sep 22, 2022
1 parent ef076d4 commit 0091e31
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions components/mpas-ocean/src/shared/mpas_ocn_tendency.F
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ subroutine ocn_tend_thick(tendPool, forcingPool)!{{{
layerThickEdgeFlux, tendThick, err)

! Compute vertical advection term -d/dz(hw)
call ocn_thick_vadv_tend(vertAleTransportTop, &
call ocn_thick_vadv_tend(vertTransportVelocityTop, &
tendThick, err)

! Compute surface flux tendency
Expand Down Expand Up @@ -351,7 +351,7 @@ subroutine ocn_tend_vel(domain, tendPool, statePool, forcingPool, &
!$acc density, normRelVortEdge, montgomeryPotential, pressure, &
!$acc thermExpCoeff, salineContractCoeff, tangentialVelocity, &
!$acc layerThickEdgeFlux, kineticEnergyCell, sfcFlxAttCoeff, potentialDensity, &
!$acc vertAleTransportTop, vertViscTopOfEdge, wettingVelocity)
!$acc vertVelocityTop, vertViscTopOfEdge, wettingVelocity)
!$acc enter data &
!$acc copyin(tendVel, sfcStress, sfcStressMag, &
!$acc ssh, normalVelocity, &
Expand Down Expand Up @@ -412,7 +412,7 @@ subroutine ocn_tend_vel(domain, tendPool, statePool, forcingPool, &

! Add vertical advection term -w du/dz
call ocn_vel_vadv_tend(normalVelocity, layerThickEdgeFlux, &
vertAleTransportTop, tendVel, err)
vertVelocityTop, tendVel, err)

! Add pressure gradient
call ocn_vel_pressure_grad_tend(ssh, pressure, surfacePressure, &
Expand Down Expand Up @@ -664,7 +664,7 @@ subroutine ocn_tend_tracer(tendPool, statePool, forcingPool, &
!TEMPORARY - once diagnotics module ported, these should already
! be on the device
!$acc update device (normalTransportVelocity, layerThickEdgeFlux, &
!$acc vertAleTransportTop)
!$acc vertVelocityTop)

! compute transport velocity to use for all tracers
#ifdef MPAS_OPENACC
Expand Down Expand Up @@ -1096,7 +1096,7 @@ subroutine ocn_tend_tracer(tendPool, statePool, forcingPool, &
! Tracer budget is computed and stored within the tracer adv
! routine
call ocn_tracer_advection_tend(tracerGroup, &
normalThicknessFlux, vertAleTransportTop, &
normalThicknessFlux, vertTransportVelocityTop, &
layerThickness, dt, tracerGroupTend, &
computeBudgets)

Expand Down

0 comments on commit 0091e31

Please sign in to comment.