/[MITgcm]/MITgcm/pkg/ebm/ebm_ini_vars.F
ViewVC logotype

Annotation of /MITgcm/pkg/ebm/ebm_ini_vars.F

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


Revision 1.2 - (hide annotations) (download)
Wed May 19 20:38:53 2004 UTC (20 years ago) by heimbach
Branch: MAIN
CVS Tags: checkpoint58l_post, checkpoint57t_post, checkpoint57o_post, checkpoint58e_post, checkpoint57v_post, checkpoint53d_post, checkpoint58u_post, checkpoint58w_post, checkpoint54a_pre, checkpoint57m_post, checkpoint55c_post, checkpoint54e_post, checkpoint57s_post, checkpoint54a_post, checkpoint53c_post, checkpoint57k_post, checkpoint55d_pre, checkpoint57d_post, checkpoint57g_post, checkpoint60, checkpoint61, checkpoint57b_post, checkpoint57c_pre, checkpoint58r_post, checkpoint55j_post, checkpoint56b_post, checkpoint57i_post, checkpoint57y_post, checkpoint57e_post, checkpoint55h_post, checkpoint58n_post, checkpoint58x_post, checkpoint57g_pre, checkpoint54b_post, checkpoint55b_post, checkpoint58t_post, checkpoint58h_post, checkpoint54d_post, checkpoint56c_post, checkpoint57y_pre, checkpoint55, checkpoint57f_pre, checkpoint57a_post, checkpoint54, checkpoint58q_post, checkpoint54f_post, checkpoint59q, checkpoint59p, checkpoint55g_post, checkpoint59r, checkpoint58j_post, checkpoint59e, checkpoint59d, checkpoint59g, checkpoint59f, checkpoint59a, checkpoint55f_post, checkpoint59c, checkpoint59b, checkpoint59m, checkpoint59l, checkpoint59o, checkpoint59n, checkpoint59i, checkpoint59h, checkpoint59k, checkpoint59j, checkpoint57r_post, checkpoint59, checkpoint58, checkpoint57a_pre, checkpoint55i_post, checkpoint57, checkpoint56, eckpoint57e_pre, checkpoint57h_done, checkpoint58f_post, checkpoint53g_post, checkpoint57x_post, checkpoint57n_post, checkpoint58d_post, checkpoint58c_post, checkpoint57w_post, checkpoint57p_post, checkpint57u_post, checkpoint57f_post, checkpoint58a_post, checkpoint58i_post, checkpoint57q_post, checkpoint58g_post, checkpoint58o_post, checkpoint57z_post, checkpoint57c_post, checkpoint58y_post, checkpoint55e_post, checkpoint58k_post, checkpoint58v_post, checkpoint53f_post, checkpoint55a_post, checkpoint53d_pre, checkpoint54c_post, checkpoint58s_post, checkpoint61f, checkpoint61g, checkpoint61d, checkpoint61e, checkpoint61b, checkpoint61c, checkpoint58p_post, checkpoint61a, checkpoint61l, checkpoint61j, checkpoint61k, checkpoint61h, checkpoint61i, checkpoint57j_post, checkpoint58b_post, checkpoint57h_pre, checkpoint58m_post, checkpoint57l_post, checkpoint57h_post, checkpoint56a_post, checkpoint55d_post
Changes since 1.1: +5 -5 lines
ebm package wasnt quite up to the parallel task.
Fixed that.

1 heimbach 1.2 C $Header: /u/gcmpack/MITgcm/pkg/ebm/ebm_ini_vars.F,v 1.1 2004/05/14 21:10:34 heimbach Exp $
2 heimbach 1.1 C $Name: $
3    
4     #include "EBM_OPTIONS.h"
5    
6     SUBROUTINE EBM_INI_VARS( myThid )
7     C |==========================================================|
8     C | S/R INITIALISE VARIABLES FOR EBM |
9     C |==========================================================|
10    
11     IMPLICIT NONE
12    
13     C === Global variables ===
14     #include "SIZE.h"
15     #include "EEPARAMS.h"
16     #include "PARAMS.h"
17     #include "DYNVARS.h"
18     #include "GRID.h"
19     #include "FFIELDS.h"
20     #ifdef ALLOW_EBM
21     # include "EBM.h"
22     #endif
23    
24     C === Routine arguments ===
25     C myThid - Instance number for this innvocation
26     INTEGER myThid
27    
28     CEndOfInterface
29     C == Local variables ==
30    
31     #ifdef ALLOW_EBM
32    
33     C I, J, K - Loop counters
34     INTEGER bi,bj,i,j,k
35     INTEGER iMin, iMax, jMin, jMax
36    
37     C-- initially all forcing fields are zero
38     DO bj = myByLo(myThid), myByHi(myThid)
39     DO bi = myBxLo(myThid), myBxHi(myThid)
40     DO j=1-OLy,sNy+OLy
41     DO i=1-OLx,sNx+OLx
42     Run (i,j,bi,bj) = 0.
43     winPert(i,j,bi,bj) = 0.
44     ENDDO
45     ENDDO
46     ENDDO
47     ENDDO
48    
49     _EXCH_XY_R4(Run, myThid )
50     _EXCH_XY_R4(winPert, myThid )
51    
52     CALL EBM_LOAD_CLIMATOLOGY( myThid )
53    
54     CALL EBM_DRIVER( startTime, niter0, myThid )
55    
56     print *, TmlS - 273.15, TtS - 273.15
57     print *, TmlN - 273.15, TtN - 273.15
58    
59     DO bj = myByLo(myThid), myByHi(myThid)
60     DO bi = myBxLo(myThid), myBxHi(myThid)
61 heimbach 1.2 iMin = 1-olx
62     iMax = sNx+olx
63     jMin = 1-oly
64     jMax = sNy+oly
65 heimbach 1.1
66     CALL EBM_FORCING_SURF(
67     I bi, bj, iMin, iMax, jMin, jMax,
68     I startTime, niter0, myThid )
69     ENDDO
70     ENDDO
71    
72     #endif /* ALLOW_EBM */
73    
74     RETURN
75     END
76    
77    
78    

  ViewVC Help
Powered by ViewVC 1.1.22