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

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

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


Revision 1.4 - (hide annotations) (download)
Fri Feb 2 21:04:48 2001 UTC (23 years, 3 months ago) by adcroft
Branch: MAIN
Changes since 1.3: +15 -21 lines
Merged changes from branch "branch-atmos-merge" into MAIN (checkpoint34)
 - substantial modifications to algorithm sequence (dynamics.F)
 - packaged OBCS, Shapiro filter, Zonal filter, Atmospheric Physics

1 adcroft 1.4 C $Header: /u/gcmpack/models/MITgcmUV/model/src/initialise_fixed.F,v 1.3.2.3 2001/01/30 21:02:59 adcroft Exp $
2 adcroft 1.1
3     #include "CPP_OPTIONS.h"
4    
5     CStartOfInterface
6     SUBROUTINE INITIALISE_FIXED(myThid)
7     C /==========================================================\
8     C | SUBROUTINE INITIALISE_FIXED |
9     C | o Routine for setting fixed model arrays such as |
10     C | topography, grid, solver matrices, etc. |
11     C |==========================================================|
12     C | INITIALISE_FIXED is invoked at the start of the model to |
13     C | set fixed model arrays. It reads data from an input file |
14     C | and 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    
26     C == Routine arguments ==
27     INTEGER myThid
28     CEndOfInterface
29    
30     C == Local variables ==
31    
32     C-- Set model parameters.
33     C Parameters are set to defaults and then updates are read from
34     C an input file called data.
35 adcroft 1.2 CALL INI_PARMS( myThid )
36 adcroft 1.1 _BARRIER
37    
38     C-- Set model grid.
39     C Variables defining model grid spacing are defined.
40     CALL INI_GRID( myThid )
41     _BARRIER
42    
43     C-- Initialise map of depths
44     CALL INI_DEPTHS( myThid )
45     _BARRIER
46    
47     C-- Derive masks, lopping factors and recipricols of quantities.
48     C Volumes and areas are set according to grid and depth map.
49     CALL INI_MASKS_ETC( myThid )
50     _BARRIER
51    
52 heimbach 1.3 C-- Set coriolis operators
53     CALL INI_CORI( myThid )
54    
55 adcroft 1.4 C-- Configure packages
56     CALL PACKAGES_BOOT( myThid )
57    
58     C-- Read configuration parameters for packages
59     CALL PACKAGES_READPARMS( myThid )
60    
61     C-- Check dependances between packages
62     CALL PACKAGES_CHECK( myThid )
63    
64     C-- Call fixed data initialization phase of packages
65     CALL PACKAGES_INIT_FIXED( myThid )
66    
67     #ifdef ALLOW_ZONAL_FILT
68 adcroft 1.1 C-- Latitude circle filter initialisation
69 adcroft 1.4 CALL ZONAL_FILT_INIT(myThid)
70 adcroft 1.1 _BARRIER
71     #endif
72    
73     C-- Set laplace operators for use in 2D conjugate gradient solver.
74     CALL INI_CG2D( myThid )
75    
76     #ifdef ALLOW_NONHYDROSTATIC
77     C-- Set laplace operators for use in 3D conjugate gradient solver.
78     CALL INI_CG3D( myThid )
79     #endif
80 heimbach 1.3
81 adcroft 1.1 C-- Finally summarise the model cofiguration
82     CALL CONFIG_SUMMARY( myThid )
83    
84     END

  ViewVC Help
Powered by ViewVC 1.1.22