/[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.4 - (show annotations) (download)
Thu Oct 13 16:25:12 2005 UTC (18 years, 8 months ago) by stephd
Branch: MAIN
CVS Tags: checkpoint58l_post, checkpoint58e_post, checkpoint57v_post, checkpoint58u_post, checkpoint58w_post, checkpoint58r_post, checkpoint57y_post, checkpoint58n_post, checkpoint58x_post, checkpoint58t_post, checkpoint58h_post, checkpoint57y_pre, checkpoint58q_post, checkpoint58j_post, checkpoint59a, checkpoint59, checkpoint58, checkpoint58f_post, checkpoint57x_post, checkpoint58d_post, checkpoint58c_post, checkpoint57w_post, checkpoint58a_post, checkpoint58i_post, checkpoint58g_post, checkpoint58o_post, checkpoint57z_post, checkpoint58y_post, checkpoint58k_post, checkpoint58v_post, checkpoint58s_post, checkpoint58p_post, checkpoint58b_post, checkpoint58m_post
Changes since 1.3: +9 -1 lines
o add additional switches MINFE - to limit amount of free iron
                          READ_PAR - reads PAR from file, rather
                             than using insol.F

1 C $Header: /u/gcmpack/MITgcm/pkg/dic/dic_ini_forcing.F,v 1.3 2004/07/13 18:03:31 jmc Exp $
2 C $Name: $
3
4 #include "DIC_OPTIONS.h"
5 #include "GCHEM_OPTIONS.h"
6
7 CBOP
8 C !ROUTINE: GCHEM_FORCING_INT
9
10 C !INTERFACE: ==========================================================
11 SUBROUTINE DIC_INI_FORCING( myThid )
12
13 C !DESCRIPTION:
14 c initializes forcing fields to zero
15
16 C !USES: ===============================================================
17 IMPLICIT NONE
18 #include "SIZE.h"
19 #include "DYNVARS.h"
20 #include "EEPARAMS.h"
21 #include "PARAMS.h"
22 #include "GRID.h"
23 #include "PTRACERS_SIZE.h"
24 #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 C !INPUT PARAMETERS: ===================================================
33 C myThid :: thread number
34 INTEGER myThid
35 CEOP
36
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 READ_PAR
49 CALL LEF_ZERO( par0,myThid )
50 CALL LEF_ZERO( par1,myThid )
51 #endif
52 # ifdef ALLOW_FE
53 CALL LEF_ZERO( feinput0,myThid )
54 CALL LEF_ZERO( feinput1,myThid )
55 # endif
56
57 _EXCH_XY_R4(wspeed0, myThid )
58 _EXCH_XY_R4(wspeed1, myThid )
59 _EXCH_XY_R4(atmosp0, myThid )
60 _EXCH_XY_R4(atmosp1, myThid )
61 _EXCH_XY_R4(silica0, myThid )
62 _EXCH_XY_R4(silica1, myThid )
63 _EXCH_XY_R4(ice0, myThid )
64 _EXCH_XY_R4(ice1, myThid )
65 #ifdef READ_PAR
66 _EXCH_XY_R4(par0, myThid )
67 _EXCH_XY_R4(par1, myThid )
68 #endif
69 # ifdef ALLOW_FE
70 _EXCH_XY_R4(feinput0, myThid )
71 _EXCH_XY_R4(feinput1, myThid )
72 # endif
73
74 #endif
75 RETURN
76 END

  ViewVC Help
Powered by ViewVC 1.1.22