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

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

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


Revision 1.4 - (show annotations) (download)
Fri Nov 6 22:44:47 1998 UTC (25 years, 6 months ago) by cnh
Branch: MAIN
CVS Tags: checkpoint18
Changes since 1.3: +3 -3 lines
Changes to allow for atmospheric integration builds of the code

1 C $Header: /u/gcmpack/models/MITgcmUV/model/src/ini_fields.F,v 1.3 1998/05/21 18:25:49 cnh Exp $
2
3 #include "CPP_OPTIONS.h"
4
5 CStartOfInterface
6 SUBROUTINE INI_FIELDS( myThid )
7 C /==========================================================\
8 C | SUBROUTINE INI_FIELDS |
9 C | o Initialise model fields |
10 C |==========================================================|
11 C | Initial conditions of the model state variables are |
12 C | set here. For continuation runs a restart file will be |
13 C | used. For original runs custom rules can be included |
14 C | here. |
15 C \==========================================================/
16
17 C === Global variables ===
18 #include "SIZE.h"
19 #include "EEPARAMS.h"
20 #include "PARAMS.h"
21
22 C == Routine arguments ==
23 C myThid - Number of this instance of INI_FIELDS
24 INTEGER myThid
25 CEndOfInterface
26
27 C-- Set model variables to initial/restart conditions
28 IF ( startTime .EQ. 0. .AND. nIter0 .EQ. 0 ) THEN
29 CALL INI_UVEL( myThid )
30 CALL INI_VVEL( myThid )
31 CALL INI_THETA( myThid )
32 CALL INI_SALT( myThid )
33 ELSE
34 IF ( nIter0 .EQ. 0 ) THEN
35 nIter0 = INT(startTime/deltaTClock )
36 ENDIF
37 CALL READ_CHECKPOINT( nIter0, myThid )
38 ENDIF
39
40 RETURN
41 END

  ViewVC Help
Powered by ViewVC 1.1.22