1 |
jmc |
1.3 |
C $Header: $ |
2 |
|
|
C $Name: $ |
3 |
|
|
|
4 |
stephd |
1.1 |
#include "DIC_OPTIONS.h" |
5 |
|
|
#include "GCHEM_OPTIONS.h" |
6 |
|
|
|
7 |
stephd |
1.2 |
CBOP |
8 |
|
|
C !ROUTINE: GCHEM_FORCING_INT |
9 |
|
|
|
10 |
|
|
C !INTERFACE: ========================================================== |
11 |
stephd |
1.1 |
SUBROUTINE DIC_INI_FORCING( myThid ) |
12 |
|
|
|
13 |
stephd |
1.2 |
C !DESCRIPTION: |
14 |
|
|
c initializes forcing fields to zero |
15 |
|
|
|
16 |
|
|
C !USES: =============================================================== |
17 |
stephd |
1.1 |
IMPLICIT NONE |
18 |
|
|
#include "SIZE.h" |
19 |
|
|
#include "DYNVARS.h" |
20 |
|
|
#include "EEPARAMS.h" |
21 |
|
|
#include "PARAMS.h" |
22 |
|
|
#include "GRID.h" |
23 |
jmc |
1.3 |
#include "PTRACERS_SIZE.h" |
24 |
stephd |
1.1 |
#include "PTRACERS.h" |
25 |
|
|
#include "GCHEM.h" |
26 |
|
|
#include "DIC_ABIOTIC.h" |
27 |
|
|
#ifdef DIC_BIOTIC |
28 |
|
|
#include "DIC_BIOTIC.h" |
29 |
|
|
#include "DIC_LOAD.h" |
30 |
|
|
#endif |
31 |
|
|
|
32 |
stephd |
1.2 |
C !INPUT PARAMETERS: =================================================== |
33 |
|
|
C myThid :: thread number |
34 |
stephd |
1.1 |
INTEGER myThid |
35 |
stephd |
1.2 |
CEOP |
36 |
stephd |
1.1 |
|
37 |
|
|
#ifdef ALLOW_PTRACERS |
38 |
|
|
c |
39 |
|
|
C First call requires that we initialize everything to zero for safety |
40 |
|
|
CALL LEF_ZERO( wspeed0,myThid ) |
41 |
|
|
CALL LEF_ZERO( wspeed1,myThid ) |
42 |
|
|
CALL LEF_ZERO( atmosp0,myThid ) |
43 |
|
|
CALL LEF_ZERO( atmosp1,myThid ) |
44 |
|
|
CALL LEF_ZERO( silica0,myThid ) |
45 |
|
|
CALL LEF_ZERO( silica1,myThid ) |
46 |
|
|
CALL LEF_ZERO( ice0,myThid ) |
47 |
|
|
CALL LEF_ZERO( ice1,myThid ) |
48 |
|
|
# ifdef ALLOW_FE |
49 |
|
|
CALL LEF_ZERO( feinput0,myThid ) |
50 |
|
|
CALL LEF_ZERO( feinput1,myThid ) |
51 |
|
|
# endif |
52 |
|
|
|
53 |
|
|
_EXCH_XY_R4(wspeed0, myThid ) |
54 |
|
|
_EXCH_XY_R4(wspeed1, myThid ) |
55 |
|
|
_EXCH_XY_R4(atmosp0, myThid ) |
56 |
|
|
_EXCH_XY_R4(atmosp1, myThid ) |
57 |
|
|
_EXCH_XY_R4(silica0, myThid ) |
58 |
|
|
_EXCH_XY_R4(silica1, myThid ) |
59 |
|
|
_EXCH_XY_R4(ice0, myThid ) |
60 |
|
|
_EXCH_XY_R4(ice1, myThid ) |
61 |
|
|
# ifdef ALLOW_FE |
62 |
|
|
_EXCH_XY_R4(feinput0, myThid ) |
63 |
|
|
_EXCH_XY_R4(feinput1, myThid ) |
64 |
|
|
# endif |
65 |
|
|
|
66 |
|
|
#endif |
67 |
|
|
RETURN |
68 |
|
|
END |