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

Annotation 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.3 - (hide annotations) (download)
Wed Apr 6 18:33:04 2005 UTC (19 years, 1 month ago) by jmc
Branch: MAIN
CVS Tags: checkpoint57t_post, checkpoint58l_post, checkpoint57o_post, checkpoint58e_post, checkpoint57v_post, checkpoint58u_post, checkpoint57f_post, checkpoint57s_post, checkpoint57k_post, checkpoint57g_post, checkpoint58r_post, checkpoint57i_post, checkpoint57y_post, checkpoint58g_post, checkpoint57x_post, checkpoint57m_post, checkpoint58n_post, checkpoint58x_post, checkpoint57g_pre, checkpoint58t_post, checkpoint58h_post, checkpoint58w_post, checkpoint58j_post, checkpoint57h_post, checkpoint57y_pre, checkpoint58q_post, checkpoint59a, checkpoint59c, checkpoint59b, checkpoint57r_post, checkpoint59, checkpoint58, checkpoint57h_done, checkpoint58f_post, checkpoint57n_post, checkpoint58d_post, checkpoint58c_post, checkpoint57w_post, checkpoint57p_post, checkpint57u_post, checkpoint58a_post, checkpoint58i_post, checkpoint57q_post, checkpoint58o_post, checkpoint57z_post, checkpoint58y_post, checkpoint58k_post, checkpoint58v_post, checkpoint58s_post, checkpoint58p_post, checkpoint57j_post, checkpoint58b_post, checkpoint57h_pre, checkpoint58m_post, checkpoint57l_post
Changes since 1.2: +2 -2 lines
use baseTime as time origin ; DIFF_BASE_MULTIPLE replaces DIFFERENT_MULTIPLE

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

  ViewVC Help
Powered by ViewVC 1.1.22