/[MITgcm]/MITgcm/pkg/land/land_initialise.F
ViewVC logotype

Contents of /MITgcm/pkg/land/land_initialise.F

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


Revision 1.4 - (show annotations) (download)
Sat Jul 30 23:53:48 2005 UTC (18 years, 11 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint64x, checkpoint58l_post, checkpoint57t_post, checkpoint64q, checkpoint64p, checkpoint64s, checkpoint64r, checkpoint64u, checkpoint64t, checkpoint64w, checkpoint64v, checkpoint64i, checkpoint64h, checkpoint64k, checkpoint64j, checkpoint64m, checkpoint64l, checkpoint64o, checkpoint64n, checkpoint64a, checkpoint64c, checkpoint64b, checkpoint64e, checkpoint64d, checkpoint64g, checkpoint64f, checkpoint58e_post, checkpoint57v_post, checkpoint58u_post, checkpoint57s_post, checkpoint63p, checkpoint63q, checkpoint63r, checkpoint63s, checkpoint63l, checkpoint63m, checkpoint63n, checkpoint63o, checkpoint63h, checkpoint63i, checkpoint63j, checkpoint63k, checkpoint63d, checkpoint63e, checkpoint63f, checkpoint63g, checkpoint63a, checkpoint63b, checkpoint63c, checkpoint64, checkpoint60, checkpoint61, checkpoint62, checkpoint63, checkpoint58r_post, checkpoint57y_post, checkpoint58g_post, checkpoint57x_post, checkpoint58n_post, checkpoint58x_post, checkpoint58t_post, checkpoint58h_post, checkpoint58w_post, checkpoint58j_post, checkpoint57y_pre, checkpoint58q_post, checkpoint59q, checkpoint59p, checkpoint59r, checkpoint59e, checkpoint59d, checkpoint59g, checkpoint59f, checkpoint59a, checkpoint59c, checkpoint59b, checkpoint59m, checkpoint59l, checkpoint59o, checkpoint59n, checkpoint59i, checkpoint59h, checkpoint59k, checkpoint59j, checkpoint57r_post, checkpoint59, checkpoint58, checkpoint58f_post, checkpoint58d_post, checkpoint58c_post, checkpoint57w_post, checkpoint57p_post, checkpint57u_post, checkpoint58a_post, checkpoint58i_post, checkpoint57q_post, checkpoint58o_post, checkpoint57z_post, 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, checkpoint58y_post, checkpoint58k_post, checkpoint58v_post, checkpoint58s_post, checkpoint61f, checkpoint61g, checkpoint61d, checkpoint61e, checkpoint61b, checkpoint61c, checkpoint58p_post, checkpoint61a, checkpoint61n, checkpoint61o, checkpoint61l, checkpoint61m, checkpoint61j, checkpoint61k, checkpoint61h, checkpoint61i, checkpoint61v, checkpoint61w, checkpoint61t, checkpoint61u, checkpoint61r, checkpoint61s, checkpoint61p, checkpoint61q, checkpoint61z, checkpoint61x, checkpoint61y, checkpoint58b_post, checkpoint58m_post
Changes since 1.3: +6 -1 lines
move ${PKG}_MNC_INIT from ${PKG}_READ_PARAMS to ${PKG}_INIT_FIXED
(already the case for some pkgs, including recent _MNC_init, e.g. thsice)

1 C $Header: /u/gcmpack/MITgcm/pkg/land/land_initialise.F,v 1.3 2005/02/14 00:41:07 jmc Exp $
2 C $Name: $
3
4 #include "LAND_OPTIONS.h"
5
6 CBOP
7 C !ROUTINE: LAND_INITIALISE
8 C !INTERFACE:
9 SUBROUTINE LAND_INITIALISE( myThid )
10
11 C !DESCRIPTION: \bv
12 C *==========================================================*
13 C | S/R LAND_INITIALISE
14 C | o Read Land package parameters (from file data.land)
15 C | o Initialize Land package variables
16 C *==========================================================*
17 C \ev
18
19 C !USES:
20 IMPLICIT NONE
21
22 C == Global variables ===
23
24 C-- size for MITgcm & Land package :
25 #include "LAND_SIZE.h"
26
27 #include "EEPARAMS.h"
28 #include "PARAMS.h"
29 #include "LAND_PARAMS.h"
30 #include "LAND_VARS.h"
31
32
33 C !INPUT/OUTPUT PARAMETERS:
34 C == Routine Arguments ==
35 C myThid :: Number of this instance
36 INTEGER myThid
37 CEOP
38
39 #ifdef ALLOW_LAND
40
41 C == Local Variables ==
42 C msgBuf :: Informational/error meesage buffer
43 CHARACTER*(MAX_LEN_MBUF) msgBuf
44
45 C---+----1----+----2----+----3----+----4----+----5----+----6----+----7-|--+----|
46 C- for now, Land package works only with AIM package:
47 IF ( .NOT.useAIM ) THEN
48 WRITE(msgBuf,'(A)')
49 & 'LAND_INITIALISE: land pkg only implemented for AIM physics'
50 CALL PRINT_ERROR( msgBuf, myThid)
51 WRITE(msgBuf,'(A)')
52 & 'DO NOT use Land (useLand=T) without AIM (useAIM=F, data.pkg)'
53 CALL PRINT_ERROR( msgBuf, myThid)
54 STOP 'ABNORMAL END: S/R LAND_INITIALISE'
55 ENDIF
56
57 C---+----1----+----2----+----3----+----4----+----5----+----6----+----7-|--+----|
58
59 C-- Read LAND parameters (from file data.land):
60 CALL LAND_READPARMS( myThid )
61
62 IF ( useMNC ) THEN
63 CALL LAND_MNC_INIT(sNx,sNy, OLx,OLy, nSx,nSy, nPx,nPy,
64 & land_nLev, myThid)
65 ENDIF
66
67 IF ( useDiagnostics ) CALL LAND_DIAGNOSTICS_INIT( myThid )
68
69 #endif /* ALLOW_LAND */
70
71 RETURN
72 END

  ViewVC Help
Powered by ViewVC 1.1.22