/[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.5 - (hide annotations) (download)
Wed Dec 9 16:11:52 1998 UTC (25 years, 5 months ago) by adcroft
Branch: MAIN
CVS Tags: checkpoint19, checkpoint20, checkpoint21, checkpoint22, checkpoint23, checkpoint24, checkpoint25, checkpoint26
Changes since 1.4: +2 -1 lines
Added IMPLICIT NONE in a lot of subroutines.
Also corrected the recip_Rhonil bug: we didn't set it in ini_parms.F

1 adcroft 1.5 C $Header: /u/gcmpack/models/MITgcmUV/model/src/ini_fields.F,v 1.4 1998/11/06 22:44:47 cnh Exp $
2 cnh 1.1
3 cnh 1.4 #include "CPP_OPTIONS.h"
4 cnh 1.1
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 adcroft 1.5 IMPLICIT NONE
17 cnh 1.1
18     C === Global variables ===
19     #include "SIZE.h"
20     #include "EEPARAMS.h"
21     #include "PARAMS.h"
22    
23     C == Routine arguments ==
24     C myThid - Number of this instance of INI_FIELDS
25     INTEGER myThid
26     CEndOfInterface
27    
28     C-- Set model variables to initial/restart conditions
29 cnh 1.4 IF ( startTime .EQ. 0. .AND. nIter0 .EQ. 0 ) THEN
30 cnh 1.1 CALL INI_UVEL( myThid )
31     CALL INI_VVEL( myThid )
32     CALL INI_THETA( myThid )
33     CALL INI_SALT( myThid )
34     ELSE
35 cnh 1.3 IF ( nIter0 .EQ. 0 ) THEN
36     nIter0 = INT(startTime/deltaTClock )
37     ENDIF
38     CALL READ_CHECKPOINT( nIter0, myThid )
39 cnh 1.1 ENDIF
40    
41     RETURN
42     END

  ViewVC Help
Powered by ViewVC 1.1.22