2 |
C $Name$ |
C $Name$ |
3 |
|
|
4 |
#include "GCHEM_OPTIONS.h" |
#include "GCHEM_OPTIONS.h" |
5 |
|
#ifdef ALLOW_DIC |
6 |
|
#include "DIC_OPTIONS.h" |
7 |
|
#endif |
8 |
|
|
9 |
CBOP |
CBOP |
10 |
C !ROUTINE: GCHEM_FORCING_SEP |
C !ROUTINE: GCHEM_FORCING_SEP |
26 |
#include "EEPARAMS.h" |
#include "EEPARAMS.h" |
27 |
#include "PARAMS.h" |
#include "PARAMS.h" |
28 |
#include "PTRACERS_SIZE.h" |
#include "PTRACERS_SIZE.h" |
|
c#include "PTRACERS_PARAMS.h" |
|
29 |
#include "PTRACERS_FIELDS.h" |
#include "PTRACERS_FIELDS.h" |
30 |
#ifdef ALLOW_DIC |
#ifdef ALLOW_DIC |
31 |
#include "DIC_BIOTIC.h" |
#include "DIC_VARS.h" |
|
#include "DIC_ABIOTIC.h" |
|
32 |
#endif /* ALLOW_DIC */ |
#endif /* ALLOW_DIC */ |
33 |
|
|
34 |
C !INPUT PARAMETERS: =================================================== |
C !INPUT PARAMETERS: =================================================== |
54 |
#ifdef ALLOW_DIC |
#ifdef ALLOW_DIC |
55 |
#ifdef ALLOW_OLD_VIRTUALFLUX |
#ifdef ALLOW_OLD_VIRTUALFLUX |
56 |
c find global surface averages |
c find global surface averages |
57 |
gsm_s = 0. |
gsm_s = 0. _d 0 |
58 |
gsm_dic = 0. |
gsm_dic = 0. _d 0 |
59 |
gsm_alk = 0. |
gsm_alk = 0. _d 0 |
60 |
call tracer_meanarea(myThid,salt, 1,gsm_s) |
call tracer_meanarea(salt, 1,gsm_s,myThid) |
61 |
call tracer_meanarea(myThid, |
call tracer_meanarea( |
62 |
& ptracer(1-Olx,1-Oly,1,1,1,1), 1, gsm_dic) |
& ptracer(1-Olx,1-Oly,1,1,1,1), 1, gsm_dic, myThid ) |
63 |
print*,'mean surface dic', gsm_dic,gsm_s |
print*,'mean surface dic', gsm_dic,gsm_s |
64 |
call tracer_meanarea(myThid, |
call tracer_meanarea( |
65 |
& ptracer(1-Olx,1-Oly,1,1,1,2), 1, gsm_alk) |
& ptracer(1-Olx,1-Oly,1,1,1,2), 1, gsm_alk, myThid ) |
66 |
#endif /* ALLOW_OLD_VIRTUALFLUX */ |
#endif /* ALLOW_OLD_VIRTUALFLUX */ |
67 |
#endif |
#endif |
68 |
ccccccccccccccccccccccccccccccccccccccccccc |
ccccccccccccccccccccccccccccccccccccccccccc |
82 |
iMax=sNx |
iMax=sNx |
83 |
c |
c |
84 |
ccccccccccccccccccccccccccc DIC cccccccccccccccccccccccccccccccc |
ccccccccccccccccccccccccccc DIC cccccccccccccccccccccccccccccccc |
85 |
c |
|
86 |
#ifdef ALLOW_DIC |
#ifdef ALLOW_DIC |
87 |
#ifdef ALLOW_FE |
#ifdef ALLOW_FE |
88 |
call DIC_BIOTIC_Forcing( Ptracer(1-Olx,1-Oly,1,bi,bj,1), |
call DIC_BIOTIC_Forcing( Ptracer(1-Olx,1-Oly,1,bi,bj,1), |
115 |
#endif |
#endif |
116 |
cccccccccccccccccccccccccc END DIC cccccccccccccccccccccccccccccccccc |
cccccccccccccccccccccccccc END DIC cccccccccccccccccccccccccccccccccc |
117 |
|
|
|
c |
|
118 |
ENDDO |
ENDDO |
119 |
ENDDO |
ENDDO |
120 |
|
|
121 |
#ifdef ALLOW_DIC |
#ifdef ALLOW_DIC |
122 |
CALL DIC_ATMOS( 1, myTime, myIter, myThid ) |
CALL DIC_ATMOS( 1, myTime, myIter, myThid ) |
123 |
|
CALL DIC_STORE_FLUXCO2( myTime, myIter, myThid ) |
124 |
#endif |
#endif |
125 |
|
|
126 |
#endif /* GCHEM_SEPARATE_FORCING */ |
#endif /* GCHEM_SEPARATE_FORCING */ |