/[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.3.2.1 - (hide annotations) (download)
Tue Jan 9 21:26:07 2001 UTC (23 years, 4 months ago) by adcroft
Branch: branch-atmos-merge
CVS Tags: branch-atmos-merge-shapiro, branch-atmos-merge-phase5, branch-atmos-merge-phase4, branch-atmos-merge-phase7, branch-atmos-merge-phase6, branch-atmos-merge-phase3
Changes since 1.3: +4 -5 lines
Tentative implimentatin of OBCs.

1 adcroft 1.3.2.1 C $Header: /u/gcmpack/models/MITgcmUV/model/src/initialise_fixed.F,v 1.3 2000/09/11 23:05:56 heimbach 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     #ifdef ALLOW_OBCS
39     C-- Open boundaries positions
40 adcroft 1.3.2.1 IF (openBoundaries) THEN
41     CALL OBCS_INIT( myThid )
42     ENDIF
43 adcroft 1.1 #endif
44     _BARRIER
45    
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    
60 heimbach 1.3 C-- Set coriolis operators
61     CALL INI_CORI( myThid )
62    
63 adcroft 1.1 #ifdef INCLUDE_LAT_CIRC_FFT_FILTER_CODE
64     C-- Latitude circle filter initialisation
65     CALL FILTER_LATCIRC_FFT_INIT(myThid)
66     _BARRIER
67     #endif
68    
69     C-- Set laplace operators for use in 2D conjugate gradient solver.
70     CALL INI_CG2D( myThid )
71    
72     #ifdef ALLOW_NONHYDROSTATIC
73     C-- Set laplace operators for use in 3D conjugate gradient solver.
74     CALL INI_CG3D( myThid )
75     #endif
76    
77 heimbach 1.3 C-- Configure packages
78     CALL PACKAGES_BOOT( myThid )
79    
80     C-- Read configuration parameters for packages
81     CALL PACKAGES_READPARMS( myThid )
82    
83     C-- Check dependances between packages
84     CALL PACKAGES_CHECK( myThid )
85    
86 adcroft 1.1 C-- Finally summarise the model cofiguration
87     CALL CONFIG_SUMMARY( myThid )
88    
89     END

  ViewVC Help
Powered by ViewVC 1.1.22