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

Contents of /MITgcm/model/src/initialise_fixed.F

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


Revision 1.5 - (show annotations) (download)
Sun Feb 4 14:38:48 2001 UTC (23 years, 3 months ago) by cnh
Branch: MAIN
CVS Tags: checkpoint38, pre38tag1, c37_adj, pre38-close, checkpoint39, checkpoint37, checkpoint36, checkpoint35
Branch point for: pre38
Changes since 1.4: +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 C $Header: /u/gcmpack/models/MITgcmUV/model/src/initialise_fixed.F,v 1.4 2001/02/02 21:04:48 adcroft Exp $
2 C $Name: $
3
4 #include "CPP_OPTIONS.h"
5
6 CStartOfInterface
7 SUBROUTINE INITIALISE_FIXED(myThid)
8 C /==========================================================\
9 C | SUBROUTINE INITIALISE_FIXED |
10 C | o Routine for setting fixed model arrays such as |
11 C | topography, grid, solver matrices, etc. |
12 C |==========================================================|
13 C | INITIALISE_FIXED is invoked at the start of the model to |
14 C | set fixed model arrays. It reads data from an input file |
15 C | and from various binary files. |
16 C | Each thread invokes an instance of this routine as does |
17 C | each process in a multi-process parallel environment like|
18 C | MPI. |
19 C \==========================================================/
20 IMPLICIT NONE
21
22 C == Global variables ==
23 #include "SIZE.h"
24 #include "EEPARAMS.h"
25 #include "PARAMS.h"
26
27 C == Routine arguments ==
28 INTEGER myThid
29 CEndOfInterface
30
31 C == Local variables ==
32
33 C-- Set model parameters.
34 C Parameters are set to defaults and then updates are read from
35 C an input file called data.
36 CALL INI_PARMS( myThid )
37 _BARRIER
38
39 C-- Set model grid.
40 C Variables defining model grid spacing are defined.
41 CALL INI_GRID( myThid )
42 _BARRIER
43
44 C-- Initialise map of depths
45 CALL INI_DEPTHS( myThid )
46 _BARRIER
47
48 C-- Derive masks, lopping factors and recipricols of quantities.
49 C Volumes and areas are set according to grid and depth map.
50 CALL INI_MASKS_ETC( myThid )
51 _BARRIER
52
53 C-- Set coriolis operators
54 CALL INI_CORI( myThid )
55
56 C-- Configure packages
57 CALL PACKAGES_BOOT( myThid )
58
59 C-- Read configuration parameters for packages
60 CALL PACKAGES_READPARMS( myThid )
61
62 C-- Check dependances between packages
63 CALL PACKAGES_CHECK( myThid )
64
65 C-- Call fixed data initialization phase of packages
66 CALL PACKAGES_INIT_FIXED( myThid )
67
68 #ifdef ALLOW_ZONAL_FILT
69 C-- Latitude circle filter initialisation
70 CALL ZONAL_FILT_INIT(myThid)
71 _BARRIER
72 #endif
73
74 C-- Set laplace operators for use in 2D conjugate gradient solver.
75 CALL INI_CG2D( myThid )
76
77 #ifdef ALLOW_NONHYDROSTATIC
78 C-- Set laplace operators for use in 3D conjugate gradient solver.
79 CALL INI_CG3D( myThid )
80 #endif
81
82 C-- Finally summarise the model cofiguration
83 CALL CONFIG_SUMMARY( myThid )
84
85 END

  ViewVC Help
Powered by ViewVC 1.1.22