Skip to content
Snippets Groups Projects
Commit 134bfc6c authored by Dave Whipp's avatar Dave Whipp
Browse files

Fixed zisodisp tracking to work only when isobc is true

parent 6c8b8c2a
No related branches found
No related tags found
No related merge requests found
......@@ -1233,7 +1233,7 @@ do while (istep.le.params%nstep)
call show_time (total,step,inc,1,'Compute isostasy and adjust vertical velocity$')
!allocate(ov%wpreiso(ov%nnode),stat=err) ; if (err.ne.0) call stop_run ('Error alloc ov%wpreiso in main$')
call isostasy (params,weightel,ov,surface,mat,0,zi)
zi%zisodisp=zi%zisodisp-zi%zisoinc
if (params%isobc) zi%zisodisp=zi%zisodisp-zi%zisoinc
do is=1,params%ns
if (current_time+tiny(current_time).ge. surface(is)%activation_time) then
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment