/[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.4 - (hide annotations) (download)
Sun Aug 28 21:47:10 2011 UTC (12 years, 9 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, checkpoint63b, checkpoint63c, checkpoint64, checkpoint65, checkpoint66g, checkpoint66f, checkpoint66e, checkpoint66d, checkpoint66c, checkpoint66b, checkpoint66a, checkpoint66o, checkpoint66n, checkpoint66m, checkpoint66l, checkpoint66k, checkpoint66j, checkpoint66i, checkpoint66h, checkpoint65z, checkpoint65x, checkpoint65y, checkpoint65r, checkpoint65s, checkpoint65p, checkpoint65q, checkpoint65v, checkpoint65w, checkpoint65t, checkpoint65u, checkpoint65j, checkpoint65k, checkpoint65h, checkpoint65i, checkpoint65n, checkpoint65o, checkpoint65l, checkpoint65m, checkpoint65b, checkpoint65c, checkpoint65a, checkpoint65f, checkpoint65g, checkpoint65d, checkpoint65e, HEAD
Changes since 1.3: +25 -39 lines
remove call to EBM_FORCING_SURF ; comment out call to EBM_DRIVER.

1 jmc 1.4 C $Header: /u/gcmpack/MITgcm/pkg/ebm/ebm_ini_vars.F,v 1.3 2009/04/28 18:11:51 jmc Exp $
2 heimbach 1.1 C $Name: $
3    
4     #include "EBM_OPTIONS.h"
5    
6 jmc 1.4 CBOP 0
7     C !ROUTINE: EBM_INI_VARS
8    
9     C !INTERFACE:
10 heimbach 1.1 SUBROUTINE EBM_INI_VARS( myThid )
11    
12 jmc 1.4 C !DESCRIPTION:
13     C *==========================================================*
14     C | S/R INITIALISE VARIABLES FOR EBM
15     C *==========================================================*
16    
17     C !USES:
18 heimbach 1.1 IMPLICIT NONE
19    
20     C === Global variables ===
21     #include "SIZE.h"
22     #include "EEPARAMS.h"
23     #include "PARAMS.h"
24 jmc 1.4 c#include "DYNVARS.h"
25     c#include "GRID.h"
26     c#include "FFIELDS.h"
27 heimbach 1.1 #ifdef ALLOW_EBM
28     # include "EBM.h"
29     #endif
30    
31 jmc 1.4 C !INPUT PARAMETERS:
32     C myThid :: my Thread Id number
33 heimbach 1.1 INTEGER myThid
34 jmc 1.4 CEOP
35 heimbach 1.1
36 jmc 1.4 #ifdef ALLOW_EBM
37     C !LOCAL VARIABLES:
38 heimbach 1.1 C == Local variables ==
39 jmc 1.4 C i, j, k :: Loop counters
40     INTEGER bi,bj,i,j
41 heimbach 1.1
42     C-- initially all forcing fields are zero
43     DO bj = myByLo(myThid), myByHi(myThid)
44     DO bi = myBxLo(myThid), myBxHi(myThid)
45     DO j=1-OLy,sNy+OLy
46     DO i=1-OLx,sNx+OLx
47 jmc 1.4 Run (i,j,bi,bj) = 0.
48 heimbach 1.1 winPert(i,j,bi,bj) = 0.
49     ENDDO
50     ENDDO
51     ENDDO
52     ENDDO
53    
54     CALL EBM_LOAD_CLIMATOLOGY( myThid )
55    
56 jmc 1.4 c CALL EBM_DRIVER( startTime, niter0, myThid )
57 heimbach 1.1
58 jmc 1.4 c print *, TmlS - 273.15, TtS - 273.15
59     c print *, TmlN - 273.15, TtN - 273.15
60 heimbach 1.1
61     #endif /* ALLOW_EBM */
62    
63     RETURN
64     END

  ViewVC Help
Powered by ViewVC 1.1.22