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

Initialize revp stresses to previous time step #331

Merged
merged 4 commits into from
Aug 14, 2019
Merged
Changes from 1 commit
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
17 changes: 2 additions & 15 deletions cicecore/cicedynB/dynamics/ice_dyn_shared.F90
Original file line number Diff line number Diff line change
Expand Up @@ -503,7 +503,7 @@ subroutine dyn_prep2 (nx_block, ny_block, &
taubx (i,j) = c0
tauby (i,j) = c0

if (revp==1) then ! revised evp
if (icetmask(i,j)==0) then
stressp_1 (i,j) = c0
stressp_2 (i,j) = c0
stressp_3 (i,j) = c0
Expand All @@ -516,20 +516,7 @@ subroutine dyn_prep2 (nx_block, ny_block, &
stress12_2(i,j) = c0
stress12_3(i,j) = c0
stress12_4(i,j) = c0
else if (icetmask(i,j)==0) then ! classic evp
stressp_1 (i,j) = c0
stressp_2 (i,j) = c0
stressp_3 (i,j) = c0
stressp_4 (i,j) = c0
stressm_1 (i,j) = c0
stressm_2 (i,j) = c0
stressm_3 (i,j) = c0
stressm_4 (i,j) = c0
stress12_1(i,j) = c0
stress12_2(i,j) = c0
stress12_3(i,j) = c0
stress12_4(i,j) = c0
endif ! revp
endif
enddo ! i
enddo ! j

Expand Down