Skip to content

Commit

Permalink
Deletes get_state_pointers from ocean_model_MOM, its no longer needed…
Browse files Browse the repository at this point in the history
… there
  • Loading branch information
gustavo-marques committed Aug 28, 2017
1 parent 5a9693f commit 09fa6c3
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions config_src/coupled_driver/ocean_model_MOM.F90
Original file line number Diff line number Diff line change
Expand Up @@ -1080,15 +1080,4 @@ subroutine ocean_public_type_chksum(id, timestep, ocn)

end subroutine ocean_public_type_chksum

!> Returns pointers to objects within ocean_state_type
subroutine get_state_pointers(OS, grid, surf)
type(ocean_state_type), pointer :: OS !< Ocean state type
type(ocean_grid_type), optional, pointer :: grid !< Ocean grid
type(surface), optional, pointer :: surf !< Ocean surface state

if (present(grid)) grid => OS%grid
if (present(surf)) surf=> OS%state

end subroutine get_state_pointers

end module ocean_model_mod

0 comments on commit 09fa6c3

Please sign in to comment.