/[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.7 - (show annotations) (download)
Wed Aug 9 01:24:51 2006 UTC (17 years, 9 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint58u_post, checkpoint58w_post, checkpoint58r_post, checkpoint58n_post, checkpoint58x_post, checkpoint58t_post, checkpoint58q_post, checkpoint59e, checkpoint59d, checkpoint59a, checkpoint59c, checkpoint59b, checkpoint59, checkpoint58o_post, checkpoint58y_post, checkpoint58v_post, checkpoint58s_post, checkpoint58p_post
Changes since 1.6: +7 -5 lines
- add #ifdef ALLOW_AUTODIFF_TAMC arround part needed for the adjoint
- fix for multi-threading

1 C$Header: /u/gcmpack/MITgcm/pkg/gchem/gchem_init_vari.F,v 1.6 2005/08/18 19:29:51 stephd Exp $
2 C$Name: $
3
4 #include "GCHEM_OPTIONS.h"
5
6 C !INTERFACE: ==========================================================
7 SUBROUTINE GCHEM_INIT_VARI(myThid )
8
9 C !DESCRIPTION:
10 C calls subroutines that initialize any time dependent variables
11 C for any tracer experiment
12
13 C !USES: ===============================================================
14 IMPLICIT NONE
15 #include "SIZE.h"
16 #include "EEPARAMS.h"
17 #include "PARAMS.h"
18 #ifdef ALLOW_AUTODIFF_TAMC
19 # include "GRID.h"
20 # include "DYNVARS.h"
21 #endif /* ALLOW_AUTODIFF_TAMC */
22
23 C !INPUT PARAMETERS: ===================================================
24 C myThid :: thread number
25 INTEGER myThid
26 CEOP
27
28 #ifdef ALLOW_GCHEM
29
30 ccccccccccccccccccccccccccc
31 c initialize parameters c
32 ccccccccccccccccccccccccccc
33 #ifdef ALLOW_DIC
34 print*,'QQ load dic parameters, initial vari'
35 #ifdef ALLOW_AUTODIFF_TAMC
36 c these two needed to be recalled for adjoint
37 call DIC_BIOTIC_PARAM(myThid)
38 call DIC_ABIOTIC_PARAM(myThid)
39 #endif /* ALLOW_AUTODIFF_TAMC */
40 c --
41 CALL DIC_INI_FORCING(myThid)
42 call DIC_SURFFORCING_INIT(myThid)
43 call DIC_BIOTIC_INIT(myThid )
44 #endif /* ALLOW_DIC */
45
46
47 #endif /* ALLOW_GCHEM */
48
49 RETURN
50 END

  ViewVC Help
Powered by ViewVC 1.1.22