/[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.7 - (hide annotations) (download)
Fri Jul 6 21:39:37 2001 UTC (22 years, 10 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint40pre3, checkpoint40pre7, checkpoint40pre6, checkpoint40pre9, checkpoint40pre8, checkpoint40pre2, checkpoint40pre4, checkpoint40pre5, checkpoint40
Changes since 1.6: +4 -1 lines
 compute Bo_surf(Po_ground,Tref) inside routine INI_LINEAR_PHISURF

1 jmc 1.7 C $Header: /u/gcmpack/models/MITgcmUV/model/src/initialise_fixed.F,v 1.6 2001/06/18 17:39:58 cnh Exp $
2 cnh 1.6 C $Name: $
3 adcroft 1.1
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 adcroft 1.2 CALL INI_PARMS( myThid )
37 adcroft 1.1 _BARRIER
38 cnh 1.6
39     #ifndef EXCLUDE_MONITOR
40     C-- Initialise MONITOR I/O streams so we can report config. info
41     CALL MON_INIT( myThid )
42     _BARRIER
43     #endif
44    
45 adcroft 1.1
46     C-- Set model grid.
47     C Variables defining model grid spacing are defined.
48     CALL INI_GRID( myThid )
49     _BARRIER
50    
51     C-- Initialise map of depths
52     CALL INI_DEPTHS( myThid )
53     _BARRIER
54    
55     C-- Derive masks, lopping factors and recipricols of quantities.
56     C Volumes and areas are set according to grid and depth map.
57     CALL INI_MASKS_ETC( myThid )
58     _BARRIER
59 jmc 1.7
60     C-- Set Bo_surf => define the Linear Relation: Phi_surf(eta)
61     CALL INI_LINEAR_PHISURF( myThid )
62 adcroft 1.1
63 heimbach 1.3 C-- Set coriolis operators
64     CALL INI_CORI( myThid )
65    
66 adcroft 1.4 C-- Configure packages
67     CALL PACKAGES_BOOT( myThid )
68    
69     C-- Read configuration parameters for packages
70     CALL PACKAGES_READPARMS( myThid )
71    
72     C-- Check dependances between packages
73     CALL PACKAGES_CHECK( myThid )
74    
75     C-- Call fixed data initialization phase of packages
76     CALL PACKAGES_INIT_FIXED( myThid )
77    
78     #ifdef ALLOW_ZONAL_FILT
79 adcroft 1.1 C-- Latitude circle filter initialisation
80 adcroft 1.4 CALL ZONAL_FILT_INIT(myThid)
81 adcroft 1.1 _BARRIER
82     #endif
83    
84     C-- Set laplace operators for use in 2D conjugate gradient solver.
85     CALL INI_CG2D( myThid )
86    
87     #ifdef ALLOW_NONHYDROSTATIC
88     C-- Set laplace operators for use in 3D conjugate gradient solver.
89     CALL INI_CG3D( myThid )
90     #endif
91 heimbach 1.3
92 adcroft 1.1 C-- Finally summarise the model cofiguration
93     CALL CONFIG_SUMMARY( myThid )
94    
95     END

  ViewVC Help
Powered by ViewVC 1.1.22