39 |
! there are valid cells to calculate a |
! there are valid cells to calculate a |
40 |
! slope-limited 2nd order flux |
! slope-limited 2nd order flux |
41 |
_RL SLOPE_LIMITER |
_RL SLOPE_LIMITER |
42 |
_RL total_vol_out |
! _RL total_vol_out |
43 |
external SLOPE_LIMITER |
external SLOPE_LIMITER |
44 |
|
|
45 |
total_vol_out = 0.0 |
! total_vol_out = 0.0 |
46 |
|
|
47 |
DO bj=myByLo(myThid),myByHi(myThid) |
DO bj=myByLo(myThid),myByHi(myThid) |
48 |
DO bi=myBxLo(myThid),myBxHi(myThid) |
DO bi=myBxLo(myThid),myBxHi(myThid) |
124 |
|
|
125 |
ENDIF |
ENDIF |
126 |
|
|
127 |
if (streamice_ufacemask(i,j,bi,bj).eq.2.0) THEN |
! if (streamice_ufacemask(i,j,bi,bj).eq.2.0) THEN |
128 |
total_vol_out = total_vol_out + |
! total_vol_out = total_vol_out + |
129 |
& hflux_x (i,j,bi,bj) * time_step |
! & hflux_x (i,j,bi,bj) * time_step |
130 |
ENDIF |
! ENDIF |
131 |
|
|
132 |
ENDIF |
ENDIF |
133 |
ENDDO |
ENDDO |