/[MITgcm]/MITgcm/pkg/gchem/gchem_init_fixed.F
ViewVC logotype

Annotation of /MITgcm/pkg/gchem/gchem_init_fixed.F

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


Revision 1.8 - (hide annotations) (download)
Tue Jul 31 23:01:58 2007 UTC (16 years, 11 months ago) by ce107
Branch: MAIN
CVS Tags: checkpoint59g, checkpoint59f, checkpoint59m, checkpoint59l, checkpoint59o, checkpoint59n, checkpoint59i, checkpoint59h, checkpoint59k, checkpoint59j
Changes since 1.7: +2 -2 lines
Added space between C and $Name/$Header to avoid complaints from IBM (and
possibly other) compilers in OpenMP mode.

1 ce107 1.8 C $Header: /u/gcmpack/MITgcm/pkg/gchem/gchem_init_fixed.F,v 1.7 2006/08/02 22:41:42 jmc Exp $
2     C $Name: $
3 mlosch 1.3
4 stephd 1.1 #include "GCHEM_OPTIONS.h"
5    
6     C !INTERFACE: ==========================================================
7     SUBROUTINE GCHEM_INIT_FIXED(myThid )
8    
9 stephd 1.2 C !DESCRIPTION:
10     C calls subroutines that initialized fixed variables for any tracer
11     C experiment
12    
13     C !USES: ===============================================================
14 stephd 1.1 IMPLICIT NONE
15     #include "SIZE.h"
16     #include "GRID.h"
17     #include "DYNVARS.h"
18     #include "EEPARAMS.h"
19     #include "PARAMS.h"
20    
21     C !INPUT PARAMETERS: ===================================================
22     C myThid :: thread number
23     INTEGER myThid
24 stephd 1.2 CEOP
25 stephd 1.1
26     #ifdef ALLOW_GCHEM
27    
28 jmc 1.5 C !LOCAL VARIABLES:
29    
30 jmc 1.7 C jmc: simpler to put MASTER thread directive within individual S/R :
31     C that leave the choice, for each S/R, to do either single (master)
32     C thread tasks or Multi-threaded tasks.
33     c _BEGIN_MASTER( mythid )
34 stephd 1.1 ccccccccccccccccccccccccccc
35     c initialize parameters c
36     ccccccccccccccccccccccccccc
37 stephd 1.6 #ifdef ALLOW_DIC
38 stephd 1.1 print*,'QQ load dic parameters, initial fixed'
39     call DIC_ABIOTIC_PARAM( myThid )
40     call DIC_BIOTIC_PARAM( myThid )
41 stephd 1.6 #endif /* ALLOW_DIC */
42 stephd 1.1 #ifdef ALLOW_CFC
43     print*,'QQ start cfc params'
44     call CFC_PARAM( myThid )
45     print*,'QQ read cfc atmos data'
46     call CFC_ATMOS( myThid )
47 mlosch 1.4 #endif /* ALLOW_CFC */
48 jmc 1.7 c _END_MASTER( mythid )
49 stephd 1.1
50 jmc 1.5 #ifdef ALLOW_DIAGNOSTICS
51     C Define diagnostics Names :
52     IF ( useDiagnostics ) THEN
53     CALL GCHEM_DIAGNOSTICS_INIT( myThid )
54     ENDIF
55     #endif /* ALLOW_DIAGNOSTICS */
56 stephd 1.1
57     #endif /* ALLOW_GCHEM */
58    
59     RETURN
60     END

  ViewVC Help
Powered by ViewVC 1.1.22