Skip to content

Commit

Permalink
Do not call init_isostasy unless isostasy = 1
Browse files Browse the repository at this point in the history
The code was calling subroutine init_isostasy with isostasy = 0 = ISOSTASY_NONE.
This subroutine is now called only if isostasy = 1 = ISOSTASY_COMPUTE.
  • Loading branch information
whlipscomb committed Sep 18, 2021
1 parent 165fb8a commit 44f771c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion libglissade/glissade.F90
Original file line number Diff line number Diff line change
Expand Up @@ -457,7 +457,11 @@ subroutine glissade_initialise(model, evolve_ice)
! handle relaxed/equilibrium topo
! Initialise isostasy first

call init_isostasy(model)
if (model%options%isostasy == ISOSTASY_COMPUTE) then

call init_isostasy(model)

endif

select case(model%isostasy%whichrelaxed)

Expand Down

0 comments on commit 44f771c

Please sign in to comment.