Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove ocean unused variable RediKappaData #5575

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions components/mpas-ocean/src/Registry.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3783,10 +3783,6 @@
description="Multiplication factors to smooth ssh at coastlines for SAL caculation"
packages="tidalPotentialForcingPKG"
/>
<var name="RediKappaData" type="real" dimensions="nCells" units="m^2 s^-1"
description="Redi isopycnal mixing Kappa value. This is the data field specified at init."
packages="gm"
/>
</var_struct>
<var_struct name="timeVaryingForcing" time_levs="1">
<var name="windSpeedU" type="real" dimensions="nCells Time" units="m s^-1"
Expand Down
3 changes: 1 addition & 2 deletions components/mpas-ocean/src/shared/mpas_ocn_tracer_hmix_redi.F
Original file line number Diff line number Diff line change
Expand Up @@ -492,7 +492,7 @@ subroutine ocn_tracer_hmix_Redi_init(domain, err)!{{{
type(mpas_pool_type), pointer :: diagnosticsPool
type(mpas_pool_type), pointer :: forcingPool

real(kind=RKIND), dimension(:), pointer :: RediKappa, RediKappaData
real(kind=RKIND), dimension(:), pointer :: RediKappa
real(kind=RKIND), dimension(:), pointer :: RediHorizontalTaper
real(kind=RKIND), dimension(:), pointer :: dcEdge
real(kind=RKIND) :: coef
Expand All @@ -519,7 +519,6 @@ subroutine ocn_tracer_hmix_Redi_init(domain, err)!{{{
call mpas_pool_get_dimension(meshPool, 'nEdges', nEdges)
call mpas_pool_get_array(diagnosticsPool, 'RediKappa', RediKappa)
call mpas_pool_get_array(diagnosticsPool, 'RediHorizontalTaper', RediHorizontalTaper)
call mpas_pool_get_array(forcingPool, 'RediKappaData', RediKappaData)
call mpas_pool_get_array(meshPool, 'cellsOnEdge', cellsOnEdge)
call mpas_pool_get_array(meshPool, 'dcEdge', dcEdge)

Expand Down