/[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.12 - (hide annotations) (download)
Wed Sep 26 18:09:15 2001 UTC (22 years, 7 months ago) by cnh
Branch: MAIN
CVS Tags: checkpoint44e_post, checkpoint44f_post, checkpoint43a-release1mods, chkpt44d_post, release1_p1, release1_p2, release1_p3, release1_p4, checkpoint44e_pre, release1_b1, checkpoint43, release1_chkpt44d_post, icebear5, icebear4, icebear3, icebear2, release1-branch_tutorials, checkpoint45d_post, chkpt44a_post, checkpoint44h_pre, chkpt44c_pre, checkpoint45a_post, ecco_c44_e19, ecco_c44_e18, ecco_c44_e17, ecco_c44_e16, checkpoint44g_post, checkpoint45b_post, release1-branch-end, release1_final_v1, checkpoint44b_post, checkpoint45c_post, ecco_ice2, ecco_ice1, checkpoint44h_post, ecco_c44_e22, ecco_c44_e25, chkpt44a_pre, ecco_c44_e23, ecco_c44_e20, ecco_c44_e21, ecco_c44_e26, ecco_c44_e27, ecco_c44_e24, ecco-branch-mod1, ecco-branch-mod2, ecco-branch-mod3, ecco-branch-mod4, ecco-branch-mod5, release1_beta1, checkpoint44b_pre, checkpoint42, checkpoint41, checkpoint44, checkpoint45, chkpt44c_post, checkpoint44f_pre, release1-branch_branchpoint
Branch point for: c24_e25_ice, release1_final, release1-branch, release1, ecco-branch, icebear, release1_coupled
Changes since 1.11: +19 -13 lines
Bringing comments up to data and formatting for document extraction.

1 cnh 1.12 C $Header: /u/gcmpack/models/MITgcmUV/model/src/ini_fields.F,v 1.11 2001/06/29 17:14:49 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 cnh 1.12 CBOP
7     C !ROUTINE: INI_FIELDS
8     C !INTERFACE:
9 cnh 1.1 SUBROUTINE INI_FIELDS( myThid )
10 cnh 1.12 C !DESCRIPTION: \bv
11     C *==========================================================*
12     C | SUBROUTINE INI_FIELDS
13     C | o Initialise model fields
14     C *==========================================================*
15     C | Initial conditions of the model state variables are
16     C | set here. For continuation runs a restart file will be
17     C | used. For original runs custom rules can be included
18     C | here.
19     C *==========================================================*
20     C \ev
21    
22     C !USES:
23 adcroft 1.5 IMPLICIT NONE
24 cnh 1.1 C === Global variables ===
25     #include "SIZE.h"
26     #include "EEPARAMS.h"
27     #include "PARAMS.h"
28    
29 cnh 1.12 C !INPUT/OUTPUT PARAMETERS:
30 cnh 1.1 C == Routine arguments ==
31     C myThid - Number of this instance of INI_FIELDS
32     INTEGER myThid
33 cnh 1.12 CEOP
34 cnh 1.1
35     C-- Set model variables to initial/restart conditions
36 cnh 1.4 IF ( startTime .EQ. 0. .AND. nIter0 .EQ. 0 ) THEN
37 adcroft 1.10 CALL INI_VEL( myThid )
38 cnh 1.1 CALL INI_THETA( myThid )
39     CALL INI_SALT( myThid )
40 adcroft 1.6 CALL INI_PSURF( myThid )
41 adcroft 1.11 IF (nonHydrostatic) CALL INI_PNH( myThid )
42 cnh 1.1 ELSE
43 cnh 1.3 IF ( nIter0 .EQ. 0 ) THEN
44     nIter0 = INT(startTime/deltaTClock )
45     ENDIF
46     CALL READ_CHECKPOINT( nIter0, myThid )
47 cnh 1.1 ENDIF
48    
49     RETURN
50     END

  ViewVC Help
Powered by ViewVC 1.1.22