7 |
c modified for cfc: swd Sep 2003 |
c modified for cfc: swd Sep 2003 |
8 |
C |
C |
9 |
|
|
|
#include "CPP_OPTIONS.h" |
|
10 |
#include "GCHEM_OPTIONS.h" |
#include "GCHEM_OPTIONS.h" |
11 |
|
|
12 |
CStartOfInterFace |
CStartOfInterFace |
27 |
#include "PARAMS.h" |
#include "PARAMS.h" |
28 |
#include "GRID.h" |
#include "GRID.h" |
29 |
#include "CFC.h" |
#include "CFC.h" |
30 |
|
#include "GCHEM.h" |
31 |
|
#include "PTRACERS_SIZE.h" |
32 |
|
#include "PTRACERS.h" |
33 |
|
|
34 |
C == Routine arguments == |
C == Routine arguments == |
35 |
INTEGER myIter |
INTEGER myIter |
48 |
INTEGER myYear, lastYear, thisYear |
INTEGER myYear, lastYear, thisYear |
49 |
_RL dtinc, aWght, bWght |
_RL dtinc, aWght, bWght |
50 |
_RL ACFC11north, ACFC11south |
_RL ACFC11north, ACFC11south |
51 |
_RL maxYear |
INTEGER maxYear |
52 |
_RL a1, a2 |
_RL a1, a2 |
53 |
_RL yNorth, ySouth |
_RL yNorth, ySouth |
54 |
|
|
60 |
ENDDO |
ENDDO |
61 |
|
|
62 |
c find atmospheric CFC |
c find atmospheric CFC |
63 |
myYear=float(myIter-nIter0)*deltaTclock |
myYear=float(myIter-PTRACERS_Iter0)*deltaTclock |
64 |
& /(360.d0*24.d0*3600.d0) |
& /(360.d0*24.d0*3600.d0) |
65 |
lastYear=1+int(myYear+0.5) |
lastYear=1+int(myYear+0.5) |
66 |
thisYear=lastYear+1 |
thisYear=lastYear+1 |
76 |
ACFC11south = ACFC11(lastYear,2)*bWght |
ACFC11south = ACFC11(lastYear,2)*bWght |
77 |
& + ACFC11(thisYear,2)*aWght |
& + ACFC11(thisYear,2)*aWght |
78 |
else |
else |
79 |
ACFC11north = ACFC11(thisYear,1) |
ACFC11north = ACFC11(maxYear,1) |
80 |
ACFC11south = ACFC11(thisYear,1) |
ACFC11south = ACFC11(maxYear,2) |
81 |
endif |
endif |
82 |
c print*,'ACFC11north,ACFC11south', ACFC11north,ACFC11south, |
c print*,'ACFC11north,ACFC11south', ACFC11north,ACFC11south, |
83 |
c & lastYear,thisYear |
c & lastYear,thisYear |