/[MITgcm]/MITgcm/pkg/atm_compon_interf/atm_store_airco2.F
ViewVC logotype

Annotation of /MITgcm/pkg/atm_compon_interf/atm_store_airco2.F

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


Revision 1.1 - (hide annotations) (download)
Mon Jun 18 21:28:52 2007 UTC (16 years, 11 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint60, checkpoint61, checkpoint59q, checkpoint59p, checkpoint59r, checkpoint59e, checkpoint59d, checkpoint59g, checkpoint59f, checkpoint59m, checkpoint59l, checkpoint59o, checkpoint59n, checkpoint59i, checkpoint59h, checkpoint59k, checkpoint59j, checkpoint61f, checkpoint61g, checkpoint61d, checkpoint61e, checkpoint61b, checkpoint61c, checkpoint61a
import/export fields needed for DIC from/to Coupler interface

1 jmc 1.1 C $Header: /u/gcmpack/MITgcm/pkg/aim_compon_interf/atm_store_seaice.F,v 1.1 2004/05/21 19:59:38 jmc Exp $
2     C $Name: $
3    
4     #include "PACKAGES_CONFIG.h"
5     #include "CPP_OPTIONS.h"
6    
7     CBOP
8     C !ROUTINE: ATM_STORE_AIRCO2
9     C !INTERFACE:
10     SUBROUTINE ATM_STORE_AIRCO2( bi,bj,
11     I myTime, myIter, myThid )
12    
13     C !DESCRIPTION: \bv
14     C *==========================================================*
15     C | SUBROUTINE ATM_STORE_AIRCO2
16     C | o Routine for saving atmos. CO2 concentration from ??? pkg
17     C | for export to coupling layer.
18     C *==========================================================*
19     C | This version interfaces to the ??? package.
20     C *==========================================================*
21     C \ev
22    
23     C !USES:
24     IMPLICIT NONE
25    
26     C == Global variables ==
27     #include "SIZE.h"
28    
29     #include "EEPARAMS.h"
30     #include "PARAMS.h"
31     #include "CPL_PARAMS.h"
32     c#ifdef ALLOW_AIM
33     c#include "AIM_SIZE.h"
34     c#include "com_physvar.h"
35     c#endif
36     C == Global variables for coupling interface ==
37     #include "ATMCPL.h"
38    
39     C !INPUT/OUTPUT PARAMETERS:
40     C == Routine arguments ==
41     C bi,bj :: Tile indices
42     C myTime :: Current model time
43     C myIter :: Current timestep number
44     C myThid :: my Thread Id number
45     INTEGER bi, bj
46     _RL myTime
47     INTEGER myIter
48     INTEGER myThid
49     CEOP
50    
51     #ifdef ALLOW_AIM
52     C == Local variables ==
53     C i,j :: Loop counters
54     INTEGER i,j, ij
55     _RL cplTimeFraction
56    
57     C o Accumulate Sea-Ice Mass from thSIce pkg that will be exported
58     C to the coupling layer. seaIceMass is per surface unit, in kg/m2.
59     cplTimeFraction = 1. _d 0 / DFLOAT(cplSendFrq_iter)
60     airCO2Time(bi,bj) = airCO2Time(bi,bj) + cplTimeFraction
61     DO j=1,sNy
62     DO i=1,sNx
63     ij = i + (j-1)*sNx
64     airCO2(i,j,bi,bj) = airCO2(i,j,bi,bj)
65     c & + aim_CO2(ij,myThid)*cplTimeFraction
66     ENDDO
67     ENDDO
68    
69     #endif /* ALLOW_AIM */
70    
71     RETURN
72     END

  ViewVC Help
Powered by ViewVC 1.1.22