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

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

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


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

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

  ViewVC Help
Powered by ViewVC 1.1.22