1 |
#include "CPP_OPTIONS.h" |
2 |
#include "PTRACERS_OPTIONS.h" |
3 |
#include "GCHEM_OPTIONS.h" |
4 |
|
5 |
C !INTERFACE: ========================================================== |
6 |
SUBROUTINE GCHEM_FORCING_INT(bi,bj,iMin,iMax,jMin,jMax,k, |
7 |
& iTracer, myTime,myIter, myThid ) |
8 |
|
9 |
IMPLICIT NONE |
10 |
#include "SIZE.h" |
11 |
#include "GRID.h" |
12 |
#include "DYNVARS.h" |
13 |
#include "EEPARAMS.h" |
14 |
#include "PARAMS.h" |
15 |
#ifdef ALLOW_PTRACERS |
16 |
#include "PTRACERS.h" |
17 |
#endif |
18 |
|
19 |
C !INPUT PARAMETERS: =================================================== |
20 |
C myThid :: thread number |
21 |
INTEGER myThid, myIter |
22 |
_RL myTime |
23 |
INTEGER iTracer |
24 |
INTEGER bi,bj,imin,imax,jmin,jmax |
25 |
INTEGER i,j,k |
26 |
INTEGER niter |
27 |
|
28 |
#ifdef ALLOW_PTRACERS |
29 |
#ifdef ALLOW_GCHEM |
30 |
c |
31 |
|
32 |
ccccccccccccccccccccccccc |
33 |
c chemical forcing c |
34 |
ccccccccccccccccccccccccc |
35 |
ccccccccccccccccccccccccccc DIC cccccccccccccccccccccccccccccccc |
36 |
c |
37 |
#ifdef ALLOW_CFC |
38 |
if (iTracer.eq.1.and.k.eq.1) |
39 |
& call CFC11_Forcing( Ptracer(1-Olx,1-Oly,1,bi,bj,1), |
40 |
& gPtr(1-Olx,1-Oly,1,bi,bj,1), |
41 |
& bi,bj,imin,imax,jmin,jmax, |
42 |
& myIter,myTime,myThid) |
43 |
if (iTracer.eq.2.and.k.eq.1) |
44 |
& call CFC12_Forcing( Ptracer(1-Olx,1-Oly,1,bi,bj,2), |
45 |
& gPtr(1-Olx,1-Oly,1,bi,bj,2), |
46 |
& bi,bj,imin,imax,jmin,jmax, |
47 |
& myIter,myTime,myThid) |
48 |
#endif |
49 |
cccccccccccccccccccccccccc END DIC cccccccccccccccccccccccccccccccccc |
50 |
c |
51 |
#endif |
52 |
#endif /* ALLOW_PTRACERS */ |
53 |
|
54 |
RETURN |
55 |
END |