1 |
#include "CPP_OPTIONS.h" |
C $Header$ |
2 |
|
C $Name$ |
3 |
|
|
4 |
|
#include "DIC_OPTIONS.h" |
5 |
#include "PTRACERS_OPTIONS.h" |
#include "PTRACERS_OPTIONS.h" |
6 |
#include "GCHEM_OPTIONS.h" |
#include "GCHEM_OPTIONS.h" |
7 |
|
|
8 |
CStartOfInterFace |
CBOP |
9 |
|
C !ROUTINE: DIC_SURFFORCING |
10 |
|
|
11 |
|
C !INTERFACE: ========================================================== |
12 |
SUBROUTINE DIC_SURFFORCING( PTR_CO2 , GDC, |
SUBROUTINE DIC_SURFFORCING( PTR_CO2 , GDC, |
13 |
I bi,bj,imin,imax,jmin,jmax, |
I bi,bj,imin,imax,jmin,jmax, |
14 |
I myIter,myTime,myThid) |
I myIter,myTime,myThid) |
15 |
|
|
16 |
C /==========================================================\ |
C !DESCRIPTION: |
17 |
C | SUBROUTINE DIC_SURFFORCING | |
C Calculate the carbon air-sea flux terms |
18 |
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 |
|
19 |
|
|
20 |
C == GLobal variables == |
C !USES: =============================================================== |
21 |
|
IMPLICIT NONE |
22 |
#include "SIZE.h" |
#include "SIZE.h" |
23 |
#include "DYNVARS.h" |
#include "DYNVARS.h" |
24 |
#include "EEPARAMS.h" |
#include "EEPARAMS.h" |
27 |
#include "FFIELDS.h" |
#include "FFIELDS.h" |
28 |
#include "DIC_ABIOTIC.h" |
#include "DIC_ABIOTIC.h" |
29 |
#ifdef DIC_BIOTIC |
#ifdef DIC_BIOTIC |
30 |
|
#include "PTRACERS_SIZE.h" |
31 |
#include "PTRACERS.h" |
#include "PTRACERS.h" |
32 |
#endif |
#endif |
33 |
|
|
34 |
C == Routine arguments == |
C !INPUT PARAMETERS: =================================================== |
35 |
|
C myThid :: thread number |
36 |
|
C myIter :: current timestep |
37 |
|
C myTime :: current time |
38 |
|
c PTR_CO2 :: DIC tracer field |
39 |
INTEGER myIter, myThid |
INTEGER myIter, myThid |
40 |
_RL myTime |
_RL myTime |
41 |
_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) |
|
42 |
INTEGER iMin,iMax,jMin,jMax, bi, bj |
INTEGER iMin,iMax,jMin,jMax, bi, bj |
43 |
|
|
44 |
|
C !OUTPUT PARAMETERS: =================================================== |
45 |
|
c GDC :: tendency term due to air-sea exchange |
46 |
|
_RL GDC(1-OLx:sNx+OLx,1-OLy:sNy+OLy) |
47 |
|
|
48 |
#ifdef ALLOW_PTRACERS |
#ifdef ALLOW_PTRACERS |
49 |
C == Local variables == |
|
50 |
|
C !LOCAL VARIABLES: ==================================================== |
51 |
INTEGER I,J, kLev, it |
INTEGER I,J, kLev, it |
52 |
C Number of iterations for pCO2 solvers... |
C Number of iterations for pCO2 solvers... |
53 |
C Solubility relation coefficients |
C Solubility relation coefficients |
59 |
_RL surfphos(1-OLx:sNx+OLx,1-OLy:sNy+OLy) |
_RL surfphos(1-OLx:sNx+OLx,1-OLy:sNy+OLy) |
60 |
_RL surfsi(1-OLx:sNx+OLx,1-OLy:sNy+OLy) |
_RL surfsi(1-OLx:sNx+OLx,1-OLy:sNy+OLy) |
61 |
_RL VirtualFlux(1-OLx:sNx+OLx,1-OLy:sNy+OLy) |
_RL VirtualFlux(1-OLx:sNx+OLx,1-OLy:sNy+OLy) |
62 |
|
CEOP |
63 |
|
|
64 |
cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc |
cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc |
65 |
|
|