/[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.11 - (hide annotations) (download)
Fri Jun 29 17:14:49 2001 UTC (22 years, 11 months ago) by adcroft
Branch: MAIN
CVS Tags: checkpoint40pre3, checkpoint40pre1, checkpoint40pre7, checkpoint40pre6, checkpoint40pre9, checkpoint40pre8, checkpoint40pre2, checkpoint40pre4, checkpoint40pre5, checkpoint40
Changes since 1.10: +2 -1 lines
Moved cg3d_x into DYNVARS.h and renamed it to phi_nh.
 - cg3d and cg2d now look more similar
 - output formatted to fit Chris's tastes (I think)

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

  ViewVC Help
Powered by ViewVC 1.1.22