/[MITgcm]/MITgcm/pkg/dic/dic_surfforcing.F
ViewVC logotype

Diff of /MITgcm/pkg/dic/dic_surfforcing.F

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

revision 1.8 by stephd, Fri Aug 6 19:50:52 2004 UTC revision 1.10 by stephd, Fri Dec 16 21:07:53 2005 UTC
# Line 75  C PRE-INDUSTRIAL STEADY STATE pCO2 = 278 Line 75  C PRE-INDUSTRIAL STEADY STATE pCO2 = 278
75    
76  C =================================================================  C =================================================================
77  C determine inorganic carbon chem coefficients  C determine inorganic carbon chem coefficients
78          DO j=1-OLy,sNy+OLy          DO j=jmin,jmax
79           DO i=1-OLx,sNx+OLx           DO i=imin,imax
80    
81  #ifdef DIC_BIOTIC  #ifdef DIC_BIOTIC
82  cQQQQ check ptracer numbers  cQQQQ check ptracer numbers
# Line 101  C======================================= Line 101  C=======================================
101    
102  c pCO2 solver...  c pCO2 solver...
103  C$TAF LOOP = parallel  C$TAF LOOP = parallel
104         DO j=1-OLy,sNy+OLy         DO j=jmin,jmax
105  C$TAF LOOP = parallel  C$TAF LOOP = parallel
106          DO i=1-OLx,sNx+OLx          DO i=imin,imax
107    
108            IF(maskC(i,j,kLev,bi,bj) .NE. 0.)THEN            IF(maskC(i,j,kLev,bi,bj) .NE. 0.)THEN
109              CALL CALC_PCO2_APPROX(              CALL CALC_PCO2_APPROX(
# Line 122  C$TAF LOOP = parallel Line 122  C$TAF LOOP = parallel
122          ENDDO          ENDDO
123         ENDDO         ENDDO
124    
125         DO j=1-OLy,sNy+OLy         DO j=jmin,jmax
126          DO i=1-OLx,sNx+OLx          DO i=imin,imax
127    
128              IF (maskC(i,j,kLev,bi,bj).NE.0.) THEN              IF (maskC(i,j,kLev,bi,bj).NE.0.) THEN
129  C calculate SCHMIDT NO. for CO2  C calculate SCHMIDT NO. for CO2
# Line 146  c  account for schmidt number and and va Line 146  c  account for schmidt number and and va
146  c OR use a constant  coeff  c OR use a constant  coeff
147  c             Kwexch(i,j) = 5e-5  c             Kwexch(i,j) = 5e-5
148  c ice influence  c ice influence
149  cQQ           Kwexch(i,j)  =(1.d0-Fice(i,j,bi,bj))*Kwexch(i,j)                Kwexch(i,j)  =(1.d0-Fice(i,j,bi,bj))*Kwexch(i,j)
150    
151    
152  C Calculate flux in terms of DIC units using K0, solubility  C Calculate flux in terms of DIC units using K0, solubility
# Line 184  c Line 184  c
184           ENDDO           ENDDO
185    
186  C update tendency        C update tendency      
187           DO j=1-OLy,sNy+OLy           DO j=jmin,jmax
188            DO i=1-OLx,sNx+OLx            DO i=imin,imax
189             GDC(i,j)= maskC(i,j,kLev,bi,bj)*recip_drF(kLev)*(             GDC(i,j)= maskC(i,j,kLev,bi,bj)*recip_drF(kLev)*
190         &                     recip_hFacC(i,j,kLev,bi,bj)*(
191       &                    FluxCO2(i,j,bi,bj) + VirtualFlux(i,j)       &                    FluxCO2(i,j,bi,bj) + VirtualFlux(i,j)
192       &                                              )       &                                              )
193            ENDDO            ENDDO

Legend:
Removed from v.1.8  
changed lines
  Added in v.1.10

  ViewVC Help
Powered by ViewVC 1.1.22