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

Annotation of /MITgcm_contrib/darwin/pkg/gchem/gchem_init_fixed.F

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


Revision 1.1 - (hide annotations) (download)
Fri Jan 11 21:28:02 2008 UTC (17 years, 6 months ago) by jahn
Branch: MAIN
CVS Tags: ctrb_darwin_ckpt59i_20080226, ctrb_darwin_ckpt59o_20080602, ctrb_darwin_ckpt59n_20080424
initial checkin

1 jahn 1.1 C $Header: /u/gcmpack/MITgcm/pkg/gchem/gchem_init_fixed.F,v 1.8 2007/07/31 23:01:58 ce107 Exp $
2     C $Name: $
3    
4     #include "GCHEM_OPTIONS.h"
5    
6     C !INTERFACE: ==========================================================
7     SUBROUTINE GCHEM_INIT_FIXED(myThid )
8    
9     C !DESCRIPTION:
10     C calls subroutines that initialized fixed variables for any tracer
11     C experiment
12    
13     C !USES: ===============================================================
14     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     CEOP
25    
26     #ifdef ALLOW_GCHEM
27    
28     C !LOCAL VARIABLES:
29    
30     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     ccccccccccccccccccccccccccc
35     c initialize parameters c
36     ccccccccccccccccccccccccccc
37     #ifdef ALLOW_DIC
38     print*,'QQ load dic parameters, initial fixed'
39     call DIC_ABIOTIC_PARAM( myThid )
40     call DIC_BIOTIC_PARAM( myThid )
41     #endif /* ALLOW_DIC */
42     #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     #endif /* ALLOW_CFC */
48     c _END_MASTER( mythid )
49    
50     #ifdef ALLOW_DARWIN
51     call DARWIN_INIT_FIXED(myThid)
52     #endif
53    
54     #ifdef ALLOW_NPZDCAR
55     call NPZDCAR_INIT_FIXED(myThid)
56     #endif
57    
58     #ifdef ALLOW_DIAGNOSTICS
59     C Define diagnostics Names :
60     IF ( useDiagnostics ) THEN
61     CALL GCHEM_DIAGNOSTICS_INIT( myThid )
62     ENDIF
63     #endif /* ALLOW_DIAGNOSTICS */
64    
65     #endif /* ALLOW_GCHEM */
66    
67     RETURN
68     END

  ViewVC Help
Powered by ViewVC 1.1.22