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

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

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


Revision 1.24 - (hide annotations) (download)
Mon Mar 29 22:14:49 2004 UTC (20 years, 2 months ago) by molod
Branch: MAIN
CVS Tags: checkpoint54, checkpoint53, checkpoint53d_post, checkpoint52m_post, checkpoint54a_pre, checkpoint53c_post, checkpoint54a_post, checkpoint53a_post, checkpoint53g_post, checkpoint53f_post, checkpoint52n_post, checkpoint53b_pre, checkpoint53b_post, checkpoint53d_pre
Changes since 1.23: +7 -2 lines
Add some timings around fizhi and gridalt calls

1 molod 1.24 C $Header: /u/gcmpack/MITgcm/model/src/packages_init_fixed.F,v 1.23 2004/03/20 23:51:23 edhill Exp $
2 adcroft 1.3 C $Name: $
3 adcroft 1.2
4 edhill 1.11 #include "PACKAGES_CONFIG.h"
5 adcroft 1.2 #include "CPP_OPTIONS.h"
6    
7 cnh 1.4 CBOP
8     C !ROUTINE: PACKAGES_INIT_FIXED
9     C !INTERFACE:
10 adcroft 1.2 SUBROUTINE PACKAGES_INIT_FIXED( myThid )
11 cnh 1.4
12     C !DESCRIPTION: \bv
13     C *==========================================================*
14     C | SUBROUTINE PACKAGES_INIT_FIXED
15     C | o Does initialisation of package-related fixed fields
16     C *==========================================================*
17     C \ev
18    
19     C !CALLING SEQUENCE:
20     C PACKAGES_INIT_FIXED
21     C |
22 edhill 1.21 C |-- MNC_INIT
23     C |
24 jmc 1.5 C |-- GAD_INIT
25     C |
26 cnh 1.4 C |-- OBCS_INIT_FIXED
27     C |
28     C |-- FLT_INIT
29 jmc 1.6 C |
30     C |-- ZONAL_FILT_INIT
31 jmc 1.7 C |
32     C |-- AIM_INITIALISE
33     C |
34     C |-- LAND_INITIALISE
35 cnh 1.4
36     C !USES:
37 adcroft 1.2 IMPLICIT NONE
38     C === Global variables ===
39     #include "SIZE.h"
40     #include "EEPARAMS.h"
41     #include "PARAMS.h"
42    
43 cnh 1.4 C !INPUT/OUTPUT PARAMETERS:
44 adcroft 1.2 C === Routine arguments ===
45     C myThid - Number of this instances
46     INTEGER myThid
47 cnh 1.4 CEOP
48 edhill 1.21
49     C-- Initialize fixed params for GAD
50     CALL GAD_INIT( myThid )
51 adcroft 1.2
52     C-- Initialize fixed arrays for OBCS
53     #ifdef ALLOW_OBCS
54     IF (useOBCS) THEN
55     CALL OBCS_INIT_FIXED( myThid )
56 adcroft 1.3 ENDIF
57     #endif
58     #ifdef ALLOW_FLT
59     C-- Initialise Float positions
60 jmc 1.6 IF (useFLT) THEN
61 adcroft 1.3 CALL FLT_INIT(nIter0,startTime,myThid )
62 jmc 1.6 _BARRIER
63     ENDIF
64     #endif
65     #ifdef ALLOW_ZONAL_FILT
66     C-- Latitude circle filter initialisation
67     IF (useZONAL_FILT) THEN
68     CALL ZONAL_FILT_INIT(myThid)
69 adcroft 1.3 _BARRIER
70 adcroft 1.2 ENDIF
71 jmc 1.7 #endif
72    
73     #ifdef ALLOW_AIM
74     C-- Initialise & Read AIM physical parameters
75     IF (useAIM) CALL AIM_INITIALISE( myThid )
76     #endif
77 molod 1.15
78     C AMM
79     #ifdef ALLOW_GRIDALT
80     C-- Initialise GRIDALT parameters - the alternative grid
81 molod 1.24 IF (useGRIDALT) then
82     CALL TIMER_START('GRIDALT_INITIALISE [PACKAGES_INIT_F]',mythid)
83     CALL GRIDALT_INITIALISE( myThid )
84     CALL TIMER_STOP ('GRIDALT_INITIALISE [PACKAGES_INIT_F]',mythid)
85     ENDIF
86    
87 molod 1.15 #endif
88    
89     #ifdef ALLOW_FIZHI
90     C-- Initialise & Read FIZHI physical parameters
91     IF (useFIZHI) CALL FIZHI_INIT_FIXED( myThid )
92 molod 1.16 #endif
93     C AMM
94    
95 jmc 1.7 #ifdef ALLOW_LAND
96     C-- Initialise & Read Land package parameters
97     IF (useLand) CALL LAND_INITIALISE( myThid )
98 heimbach 1.8 #endif
99    
100 heimbach 1.14 #if (defined (ALLOW_ECCO) && defined (ALLOW_COST))
101     C-- Initialise ecco-specific cost function.
102     C-- This needs to preceed the call ctrl_init
103     C-- in order to provide the weight files
104     IF (useECCO) CALL ECCO_COST_INIT_FIXED( myThid )
105     #endif
106    
107 heimbach 1.13 #ifdef ALLOW_AUTODIFF
108 heimbach 1.8 C-- Initialise the control variables
109     CALL CTRL_INIT( myThid )
110     _BARRIER
111 adcroft 1.2 #endif
112 stephd 1.10
113     #ifdef ALLOW_PTRACERS
114     #ifdef ALLOW_GCHEM
115     IF (usePTRACERS) then
116     call GCHEM_INIT_FIXED(mythid)
117     ENDIF
118     #endif
119     #endif
120    
121 molod 1.18 CAMM
122     #ifdef ALLOW_DIAGNOSTICS
123     IF (usediagnostics) then
124 molod 1.19 call diagnostics_initialise(mythid)
125 molod 1.18 ENDIF
126     #endif
127     CAMM
128 adcroft 1.2
129     RETURN
130     END

  ViewVC Help
Powered by ViewVC 1.1.22