1 |
|
C $Header$ |
2 |
|
C $Name$ |
3 |
|
|
4 |
C modified for external_forcing_DIC.F August 1999 |
C modified for external_forcing_DIC.F August 1999 |
|
CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC |
|
5 |
c |
c |
6 |
c modified swd Oct 01 and Feb 02, for use as package for c40_patch1 |
c modified swd Oct 01 and Feb 02, for use as package for c40_patch1 |
7 |
c modified to use with c44 and ptracers: swd May 2002 |
c modified to use with c44 and ptracers: swd May 2002 |
10 |
C |
C |
11 |
|
|
12 |
#include "GCHEM_OPTIONS.h" |
#include "GCHEM_OPTIONS.h" |
13 |
|
#define OCMIP_GRAD |
14 |
|
#undef STEPH_GRAD |
15 |
|
|
16 |
CStartOfInterFace |
CStartOfInterFace |
17 |
SUBROUTINE CFC11_FORCING( PTR_CFC11, GCFC11, |
SUBROUTINE CFC11_FORCING( PTR_CFC11, GCFC11, |
26 |
|
|
27 |
C == GLobal variables == |
C == GLobal variables == |
28 |
#include "SIZE.h" |
#include "SIZE.h" |
|
#include "DYNVARS.h" |
|
29 |
#include "EEPARAMS.h" |
#include "EEPARAMS.h" |
30 |
#include "PARAMS.h" |
#include "PARAMS.h" |
31 |
#include "GRID.h" |
#include "GRID.h" |
32 |
#include "CFC.h" |
#include "CFC.h" |
33 |
#include "GCHEM.h" |
c#include "GCHEM.h" |
34 |
#include "PTRACERS_SIZE.h" |
#include "PTRACERS_SIZE.h" |
35 |
#include "PTRACERS.h" |
#include "PTRACERS.h" |
36 |
|
|
51 |
INTEGER myYear, lastYear, thisYear |
INTEGER myYear, lastYear, thisYear |
52 |
_RL dtinc, aWght, bWght |
_RL dtinc, aWght, bWght |
53 |
_RL ACFC11north, ACFC11south |
_RL ACFC11north, ACFC11south |
54 |
_RL maxYear |
INTEGER maxYear |
55 |
|
#ifdef STEPH_GRAD |
56 |
_RL a1, a2 |
_RL a1, a2 |
57 |
|
#endif |
58 |
_RL yNorth, ySouth |
_RL yNorth, ySouth |
59 |
|
|
60 |
|
|
64 |
ENDDO |
ENDDO |
65 |
ENDDO |
ENDDO |
66 |
|
|
67 |
c find atmospheric CFC |
C find atmospheric CFC |
68 |
myYear=float(myIter-PTRACERS_Iter0)*deltaTclock |
myYear=float(myIter-PTRACERS_Iter0)*deltaTclock |
69 |
& /(360.d0*24.d0*3600.d0) |
& /(360.d0*24.d0*3600.d0) |
70 |
lastYear=1+int(myYear+0.5) |
lastYear=1+int(myYear+0.5) |
82 |
& + ACFC11(thisYear,2)*aWght |
& + ACFC11(thisYear,2)*aWght |
83 |
else |
else |
84 |
ACFC11north = ACFC11(maxYear,1) |
ACFC11north = ACFC11(maxYear,1) |
85 |
ACFC11south = ACFC11(maxYear,1) |
ACFC11south = ACFC11(maxYear,2) |
86 |
endif |
endif |
87 |
c print*,'ACFC11north,ACFC11south', ACFC11north,ACFC11south, |
c print*,'ACFC11north,ACFC11south', ACFC11north,ACFC11south, |
88 |
c & lastYear,thisYear |
c & lastYear,thisYear |
89 |
c provide gradient between N and S values |
C provide gradient between N and S values |
90 |
#define OCMIP_GRAD |
|
91 |
#undef STEPH_GRAD |
C STEPH'S INITIAL VERSION |
|
c STEPH'S INITIAL VERSION |
|
92 |
#ifdef STEPH_GRAD |
#ifdef STEPH_GRAD |
93 |
DO j=1-OLy,sNy+OLy |
DO j=1-OLy,sNy+OLy |
94 |
DO i=1-OLx,sNx+OLx |
DO i=1-OLx,sNx+OLx |
129 |
c print*,'QQ cfc11', j, ATMOSCFC11(1,j,bi,bj) |
c print*,'QQ cfc11', j, ATMOSCFC11(1,j,bi,bj) |
130 |
ENDDO |
ENDDO |
131 |
#endif |
#endif |
132 |
c cfc11 air-sea interaction |
C cfc11 air-sea interaction |
133 |
CALL CFC11_SURFFORCING( PTR_CFC11, SURCFC11, |
CALL CFC11_SURFFORCING( PTR_CFC11, SURCFC11, |
134 |
& bi,bj,imin,imax,jmin,jmax, |
& bi,bj,imin,imax,jmin,jmax, |
135 |
& myIter,myTime,myThid) |
& myIter,myTime,myThid) |
143 |
#endif |
#endif |
144 |
#endif |
#endif |
145 |
|
|
|
c |
|
146 |
RETURN |
RETURN |
147 |
END |
END |