/[MITgcm]/MITgcm/pkg/seaice/seaice_tracer_phys.F
ViewVC logotype

Diff of /MITgcm/pkg/seaice/seaice_tracer_phys.F

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

revision 1.9 by gforget, Thu Dec 27 23:05:47 2012 UTC revision 1.11 by torge, Sat Aug 23 20:22:16 2014 UTC
# Line 15  C     *================================= Line 15  C     *=================================
15  C     === Global variables ===  C     === Global variables ===
16  #include "SIZE.h"  #include "SIZE.h"
17  #include "EEPARAMS.h"  #include "EEPARAMS.h"
18    #include "PARAMS.h"
19  #include "FFIELDS.h"  #include "FFIELDS.h"
20  #include "DYNVARS.h"  #include "DYNVARS.h"
21  #include "SEAICE_SIZE.h"  #include "SEAICE_SIZE.h"
# Line 89  c ================================== Line 90  c ==================================
90          DIAGarray(I,J,5+(iTr-1)*5) =          DIAGarray(I,J,5+(iTr-1)*5) =
91       &    HEFFprev*SItracer(i,j,bi,bj,iTr) + SItrBucket(i,j,bi,bj,iTr)       &    HEFFprev*SItracer(i,j,bi,bj,iTr) + SItrBucket(i,j,bi,bj,iTr)
92  #endif  #endif
93  c apply the sequence of thermodynamics increments to actual traceur  c apply the sequence of thermodynamics increments to actual tracer
94  c (see seaice_growth.F)  c (see seaice_growth.F)
95  c (jTh=1 tendency due to ice-ocean interaction)  c (jTh=1 tendency due to ice-ocean interaction)
96  c (jTh=2 tendency due to the atmosphere, over ice covered part)  c (jTh=2 tendency due to the atmosphere, over ice covered part)
# Line 190  c ice melt reduces ridges/roughness Line 191  c ice melt reduces ridges/roughness
191  c 3) ice-ocean tracer exchange/mapping to external variables  c 3) ice-ocean tracer exchange/mapping to external variables
192  c ==========================================================  c ==========================================================
193  #ifdef ALLOW_DIAGNOSTICS  #ifdef ALLOW_DIAGNOSTICS
194        if (SItrMate(iTr).EQ.'HEFF') then        IF ( useDiagnostics .AND. SItrMate(iTr).EQ.'HEFF') THEN
195          WRITE(diagName,'(A4,I2.2,A2)') 'SItr',iTr,'Fx'          WRITE(diagName,'(A4,I2.2,A2)') 'SItr',iTr,'Fx'
196          tmpscal1=-ONE/SEAICE_deltaTtherm*SEAICE_rhoIce          tmpscal1=-ONE/SEAICE_deltaTtherm*SEAICE_rhoIce
197          CALL DIAGNOSTICS_SCALE_FILL(SItrBucket(1-OLx,1-OLy,bi,bj,iTr),          CALL DIAGNOSTICS_SCALE_FILL(SItrBucket(1-OLx,1-OLy,bi,bj,iTr),
198       &   tmpscal1, 1, diagName,0,1,2,bi,bj,myThid)       &   tmpscal1, 1, diagName,0,1,2,bi,bj,myThid)
199        endif        ENDIF
200  #endif  #endif
201    
202        if ( (SItrName(iTr).EQ.'salinity').AND.        if ( (SItrName(iTr).EQ.'salinity').AND.
# Line 222  c should work for both constant and vari Line 223  c should work for both constant and vari
223       &  *HEFFM(I,J,bi,bj)/SEAICE_deltaTtherm*SEAICE_rhoIce       &  *HEFFM(I,J,bi,bj)/SEAICE_deltaTtherm*SEAICE_rhoIce
224  #endif  #endif
225  c empty bucket  c empty bucket
226          SItrBucket(i,j,bi,bj,iTr)=0. _d 0  c  but not for 'grease' (see seaice_growth.F)
227            if (SItrName(iTr).NE.'grease')
228         &      SItrBucket(i,j,bi,bj,iTr)=0. _d 0
229         ENDDO         ENDDO
230        ENDDO        ENDDO
231    

Legend:
Removed from v.1.9  
changed lines
  Added in v.1.11

  ViewVC Help
Powered by ViewVC 1.1.22