53 |
DO bi = myBxLo(myThid), myBxHi(myThid) |
DO bi = myBxLo(myThid), myBxHi(myThid) |
54 |
DO j=1-OLy,sNy+OLy-1 |
DO j=1-OLy,sNy+OLy-1 |
55 |
DO i=1-OLx+1,sNx+OLx-1 |
DO i=1-OLx+1,sNx+OLx-1 |
56 |
if (streamice_hmask(i,j,bi,bj).eq.1 .or. |
if (streamice_hmask(i,j,bi,bj).eq.1) then |
|
& streamice_hmask(i,j,bi,bj).eq.2) then |
|
|
|
|
57 |
shelficeMass(i,j,bi,bj) = |
shelficeMass(i,j,bi,bj) = |
58 |
& H_streamice(I,J,bi,bj) * streamice_density |
& H_streamice(I,J,bi,bj) * streamice_density |
59 |
|
elseif (streamice_hmask(i,j,bi,bj).eq.2) then |
60 |
|
shelficeMass(i,j,bi,bj) = |
61 |
|
& H_streamice(I,J,bi,bj) * streamice_density |
62 |
|
& * area_shelf_streamice(i,j,bi,bj)*recip_rA(i,j,bi,bj) |
63 |
endif |
endif |
64 |
ENDDO |
ENDDO |
65 |
ENDDO |
ENDDO |
81 |
|
|
82 |
shelficeMass(i,j,bi,bj) = shelficeMass(i,j,bi,bj) |
shelficeMass(i,j,bi,bj) = shelficeMass(i,j,bi,bj) |
83 |
& + shelfIceMassDynTendency(I,J,bi,bj)*deltaT |
& + shelfIceMassDynTendency(I,J,bi,bj)*deltaT |
84 |
|
|
85 |
ENDDO |
ENDDO |
86 |
ENDDO |
ENDDO |
87 |
ENDDO |
ENDDO |