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

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

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

revision 1.1 by cnh, Wed Apr 22 19:15:30 1998 UTC revision 1.4 by cnh, Fri Nov 6 22:44:47 1998 UTC
# Line 1  Line 1 
1  C $Id$  C $Header$
2    
3  #include "CPP_EEOPTIONS.h"  #include "CPP_OPTIONS.h"
4    
5  CStartOfInterface  CStartOfInterface
6        SUBROUTINE INI_FIELDS( myThid )        SUBROUTINE INI_FIELDS( myThid )
# Line 25  C     myThid -  Number of this instance Line 25  C     myThid -  Number of this instance
25  CEndOfInterface  CEndOfInterface
26    
27  C--   Set model variables to initial/restart conditions  C--   Set model variables to initial/restart conditions
28        IF ( startTime .EQ. 0. ) THEN        IF ( startTime .EQ. 0. .AND.  nIter0 .EQ. 0 ) THEN
29         CALL INI_UVEL( myThid )         CALL INI_UVEL( myThid )
30         CALL INI_VVEL( myThid )         CALL INI_VVEL( myThid )
31         CALL INI_THETA( myThid )         CALL INI_THETA( myThid )
32         CALL INI_SALT( myThid )         CALL INI_SALT( myThid )
33        ELSE        ELSE
34           IF ( nIter0 .EQ. 0 ) THEN
35            nIter0 = INT(startTime/deltaTClock )
36           ENDIF
37           CALL READ_CHECKPOINT( nIter0, myThid )
38        ENDIF        ENDIF
39    
40        RETURN        RETURN

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.4

  ViewVC Help
Powered by ViewVC 1.1.22