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

Contents 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.3 - (show annotations) (download)
Thu Mar 4 14:55:52 2010 UTC (15 years, 4 months ago) by jahn
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +2 -2 lines
FILE REMOVED
retiring custom gchem package: darwin now plugs into main gchem

1 C $Header: /u/gcmpack/MITgcm_contrib/darwin/pkg/gchem/gchem_init_fixed.F,v 1.2 2008/06/02 20:32:49 jahn 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 "EEPARAMS.h"
17 #include "PARAMS.h"
18 #include "GCHEM.h"
19
20 C !INPUT PARAMETERS: ===================================================
21 C myThid :: thread number
22 INTEGER myThid
23 CEOP
24
25 #ifdef ALLOW_GCHEM
26
27 C !LOCAL VARIABLES:
28
29 C jmc: simpler to put MASTER thread directive within individual S/R :
30 C that leave the choice, for each S/R, to do either single (master)
31 C thread tasks or Multi-threaded tasks.
32 c _BEGIN_MASTER( mythid )
33 ccccccccccccccccccccccccccc
34 c initialize parameters c
35 ccccccccccccccccccccccccccc
36 #ifdef ALLOW_DIC
37 IF ( useDIC ) THEN
38 print*,'QQ load dic parameters, initial fixed'
39 CALL DIC_INIT_FIXED( myThid )
40 ENDIF
41 #endif /* ALLOW_DIC */
42 #ifdef ALLOW_CFC
43 IF ( useCFC ) THEN
44 print*,'QQ start cfc params'
45 CALL CFC_PARAM( myThid )
46 print*,'QQ read cfc atmos data'
47 CALL CFC_ATMOS( myThid )
48 ENDIF
49 #endif /* ALLOW_CFC */
50 c _END_MASTER( mythid )
51
52 #ifdef ALLOW_DARWIN
53 IF ( useDARWIN ) THEN
54 call DARWIN_INIT_FIXED(myThid)
55 ENDIF
56 #endif
57
58 #ifdef ALLOW_NPZDCAR
59 call NPZDCAR_INIT_FIXED(myThid)
60 #endif
61
62 #ifdef ALLOW_DIAGNOSTICS
63 C Define diagnostics Names :
64 IF ( useDiagnostics ) THEN
65 CALL GCHEM_DIAGNOSTICS_INIT( myThid )
66 ENDIF
67 #endif /* ALLOW_DIAGNOSTICS */
68
69 #endif /* ALLOW_GCHEM */
70
71 RETURN
72 END

  ViewVC Help
Powered by ViewVC 1.1.22