/[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.14 by mlosch, Wed Sep 18 16:38:02 2002 UTC revision 1.17 by heimbach, Thu Oct 30 18:44:26 2003 UTC
# Line 1  Line 1 
1  C $Header$  C $Header$
2  C $Name$  C $Name$
3    
4    #include "PACKAGES_CONFIG.h"
5  #include "CPP_OPTIONS.h"  #include "CPP_OPTIONS.h"
6    
7  CBOP  CBOP
# Line 33  C     myThid -  Number of this instance Line 34  C     myThid -  Number of this instance
34  CEOP  CEOP
35    
36  C--   Set model variables to initial/restart conditions  C--   Set model variables to initial/restart conditions
37        IF ( startTime .EQ. 0. .AND.  nIter0 .EQ. 0 ) THEN        IF ( startTime .EQ. 0. .AND.  nIter0 .EQ. 0
38         &     .AND. pickupSuff .EQ. ' ' ) THEN
39         CALL INI_VEL( myThid )         CALL INI_VEL( myThid )
40         CALL INI_THETA( myThid )         CALL INI_THETA( myThid )
41         CALL INI_SALT( myThid )         CALL INI_SALT( myThid )
42         CALL INI_PSURF( myThid )         CALL INI_PSURF( myThid )
43         CALL INI_PRESSURE( myThid )         CALL INI_PRESSURE( myThid )
44    #ifdef ALLOW_CD_CODE
45          IF (useCDscheme)
46         &      CALL CD_CODE_INI_VARS( myThid )
47    #endif
48  #ifdef INCLUDE_EP_FORCING_CODE  #ifdef INCLUDE_EP_FORCING_CODE
49         CALL INI_EP( myThid )         CALL INI_EP( myThid )
50  #endif  #endif
# Line 48  C--   Set model variables to initial/res Line 54  C--   Set model variables to initial/res
54          nIter0 = INT(startTime/deltaTClock )          nIter0 = INT(startTime/deltaTClock )
55         ENDIF         ENDIF
56         CALL READ_CHECKPOINT( nIter0, myThid )         CALL READ_CHECKPOINT( nIter0, myThid )
57    #ifdef ALLOW_CD_CODE
58           IF (useCDscheme)
59         &      CALL CD_CODE_READ_CHECKPOINT( nIter0, myThid )
60    #endif
61        ENDIF        ENDIF
62    
63        RETURN        RETURN

Legend:
Removed from v.1.14  
changed lines
  Added in v.1.17

  ViewVC Help
Powered by ViewVC 1.1.22