/[MITgcm]/MITgcm/model/src/ini_fields.F
ViewVC logotype

Annotation of /MITgcm/model/src/ini_fields.F

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


Revision 1.18 - (hide annotations) (download)
Sun Dec 14 23:24:55 2003 UTC (20 years, 5 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint52l_pre, hrcube4, hrcube5, checkpoint52j_pre, checkpoint54d_post, checkpoint54e_post, checkpoint52l_post, checkpoint52k_post, checkpoint54, checkpoint53, checkpoint52f_post, checkpoint52i_pre, hrcube_1, hrcube_2, hrcube_3, checkpoint52e_pre, checkpoint52e_post, checkpoint53d_post, checkpoint54b_post, checkpoint52m_post, checkpoint52f_pre, checkpoint54a_pre, checkpoint53c_post, checkpoint54a_post, checkpoint53a_post, checkpoint52d_post, checkpoint53g_post, checkpoint52i_post, checkpoint52h_pre, checkpoint53f_post, checkpoint52j_post, checkpoint52n_post, checkpoint53b_pre, checkpoint53b_post, checkpoint53d_pre, checkpoint54c_post
Changes since 1.17: +1 -9 lines
each package $PKG_ini_vars calls $PKG_read_pickup: change CD_code to
 conform to the rule.

1 jmc 1.18 C $Header: /u/gcmpack/MITgcm/model/src/ini_fields.F,v 1.17 2003/10/30 18:44:26 heimbach Exp $
2 adcroft 1.10 C $Name: $
3 cnh 1.1
4 edhill 1.16 #include "PACKAGES_CONFIG.h"
5 cnh 1.4 #include "CPP_OPTIONS.h"
6 cnh 1.1
7 cnh 1.12 CBOP
8     C !ROUTINE: INI_FIELDS
9     C !INTERFACE:
10 cnh 1.1 SUBROUTINE INI_FIELDS( myThid )
11 cnh 1.12 C !DESCRIPTION: \bv
12     C *==========================================================*
13     C | SUBROUTINE INI_FIELDS
14     C | o Initialise model fields
15     C *==========================================================*
16     C | Initial conditions of the model state variables are
17     C | set here. For continuation runs a restart file will be
18     C | used. For original runs custom rules can be included
19     C | here.
20     C *==========================================================*
21     C \ev
22    
23     C !USES:
24 adcroft 1.5 IMPLICIT NONE
25 cnh 1.1 C === Global variables ===
26     #include "SIZE.h"
27     #include "EEPARAMS.h"
28     #include "PARAMS.h"
29    
30 cnh 1.12 C !INPUT/OUTPUT PARAMETERS:
31 cnh 1.1 C == Routine arguments ==
32     C myThid - Number of this instance of INI_FIELDS
33     INTEGER myThid
34 cnh 1.12 CEOP
35 cnh 1.1
36     C-- Set model variables to initial/restart conditions
37 adcroft 1.15 IF ( startTime .EQ. 0. .AND. nIter0 .EQ. 0
38     & .AND. pickupSuff .EQ. ' ' ) THEN
39 adcroft 1.10 CALL INI_VEL( myThid )
40 cnh 1.1 CALL INI_THETA( myThid )
41     CALL INI_SALT( myThid )
42 adcroft 1.6 CALL INI_PSURF( myThid )
43 mlosch 1.14 CALL INI_PRESSURE( myThid )
44 heimbach 1.13 #ifdef INCLUDE_EP_FORCING_CODE
45     CALL INI_EP( myThid )
46     #endif
47 adcroft 1.11 IF (nonHydrostatic) CALL INI_PNH( myThid )
48 cnh 1.1 ELSE
49 cnh 1.3 IF ( nIter0 .EQ. 0 ) THEN
50     nIter0 = INT(startTime/deltaTClock )
51     ENDIF
52     CALL READ_CHECKPOINT( nIter0, myThid )
53 heimbach 1.17 ENDIF
54 cnh 1.1
55     RETURN
56     END

  ViewVC Help
Powered by ViewVC 1.1.22