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

Annotation of /MITgcm/model/src/initialise_varia.F

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


Revision 1.6 - (hide annotations) (download)
Sun Feb 4 14:38:48 2001 UTC (23 years, 4 months ago) by cnh
Branch: MAIN
CVS Tags: checkpoint35
Changes since 1.5: +2 -1 lines
Made sure each .F and .h file had
the CVS keywords Header and Name at its start.
Most had header but very few currently have Name, so
lots of changes!

1 cnh 1.6 C $Header: /u/gcmpack/models/MITgcmUV/model/src/initialise_varia.F,v 1.5 2001/02/02 21:04:48 adcroft Exp $
2     C $Name: $
3 adcroft 1.1
4     #include "CPP_OPTIONS.h"
5    
6     CStartOfInterface
7     SUBROUTINE INITIALISE_VARIA(myThid)
8     C /==========================================================\
9     C | SUBROUTINE INITIALISE_VARIA |
10     C | o Set the initial conditions for dynamics variables |
11     C | and time dependent arrays |
12     C |==========================================================|
13     C | This routine reads/writes data from an input file and |
14     C | from various binary files. |
15     C | Each thread invokes an instance of this routine as does |
16     C | each process in a multi-process parallel environment like|
17     C | MPI. |
18     C \==========================================================/
19     IMPLICIT NONE
20    
21     C == Global variables ==
22     #include "SIZE.h"
23     #include "EEPARAMS.h"
24     #include "PARAMS.h"
25 adcroft 1.5 #ifdef ALLOW_OBCS
26     #include "DYNVARS.h"
27     #endif
28 adcroft 1.1
29     C == Routine arguments ==
30     INTEGER myThid
31     CEndOfInterface
32    
33     C == Local variables ==
34 adcroft 1.5 INTEGER bi,bj,K,iMin,iMax,jMin,jMax
35 adcroft 1.1
36 adcroft 1.5 _BARRIER
37 adcroft 1.1 C-- Initialise model fields.
38     C Starting values of U, V, W, temp., salt. and tendency terms
39     C are set here. Fields are either set to default or read from
40     C stored files.
41     CALL INI_FIELDS( myThid )
42     _BARRIER
43    
44 adcroft 1.5 C-- Initial conditions are convectively adjusted (for historical reasons)
45 heimbach 1.3 IF ( startTime .EQ. 0. ) THEN
46 adcroft 1.1 DO bj = myByLo(myThid), myByHi(myThid)
47     DO bi = myBxLo(myThid), myBxHi(myThid)
48 adcroft 1.5 iMin=1-Olx
49     iMax=sNx+Olx
50     jMin=1-Oly
51     jMax=sNy+Oly
52     CALL CONVECTIVE_ADJUSTMENT(
53     I bi, bj, iMin, iMax, jMin, jMax,
54     I startTime, 0, myThid )
55 adcroft 1.1 ENDDO
56     ENDDO
57 adcroft 1.5 _BARRIER
58     END IF
59    
60     C-- Initialize variable data for packages
61     CALL PACKAGES_INIT_VARIABLES( myThid )
62 adcroft 1.1
63     C-- Finally summarise the model state
64     CALL STATE_SUMMARY( myThid )
65    
66     END

  ViewVC Help
Powered by ViewVC 1.1.22