/[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.22 - (show annotations) (download)
Thu Aug 24 01:15:45 2006 UTC (17 years, 9 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint59, checkpoint58y_post, checkpoint58t_post, checkpoint60, checkpoint61, checkpoint58w_post, checkpoint58o_post, checkpoint58p_post, checkpoint58q_post, mitgcm_mapl_00, checkpoint58r_post, checkpoint59q, checkpoint59p, checkpoint59r, checkpoint59e, checkpoint59d, checkpoint59g, checkpoint59f, checkpoint59a, checkpoint59c, checkpoint59b, checkpoint59m, checkpoint59l, checkpoint59o, checkpoint59n, checkpoint59i, checkpoint59h, checkpoint59k, checkpoint58v_post, checkpoint61f, checkpoint58x_post, checkpoint61n, checkpoint59j, checkpoint61e, checkpoint58u_post, checkpoint58s_post, checkpoint61g, checkpoint61d, checkpoint61b, checkpoint61c, checkpoint61a, checkpoint61l, checkpoint61m, checkpoint61j, checkpoint61k, checkpoint61h, checkpoint61i
Changes since 1.21: +3 -6 lines
clean-up the read / write pickup S/R

1 C $Header: /u/gcmpack/MITgcm/model/src/ini_fields.F,v 1.21 2006/03/17 04:24:34 jmc Exp $
2 C $Name: $
3
4 #include "PACKAGES_CONFIG.h"
5 #include "CPP_OPTIONS.h"
6
7 C---+----1----+----2----+----3----+----4----+----5----+----6----+----7-|--+----|
8 CBOP
9 C !ROUTINE: INI_FIELDS
10
11 C !INTERFACE:
12 SUBROUTINE INI_FIELDS( myThid )
13
14 C !DESCRIPTION:
15 C Initial conditions of the model state variables are set here. For
16 C continuation runs a restart file will be used. For original runs
17 C custom rules can be included here.
18
19 C !USES:
20 IMPLICIT NONE
21 #include "SIZE.h"
22 #include "EEPARAMS.h"
23 #include "PARAMS.h"
24
25 C !INPUT PARAMETERS:
26 INTEGER myThid
27 CEOP
28
29 C Set model variables to initial/restart conditions
30 IF ( startTime .EQ. baseTime .AND. nIter0 .EQ. 0
31 & .AND. pickupSuff .EQ. ' ' ) THEN
32 CALL INI_VEL( myThid )
33 CALL INI_THETA( myThid )
34 CALL INI_SALT( myThid )
35 CALL INI_PSURF( myThid )
36 CALL INI_PRESSURE( myThid )
37 #ifdef INCLUDE_EP_FORCING_CODE
38 CALL INI_EP( myThid )
39 #endif
40 IF (nonHydrostatic) CALL INI_PNH( myThid )
41 ELSEIF ( .NOT.useOffLine ) THEN
42 CALL READ_PICKUP( nIter0, myThid )
43
44 CEH3 IF (pickup_write_immed) THEN
45 CEH3 CALL WRITE_CHECKPOINT(
46 CEH3 & .TRUE., myCurrentTime, myCurrentIter, myThid)
47 CEH3 ENDIF
48
49 ENDIF
50
51 RETURN
52 END

  ViewVC Help
Powered by ViewVC 1.1.22