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

Contents of /MITgcm/pkg/aim_compon_interf/cpl_ini_vars.F

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


Revision 1.4 - (show annotations) (download)
Mon Jun 18 21:28:53 2007 UTC (16 years, 10 months ago) by jmc
Branch: MAIN
CVS Tags: 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
Changes since 1.3: +35 -20 lines
import/export fields needed for DIC from/to Coupler interface

1 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 C $Name: $
3
4 #include "CPP_OPTIONS.h"
5
6 CBOP
7 C !ROUTINE: CPL_INI_VARS
8 C !INTERFACE:
9 SUBROUTINE CPL_INI_VARS( myThid )
10
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 IMPLICIT NONE
27
28 C == Global variables ==
29 #include "SIZE.h"
30 #include "EEPARAMS.h"
31 #include "PARAMS.h"
32 #include "GRID.h"
33 #include "CPL_PARAMS.h"
34 #include "ATMCPL.h"
35
36 C !INPUT/OUTPUT PARAMETERS:
37 C == Routine arguments ==
38 C myThid :: Thread number for this instance of the routine
39 INTEGER myThid
40 CEOP
41
42 #ifdef COMPONENT_MODULE
43 C == Local variables ==
44 C I,J,bi,bj :: Loop counters
45 INTEGER I,J,bi,bj
46
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 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 EvMPrFlux( I,J,bi,bj) = 0.
63 RunOffFlux(I,J,bi,bj) = 0.
64 RunOffEnFx(I,J,bi,bj) = 0.
65 iceSaltFlx(I,J,bi,bj) = 0.
66 seaIceMass(I,J,bi,bj) = 0.
67 airCO2 (I,J,bi,bj) = 0.
68 sWSpeed (I,J,bi,bj) = 0.
69 fracIce (I,J,bi,bj) = 0.
70 C- Import field
71 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 ENDDO
77 ENDDO
78 atmSLPrTime(bi,bj) = 0.
79 HeatFluxTime(bi,bj) = 0.
80 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 EvMPrTime(bi,bj) = 0.
89 RunOffTime(bi,bj) = 0.
90 ROEnFxTime(bi,bj) = 0.
91 saltFxTime(bi,bj) = 0.
92 seaIceTime(bi,bj) = 0.
93 airCO2Time(bi,bj) = 0.
94 sWSpeedTime(bi,bj) = 0.
95 fracIceTime(bi,bj) = 0.
96 ENDDO
97 ENDDO
98
99 IF ( startTime .NE. baseTime .OR. nIter0 .NE. 0 ) THEN
100 CALL ATM_CPL_READ_PICKUP( nIter0, myThid )
101 ENDIF
102
103 #endif /* COMPONENT_MODULE */
104
105 RETURN
106 END

  ViewVC Help
Powered by ViewVC 1.1.22