1 |
stephd |
1.1 |
#include "CPP_OPTIONS.h" |
2 |
|
|
#include "PTRACERS_OPTIONS.h" |
3 |
|
|
#include "GCHEM_OPTIONS.h" |
4 |
|
|
|
5 |
|
|
C !INTERFACE: ========================================================== |
6 |
|
|
SUBROUTINE GCHEM_INIT_VARI(myThid ) |
7 |
|
|
|
8 |
|
|
IMPLICIT NONE |
9 |
|
|
#include "SIZE.h" |
10 |
|
|
#include "GRID.h" |
11 |
|
|
#include "DYNVARS.h" |
12 |
|
|
#include "EEPARAMS.h" |
13 |
|
|
#include "PARAMS.h" |
14 |
|
|
|
15 |
|
|
C !INPUT PARAMETERS: =================================================== |
16 |
|
|
C myThid :: thread number |
17 |
|
|
INTEGER myThid |
18 |
|
|
|
19 |
|
|
#ifdef ALLOW_PTRACERS |
20 |
|
|
#ifdef ALLOW_GCHEM |
21 |
|
|
|
22 |
|
|
_BEGIN_MASTER( mythid ) |
23 |
|
|
ccccccccccccccccccccccccccc |
24 |
|
|
c initialize parameters c |
25 |
|
|
ccccccccccccccccccccccccccc |
26 |
|
|
#ifdef DIC_BIOTIC |
27 |
|
|
print*,'QQ load dic parameters, initial vari' |
28 |
stephd |
1.2 |
c these two needed to be recalled for adjoint |
29 |
|
|
call DIC_BIOTIC_PARAM(myThid) |
30 |
|
|
call DIC_ABIOTIC_PARAM(myThid) |
31 |
|
|
c -- |
32 |
|
|
CALL DIC_INI_FORCING(myThid) |
33 |
stephd |
1.1 |
call DIC_SURFFORCING_INIT(myThid) |
34 |
|
|
call DIC_BIOTIC_INIT(myThid ) |
35 |
|
|
#endif |
36 |
|
|
_END_MASTER( mythid ) |
37 |
|
|
|
38 |
|
|
|
39 |
|
|
#endif /* ALLOW_GCHEM */ |
40 |
|
|
#endif /* ALLOW_PTRACERS */ |
41 |
|
|
|
42 |
|
|
RETURN |
43 |
|
|
END |