/[MITgcm]/MITgcm/pkg/gchem/gchem_forcing_int.F
ViewVC logotype

Contents of /MITgcm/pkg/gchem/gchem_forcing_int.F

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


Revision 1.1 - (show annotations) (download)
Mon Oct 6 20:06:52 2003 UTC (20 years, 8 months ago) by stephd
Branch: MAIN
CVS Tags: checkpoint51q_post, checkpoint52e_post, checkpoint51o_pre, checkpoint52c_post, checkpoint51n_post, checkpoint52i_pre, checkpoint52a_pre, checkpoint52b_post, branch-netcdf, checkpoint52e_pre, checkpoint51i_post, checkpoint52b_pre, checkpoint52, ecco_c52_e35, checkpoint52f_pre, checkpoint51t_post, checkpoint52a_post, checkpoint51l_pre, checkpoint52i_post, checkpoint51n_pre, checkpoint52f_post, checkpoint51j_post, checkpoint52d_post, checkpoint51r_post, checkpoint51h_pre, checkpoint51p_post, checkpoint52d_pre, checkpoint51i_pre, checkpoint51l_post, checkpoint51o_post, checkpoint51u_post, checkpoint52h_pre, checkpoint51f_post, hrcube_1, hrcube_2, checkpoint51k_post, checkpoint51m_post, checkpoint51s_post
Branch point for: netcdf-sm0, tg2-branch, branch-nonh, checkpoint51n_branch
additional files and modifications to make gchem more versatile

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

  ViewVC Help
Powered by ViewVC 1.1.22