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

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

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


Revision 1.1 - (show annotations) (download)
Thu Jun 12 17:54:22 2003 UTC (20 years, 11 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint50h_post, checkpoint51a_post, checkpoint51c_post, checkpoint51, checkpoint51b_post, checkpoint51b_pre, checkpoint51d_post
A simple land model implemented for AIM (_v23) atmospheric physics

1 C $Header: $
2 C $Name: $
3
4 #include "LAND_OPTIONS.h"
5
6 CBOP
7 C !ROUTINE: LAND_INI_VARS
8 C !INTERFACE:
9 SUBROUTINE LAND_INI_VARS( myThid )
10
11 C !DESCRIPTION: \bv
12 C *==========================================================*
13 C | S/R LAND_INI_VARS
14 C | o Initialize Land package variables
15 C *==========================================================*
16 C | for now, used only for a restart
17 C *==========================================================*
18 C \ev
19
20 C !USES:
21 IMPLICIT NONE
22
23 C == Global variables ===
24
25 C-- size for MITgcm & Land package :
26 #include "LAND_SIZE.h"
27
28 #include "EEPARAMS.h"
29 #include "PARAMS.h"
30 #include "LAND_PARAMS.h"
31
32 C !INPUT/OUTPUT PARAMETERS:
33 C == Routine Arguments ==
34 C myThid - Number of this instance
35 INTEGER myThid
36 CEOP
37
38 #ifdef ALLOW_LAND
39
40 C == Local Variables ==
41 C msgBuf - Informational/error meesage buffer
42 c CHARACTER*(MAX_LEN_MBUF) msgBuf
43
44 C---+----1----+----2----+----3----+----4----+----5----+----6----+----7-|--+----|
45
46 IF ( startTime.EQ.0. .AND. nIter0.EQ.0 ) THEN
47
48 C-- Define the initial state
49 C for now, loaded from AIM surf. BC in S/R aim_land2aim
50
51 c ELSE
52 C- a trick to allow to start without a land pickup:
53 ELSEIF ( land_calc_grT .OR. land_calc_grW ) THEN
54
55 C-- Read Land package state variables from pickup file
56 CALL LAND_READ_PICKUP( nIter0, myThid )
57
58 ENDIF
59
60 #endif /* ALLOW_LAND */
61
62 RETURN
63 END

  ViewVC Help
Powered by ViewVC 1.1.22