/[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.10 - (show annotations) (download)
Tue May 29 14:01:37 2001 UTC (23 years ago) by adcroft
Branch: MAIN
Changes since 1.9: +3 -10 lines
Merge from branch pre38:
 o essential mods for cubed sphere
 o debugged atmosphere, dynamcis + physics (aim)
 o new packages (mom_vecinv, mom_fluxform, ...)

1 C $Header: /u/gcmpack/models/MITgcmUV/model/src/ini_fields.F,v 1.8.2.1 2001/03/16 16:48:34 adcroft Exp $
2 C $Name: $
3
4 #include "CPP_OPTIONS.h"
5
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 IMPLICIT NONE
18
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 IF ( startTime .EQ. 0. .AND. nIter0 .EQ. 0 ) THEN
31 CALL INI_VEL( myThid )
32 CALL INI_THETA( myThid )
33 CALL INI_SALT( myThid )
34 CALL INI_PSURF( myThid )
35 ELSE
36 IF ( nIter0 .EQ. 0 ) THEN
37 nIter0 = INT(startTime/deltaTClock )
38 ENDIF
39 CALL READ_CHECKPOINT( nIter0, myThid )
40 ENDIF
41
42 RETURN
43 END

  ViewVC Help
Powered by ViewVC 1.1.22