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

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

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


Revision 1.12 - (hide annotations) (download)
Wed Oct 14 01:31:42 2009 UTC (14 years, 8 months ago) by heimbach
Branch: MAIN
Changes since 1.11: +5 -2 lines
Add control init.

1 heimbach 1.12 C $Header: /u/gcmpack/MITgcm/pkg/gchem/gchem_init_vari.F,v 1.11 2009/06/30 16:43:00 jahn Exp $
2 ce107 1.8 C $Name: $
3 mlosch 1.4
4 stephd 1.1 #include "GCHEM_OPTIONS.h"
5 jahn 1.11 #ifdef ALLOW_DARWIN
6     #include "DARWIN_OPTIONS.h"
7     #endif
8 stephd 1.1
9     C !INTERFACE: ==========================================================
10     SUBROUTINE GCHEM_INIT_VARI(myThid )
11    
12 stephd 1.3 C !DESCRIPTION:
13     C calls subroutines that initialize any time dependent variables
14     C for any tracer experiment
15    
16     C !USES: ===============================================================
17 stephd 1.1 IMPLICIT NONE
18     #include "SIZE.h"
19     #include "EEPARAMS.h"
20     #include "PARAMS.h"
21 dfer 1.9 #include "GCHEM.h"
22 jmc 1.7 #ifdef ALLOW_AUTODIFF_TAMC
23     # include "GRID.h"
24     # include "DYNVARS.h"
25     #endif /* ALLOW_AUTODIFF_TAMC */
26 stephd 1.1
27     C !INPUT PARAMETERS: ===================================================
28     C myThid :: thread number
29     INTEGER myThid
30 stephd 1.3 CEOP
31 stephd 1.1
32     #ifdef ALLOW_GCHEM
33    
34     ccccccccccccccccccccccccccc
35     c initialize parameters c
36     ccccccccccccccccccccccccccc
37 stephd 1.6 #ifdef ALLOW_DIC
38 dfer 1.9 IF ( useDIC ) THEN
39 stephd 1.1 print*,'QQ load dic parameters, initial vari'
40 stephd 1.2 CALL DIC_INI_FORCING(myThid)
41 dfer 1.9 CALL DIC_SURFFORCING_INIT(myThid)
42 heimbach 1.12 CALL DIC_BIOTIC_INIT(myThid)
43 dfer 1.9 ENDIF
44 heimbach 1.12 # ifdef ALLOW_CTRL
45     CALL DIC_SET_CONTROL(myThid)
46     # endif
47 stephd 1.6 #endif /* ALLOW_DIC */
48 stephd 1.1
49 jahn 1.11 #ifdef ALLOW_DARWIN
50     IF ( useDARWIN ) THEN
51     call DARWIN_INIT_VARI(myThid )
52     #ifdef ALLOW_CARBON
53     CALL DIC_SURFFORCING_INIT(myThid)
54     CALL DIC_DIAGS_INIT(myThid)
55     #endif
56     ENDIF
57     #endif
58 stephd 1.1 #endif /* ALLOW_GCHEM */
59    
60     RETURN
61     END

  ViewVC Help
Powered by ViewVC 1.1.22