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 |