Skip to content

Commit

Permalink
Fix tides_CS attribute in unsplit mode (#103)
Browse files Browse the repository at this point in the history
Remove the pointer attribute from tides_CS in its parent CS in unsplit
mode. This recovers tidal forcing functionality in the unsplit mode.
  • Loading branch information
herrwang0 authored Apr 10, 2022
1 parent 28ff86e commit 6809ee3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/core/MOM_dynamics_unsplit.F90
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ module MOM_dynamics_unsplit
!> A pointer to the set_visc control structure
type(set_visc_CS), pointer :: set_visc_CSp => NULL()
!> A pointer to the tidal forcing control structure
type(tidal_forcing_CS), pointer :: tides_CSp => NULL()
type(tidal_forcing_CS) :: tides_CSp
!> A pointer to the ALE control structure.
type(ALE_CS), pointer :: ALE_CSp => NULL()

Expand Down
2 changes: 1 addition & 1 deletion src/core/MOM_dynamics_unsplit_RK2.F90
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ module MOM_dynamics_unsplit_RK2
!> A pointer to the set_visc control structure
type(set_visc_CS), pointer :: set_visc_CSp => NULL()
!> A pointer to the tidal forcing control structure
type(tidal_forcing_CS), pointer :: tides_CSp => NULL()
type(tidal_forcing_CS) :: tides_CSp
!> A pointer to the ALE control structure.
type(ALE_CS), pointer :: ALE_CSp => NULL()

Expand Down

0 comments on commit 6809ee3

Please sign in to comment.