/[MITgcm]/MITgcm/pkg/dic/dic_ini_forcing.F
ViewVC logotype

Contents of /MITgcm/pkg/dic/dic_ini_forcing.F

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.2 - (show annotations) (download)
Thu Feb 12 16:11:46 2004 UTC (20 years, 4 months ago) by stephd
Branch: MAIN
CVS Tags: checkpoint52l_pre, hrcube4, checkpoint52n_post, checkpoint52j_post, checkpoint53d_post, checkpoint54a_pre, checkpoint54a_post, checkpoint53c_post, checkpoint52l_post, checkpoint52k_post, checkpoint54b_post, checkpoint53b_pre, checkpoint52m_post, checkpoint53a_post, checkpoint54, checkpoint53b_post, checkpoint53, checkpoint53g_post, hrcube5, checkpoint52j_pre, checkpoint53f_post, checkpoint53d_pre
Changes since 1.1: +11 -8 lines
o clean up and add extra documentation

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

  ViewVC Help
Powered by ViewVC 1.1.22