/[MITgcm]/MITgcm_contrib/dgoldberg/streamice/streamice_advect_thickness_x.F
ViewVC logotype

Diff of /MITgcm_contrib/dgoldberg/streamice/streamice_advect_thickness_x.F

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.2 by heimbach, Thu May 17 21:30:17 2012 UTC revision 1.4 by dgoldberg, Tue Sep 18 17:06:48 2012 UTC
# Line 39  C     LOCAL VARIABLES Line 39  C     LOCAL VARIABLES
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)
# Line 124  C        X DIRECTION AND 3 CELLS OUT IN Line 124  C        X DIRECTION AND 3 CELLS OUT IN
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
# Line 156  C     X-FLUXES AT CELL BOUNDARIES CALCUL Line 156  C     X-FLUXES AT CELL BOUNDARIES CALCUL
156         ENDDO         ENDDO
157        ENDDO        ENDDO
158    
159  !       PRINT *, "TOTAL VOLUME OUT: ", total_vol_out  
160                
161  #endif  #endif
162        RETURN        RETURN

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.4

  ViewVC Help
Powered by ViewVC 1.1.22