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

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

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


Revision 1.4 - (hide annotations) (download)
Mon Jun 18 21:28:53 2007 UTC (16 years, 11 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint64y, checkpoint64x, checkpoint64z, checkpoint64q, checkpoint64p, checkpoint64s, checkpoint64r, checkpoint64u, checkpoint64t, checkpoint64w, checkpoint64v, checkpoint64i, checkpoint64h, checkpoint64k, checkpoint64j, checkpoint64m, checkpoint64l, checkpoint64o, 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, checkpoint65, checkpoint60, checkpoint61, checkpoint62, checkpoint63, checkpoint65p, checkpoint65j, checkpoint65k, checkpoint65h, checkpoint65i, checkpoint65n, checkpoint65o, checkpoint65l, checkpoint65m, checkpoint65b, checkpoint65c, checkpoint65a, checkpoint65f, checkpoint65g, checkpoint65d, checkpoint65e, 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
Changes since 1.3: +35 -20 lines
import/export fields needed for DIC from/to Coupler interface

1 jmc 1.4 C $Header: /u/gcmpack/MITgcm/pkg/aim_compon_interf/cpl_ini_vars.F,v 1.3 2005/04/06 18:33:04 jmc Exp $
2 jmc 1.2 C $Name: $
3 jmc 1.1
4     #include "CPP_OPTIONS.h"
5    
6 jmc 1.4 CBOP
7     C !ROUTINE: CPL_INI_VARS
8     C !INTERFACE:
9 jmc 1.1 SUBROUTINE CPL_INI_VARS( myThid )
10 jmc 1.4
11     C !DESCRIPTION: \bv
12     C *==========================================================*
13     C | SUBROUTINE CPL_INI_VARS
14     C | o Initialisation routine for arrays that are used to
15     C | buffer data that interfaces to the coupling layer.
16     C | - Atmospheric version -
17     C *==========================================================*
18     C | For now this routine sets these arrays to the right
19     C | state for an initial start-up. Eventually it should
20     C | include some way to load this data from non-volatile
21     C | external storage if they are needed during a restart.
22     C *==========================================================*
23     C \ev
24    
25     C !USES:
26 jmc 1.1 IMPLICIT NONE
27    
28     C == Global variables ==
29     #include "SIZE.h"
30     #include "EEPARAMS.h"
31     #include "PARAMS.h"
32     #include "GRID.h"
33 jmc 1.2 #include "CPL_PARAMS.h"
34 jmc 1.1 #include "ATMCPL.h"
35    
36 jmc 1.4 C !INPUT/OUTPUT PARAMETERS:
37 jmc 1.1 C == Routine arguments ==
38 jmc 1.4 C myThid :: Thread number for this instance of the routine
39 jmc 1.1 INTEGER myThid
40 jmc 1.4 CEOP
41 jmc 1.1
42 jmc 1.2 #ifdef COMPONENT_MODULE
43 jmc 1.1 C == Local variables ==
44 jmc 1.4 C I,J,bi,bj :: Loop counters
45 jmc 1.2 INTEGER I,J,bi,bj
46 jmc 1.1
47     DO bj=myByLo(myThid),myByHi(myThid)
48     DO bi=myBxLo(myThid),myByLo(myThid)
49     DO J=1-Oly,sNy+Oly
50     DO I=1-Olx,sNx+Olx
51 jmc 1.2 C- Export field
52     atmSLPr( I,J,bi,bj) = 0.
53     HeatFlux( I,J,bi,bj) = 0.
54     qShortWave(I,J,bi,bj) = 0.
55     c qSensible( I,J,bi,bj) = 0.
56     c qLatent( I,J,bi,bj) = 0.
57     c qLongWave( I,J,bi,bj) = 0.
58     c uVelGround(I,J,bi,bj) = 0.
59     c vVelGround(I,J,bi,bj) = 0.
60     tauX( I,J,bi,bj) = 0.
61     tauY( I,J,bi,bj) = 0.
62 jmc 1.1 EvMPrFlux( I,J,bi,bj) = 0.
63     RunOffFlux(I,J,bi,bj) = 0.
64 jmc 1.2 RunOffEnFx(I,J,bi,bj) = 0.
65     iceSaltFlx(I,J,bi,bj) = 0.
66     seaIceMass(I,J,bi,bj) = 0.
67 jmc 1.4 airCO2 (I,J,bi,bj) = 0.
68     sWSpeed (I,J,bi,bj) = 0.
69     fracIce (I,J,bi,bj) = 0.
70 jmc 1.2 C- Import field
71 jmc 1.4 c ocMxlD (I,J,bi,bj) = 0.
72     SSTocn (I,J,bi,bj) = 0.
73     SSSocn (I,J,bi,bj) = 0.
74     vSqocn (I,J,bi,bj) = 0.
75     flxCO2ocn(I,J,bi,bj) = 0.
76 jmc 1.1 ENDDO
77     ENDDO
78 jmc 1.2 atmSLPrTime(bi,bj) = 0.
79 jmc 1.1 HeatFluxTime(bi,bj) = 0.
80 jmc 1.2 qShortwaveTime(bi,bj) = 0.
81     c qSensibleTime(bi,bj) = 0.
82     c qLatentTime(bi,bj) = 0.
83     c qLongwaveTime(bi,bj) = 0.
84     c uVelGroundTime(bi,bj) = 0.
85     c vVelGroundTime(bi,bj) = 0.
86     tauXTime(bi,bj) = 0.
87     tauYTime(bi,bj) = 0.
88 jmc 1.1 EvMPrTime(bi,bj) = 0.
89     RunOffTime(bi,bj) = 0.
90 jmc 1.2 ROEnFxTime(bi,bj) = 0.
91     saltFxTime(bi,bj) = 0.
92     seaIceTime(bi,bj) = 0.
93 jmc 1.4 airCO2Time(bi,bj) = 0.
94     sWSpeedTime(bi,bj) = 0.
95     fracIceTime(bi,bj) = 0.
96 jmc 1.1 ENDDO
97     ENDDO
98    
99 jmc 1.3 IF ( startTime .NE. baseTime .OR. nIter0 .NE. 0 ) THEN
100 jmc 1.2 CALL ATM_CPL_READ_PICKUP( nIter0, myThid )
101 jmc 1.1 ENDIF
102 jmc 1.2
103     #endif /* COMPONENT_MODULE */
104 jmc 1.1
105     RETURN
106     END

  ViewVC Help
Powered by ViewVC 1.1.22