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

Annotation of /MITgcm/pkg/atm_compon_interf/atm_store_fracice.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: checkpoint64i, checkpoint64h, checkpoint64k, checkpoint64j, checkpoint64m, checkpoint64l, checkpoint64n, checkpoint64a, checkpoint64c, checkpoint64b, checkpoint64e, checkpoint64d, checkpoint64g, checkpoint64f, checkpoint63p, checkpoint63q, checkpoint63r, checkpoint63s, checkpoint63l, checkpoint63m, checkpoint63n, checkpoint63o, checkpoint63h, checkpoint63i, checkpoint63j, checkpoint63k, checkpoint63d, checkpoint63e, checkpoint63f, checkpoint63g, checkpoint63a, checkpoint63b, checkpoint63c, checkpoint64, checkpoint60, checkpoint61, checkpoint62, checkpoint63, checkpoint59q, checkpoint59p, checkpoint59r, checkpoint59e, checkpoint59d, checkpoint59g, checkpoint59f, checkpoint59m, checkpoint59l, checkpoint59o, checkpoint59n, checkpoint59i, checkpoint59h, checkpoint59k, checkpoint59j, checkpoint62c, checkpoint62b, checkpoint62a, checkpoint62g, checkpoint62f, checkpoint62e, checkpoint62d, checkpoint62k, checkpoint62j, checkpoint62i, checkpoint62h, checkpoint62o, checkpoint62n, checkpoint62m, checkpoint62l, checkpoint62s, checkpoint62r, checkpoint62q, checkpoint62p, checkpoint62w, checkpoint62v, checkpoint62u, checkpoint62t, checkpoint62z, checkpoint62y, checkpoint62x, checkpoint61f, checkpoint61g, checkpoint61d, checkpoint61e, checkpoint61b, checkpoint61c, checkpoint61a, checkpoint61n, checkpoint61o, checkpoint61l, checkpoint61m, checkpoint61j, checkpoint61k, checkpoint61h, checkpoint61i, checkpoint61v, checkpoint61w, checkpoint61t, checkpoint61u, checkpoint61r, checkpoint61s, checkpoint61p, checkpoint61q, checkpoint61z, checkpoint61x, checkpoint61y
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_FRACICE
9     C !INTERFACE:
10     SUBROUTINE ATM_STORE_FRACICE( bi,bj,
11     I myTime, myIter, myThid )
12    
13     C !DESCRIPTION: \bv
14     C *==========================================================*
15     C | SUBROUTINE ATM_STORE_FRACICE
16     C | o Routine for saving atmos. Sea-Ice Fraction from thSIce
17     C | pkg for export to coupling layer.
18     C *==========================================================*
19     C | This version interfaces to the THSICE 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     #ifdef ALLOW_THSICE
33     #include "THSICE_PARAMS.h"
34     #include "THSICE_VARS.h"
35     #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_THSICE
52     C == Local variables ==
53     C i,j :: Loop counters
54     INTEGER i,j
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     fracIceTime(bi,bj) = fracIceTime(bi,bj) + cplTimeFraction
61     DO j=1,sNy
62     DO i=1,sNx
63     fracIce(i,j,bi,bj) = fracIce(i,j,bi,bj)
64     & + iceMask(i,j,bi,bj)*cplTimeFraction
65     ENDDO
66     ENDDO
67    
68     #endif /* ALLOW_THSICE */
69    
70     RETURN
71     END

  ViewVC Help
Powered by ViewVC 1.1.22