2 |
#include "PTRACERS_OPTIONS.h" |
#include "PTRACERS_OPTIONS.h" |
3 |
#include "GCHEM_OPTIONS.h" |
#include "GCHEM_OPTIONS.h" |
4 |
|
|
5 |
CStartOfInterFace |
CBOP |
6 |
|
C !ROUTINE: DIC_SURFFORCING |
7 |
|
|
8 |
|
C !INTERFACE: ========================================================== |
9 |
SUBROUTINE DIC_SURFFORCING( PTR_CO2 , GDC, |
SUBROUTINE DIC_SURFFORCING( PTR_CO2 , GDC, |
10 |
I bi,bj,imin,imax,jmin,jmax, |
I bi,bj,imin,imax,jmin,jmax, |
11 |
I myIter,myTime,myThid) |
I myIter,myTime,myThid) |
12 |
|
|
13 |
C /==========================================================\ |
C !DESCRIPTION: |
14 |
C | SUBROUTINE DIC_SURFFORCING | |
C Calculate the carbon air-sea flux terms |
15 |
C | o Calculate the carbon air-sea flux terms | |
C following external_forcing_dic.F (OCMIP run) from Mick |
|
C | o following external_forcing_dic.F from Mick | |
|
|
C |==========================================================| |
|
|
IMPLICIT NONE |
|
16 |
|
|
17 |
C == GLobal variables == |
C !USES: =============================================================== |
18 |
|
IMPLICIT NONE |
19 |
#include "SIZE.h" |
#include "SIZE.h" |
20 |
#include "DYNVARS.h" |
#include "DYNVARS.h" |
21 |
#include "EEPARAMS.h" |
#include "EEPARAMS.h" |
27 |
#include "PTRACERS.h" |
#include "PTRACERS.h" |
28 |
#endif |
#endif |
29 |
|
|
30 |
C == Routine arguments == |
C !INPUT PARAMETERS: =================================================== |
31 |
|
C myThid :: thread number |
32 |
|
C myIter :: current timestep |
33 |
|
C myTime :: current time |
34 |
|
c PTR_CO2 :: DIC tracer field |
35 |
INTEGER myIter, myThid |
INTEGER myIter, myThid |
36 |
_RL myTime |
_RL myTime |
37 |
_RL PTR_CO2(1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr) |
_RL PTR_CO2(1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr) |
|
_RL GDC(1-OLx:sNx+OLx,1-OLy:sNy+OLy) |
|
38 |
INTEGER iMin,iMax,jMin,jMax, bi, bj |
INTEGER iMin,iMax,jMin,jMax, bi, bj |
39 |
|
|
40 |
|
C !OUTPUT PARAMETERS: =================================================== |
41 |
|
c GDC :: tendency term due to air-sea exchange |
42 |
|
_RL GDC(1-OLx:sNx+OLx,1-OLy:sNy+OLy) |
43 |
|
|
44 |
#ifdef ALLOW_PTRACERS |
#ifdef ALLOW_PTRACERS |
45 |
C == Local variables == |
|
46 |
|
C !LOCAL VARIABLES: ==================================================== |
47 |
INTEGER I,J, kLev, it |
INTEGER I,J, kLev, it |
48 |
C Number of iterations for pCO2 solvers... |
C Number of iterations for pCO2 solvers... |
49 |
C Solubility relation coefficients |
C Solubility relation coefficients |
55 |
_RL surfphos(1-OLx:sNx+OLx,1-OLy:sNy+OLy) |
_RL surfphos(1-OLx:sNx+OLx,1-OLy:sNy+OLy) |
56 |
_RL surfsi(1-OLx:sNx+OLx,1-OLy:sNy+OLy) |
_RL surfsi(1-OLx:sNx+OLx,1-OLy:sNy+OLy) |
57 |
_RL VirtualFlux(1-OLx:sNx+OLx,1-OLy:sNy+OLy) |
_RL VirtualFlux(1-OLx:sNx+OLx,1-OLy:sNy+OLy) |
58 |
|
CEOP |
59 |
|
|
60 |
cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc |
cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc |
61 |
|
|