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

  ViewVC Help
Powered by ViewVC 1.1.22