/[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.3 - (show annotations) (download)
Mon Feb 14 00:41:07 2005 UTC (19 years, 4 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint57o_post, checkpoint57f_post, checkpoint57k_post, checkpoint57g_post, checkpoint57i_post, checkpoint57m_post, checkpoint57g_pre, checkpoint57e_post, checkpoint57h_post, checkpoint57f_pre, eckpoint57e_pre, checkpoint57h_done, checkpoint57n_post, checkpoint57j_post, checkpoint57h_pre, checkpoint57l_post
Changes since 1.2: +3 -1 lines
allow to use pkg diagnostics for output.

1 C $Header: /u/gcmpack/MITgcm/pkg/land/land_initialise.F,v 1.2 2004/03/11 14:42:00 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 ( useDiagnostics ) CALL LAND_DIAGNOSTICS_INIT( myThid )
63
64 #endif /* ALLOW_LAND */
65
66 RETURN
67 END

  ViewVC Help
Powered by ViewVC 1.1.22