/[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.12 - (hide annotations) (download)
Wed Feb 26 03:13:28 2003 UTC (21 years, 2 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint50c_post, checkpoint50c_pre, checkpoint48i_post, checkpoint51, checkpoint50, checkpoint50d_post, checkpoint50b_pre, checkpoint51f_post, checkpoint51d_post, checkpoint51j_post, checkpoint48h_post, checkpoint51b_pre, checkpoint51h_pre, checkpoint50f_post, checkpoint50a_post, checkpoint50f_pre, branchpoint-genmake2, checkpoint51b_post, checkpoint51c_post, checkpoint50g_post, checkpoint50h_post, checkpoint50e_pre, checkpoint50i_post, checkpoint51i_pre, checkpoint50e_post, checkpoint50d_pre, checkpoint51e_post, checkpoint49, checkpoint51f_pre, checkpoint51g_post, checkpoint50b_post, checkpoint51a_post
Branch point for: branch-genmake2
Changes since 1.11: +11 -12 lines
move INI_LINEAR_PHSURF & INI_CORI calls after package initialization

1 jmc 1.12 C $Header: /u/gcmpack/MITgcm/model/src/initialise_fixed.F,v 1.11 2003/02/11 03:03:46 jmc Exp $
2 jmc 1.11 C $Name: $
3 adcroft 1.1
4     #include "CPP_OPTIONS.h"
5    
6 cnh 1.8 CBOP
7     C !ROUTINE: INITIALISE_FIXED
8     C !INTERFACE:
9 adcroft 1.1 SUBROUTINE INITIALISE_FIXED(myThid)
10 cnh 1.8
11     C !DESCRIPTION: \bv
12     C *==========================================================*
13     C | SUBROUTINE INITIALISE_FIXED
14     C | o Routine for setting fixed model arrays such as
15     C | topography, grid, solver matrices, etc.
16     C *==========================================================*
17     C | INITIALISE_FIXED is invoked at the start of the model to
18     C | set fixed model arrays. It reads data from an input file
19     C | and from various binary files.
20     C | Each thread invokes an instance of this routine as does
21     C | each process in a multi-process parallel environment like
22     C | MPI.
23     C *==========================================================*
24     C \ev
25    
26     C !CALLING SEQUENCE:
27     C INITIALISE_FIXED
28     C |
29     C |-- INI_PARMS
30     C |
31     C |-- MON_INIT
32     C |
33     C |-- INI_GRID
34     C |
35 mlosch 1.10 C |-- INI_EOS
36     C |
37 cnh 1.8 C |-- INI_DEPTHS
38     C |
39     C |-- INI_MASKS_ETC
40     C |
41     C |-- PACKAGES_BOOT
42     C |
43     C |-- PACKAGES_READPARMS
44     C |
45     C |-- PACKAGES_CHECK
46     C |
47     C |-- PACKAGES_INIT_FIXED
48     C |
49 jmc 1.12 C |-- INI_LINEAR_PHSURF
50     C |
51     C |-- INI_CORI
52 cnh 1.8 C |
53     C |-- INI_CG2D
54     C |
55     C |-- INI_CG3D
56     C |
57 jmc 1.9 C |-- CONFIG_CHECK
58     C |
59 cnh 1.8 C |-- CONFIG_SUMMARY
60    
61     C !USES:
62 adcroft 1.1 IMPLICIT NONE
63     C == Global variables ==
64     #include "SIZE.h"
65     #include "EEPARAMS.h"
66     #include "PARAMS.h"
67    
68 cnh 1.8 C !INPUT/OUTPUT PARAMETERS:
69 adcroft 1.1 C == Routine arguments ==
70     INTEGER myThid
71 cnh 1.8 CEOP
72 adcroft 1.1
73     C-- Set model parameters.
74     C Parameters are set to defaults and then updates are read from
75     C an input file called data.
76 adcroft 1.2 CALL INI_PARMS( myThid )
77 adcroft 1.1 _BARRIER
78 cnh 1.6
79     #ifndef EXCLUDE_MONITOR
80     C-- Initialise MONITOR I/O streams so we can report config. info
81     CALL MON_INIT( myThid )
82     _BARRIER
83     #endif
84    
85 adcroft 1.1
86     C-- Set model grid.
87     C Variables defining model grid spacing are defined.
88     CALL INI_GRID( myThid )
89 mlosch 1.10 _BARRIER
90    
91     C-- Set equation of state parameters.
92     CALL INI_EOS( myThid )
93 adcroft 1.1 _BARRIER
94    
95     C-- Initialise map of depths
96     CALL INI_DEPTHS( myThid )
97     _BARRIER
98    
99     C-- Derive masks, lopping factors and recipricols of quantities.
100     C Volumes and areas are set according to grid and depth map.
101     CALL INI_MASKS_ETC( myThid )
102     _BARRIER
103 jmc 1.7
104 adcroft 1.4 C-- Configure packages
105     CALL PACKAGES_BOOT( myThid )
106    
107     C-- Read configuration parameters for packages
108     CALL PACKAGES_READPARMS( myThid )
109    
110     C-- Check dependances between packages
111     CALL PACKAGES_CHECK( myThid )
112    
113     C-- Call fixed data initialization phase of packages
114     CALL PACKAGES_INIT_FIXED( myThid )
115 adcroft 1.1
116 jmc 1.12 C-- Set Bo_surf => define the Linear Relation: Phi_surf(eta)
117     CALL INI_LINEAR_PHISURF( myThid )
118    
119     C-- Set coriolis operators
120     CALL INI_CORI( myThid )
121    
122 adcroft 1.1 C-- Set laplace operators for use in 2D conjugate gradient solver.
123     CALL INI_CG2D( myThid )
124    
125     #ifdef ALLOW_NONHYDROSTATIC
126     C-- Set laplace operators for use in 3D conjugate gradient solver.
127     CALL INI_CG3D( myThid )
128     #endif
129 jmc 1.9
130     C-- Check parameters and model cofiguration
131     CALL CONFIG_CHECK( myThid )
132 heimbach 1.3
133 adcroft 1.1 C-- Finally summarise the model cofiguration
134     CALL CONFIG_SUMMARY( myThid )
135    
136 jmc 1.12 RETURN
137 adcroft 1.1 END

  ViewVC Help
Powered by ViewVC 1.1.22