/[MITgcm]/MITgcm/pkg/exf/exf_init.F
ViewVC logotype

Contents of /MITgcm/pkg/exf/exf_init.F

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


Revision 1.9 - (show annotations) (download)
Fri Jul 2 00:48:23 2004 UTC (19 years, 10 months ago) by heimbach
Branch: MAIN
CVS Tags: checkpoint57m_post, checkpoint57g_pre, checkpoint57s_post, checkpoint58b_post, checkpoint57b_post, checkpoint57g_post, checkpoint56b_post, checkpoint57y_post, checkpoint54d_post, checkpoint54e_post, checkpoint57r_post, checkpoint57d_post, checkpoint57i_post, checkpoint58, checkpoint55, checkpoint54, checkpoint57, checkpoint56, checkpoint57n_post, checkpoint58d_post, checkpoint58a_post, checkpoint57z_post, checkpoint54f_post, checkpoint55i_post, checkpoint57l_post, checkpoint57t_post, checkpoint55c_post, checkpoint57v_post, checkpoint57f_post, checkpoint57a_post, checkpoint57h_pre, checkpoint54b_post, checkpoint57h_post, checkpoint57y_pre, checkpoint55g_post, checkpoint57c_post, checkpoint55d_post, checkpoint58e_post, checkpoint54a_pre, checkpoint55d_pre, checkpoint57c_pre, checkpoint55j_post, checkpoint54a_post, checkpoint55h_post, checkpoint57e_post, checkpoint55b_post, checkpoint55f_post, checkpoint53g_post, checkpoint57p_post, checkpint57u_post, checkpoint57q_post, eckpoint57e_pre, checkpoint56a_post, checkpoint57h_done, checkpoint57j_post, checkpoint57f_pre, checkpoint56c_post, checkpoint57a_pre, checkpoint55a_post, checkpoint57o_post, checkpoint57k_post, checkpoint57w_post, checkpoint57x_post, checkpoint58c_post, checkpoint55e_post, checkpoint54c_post
Changes since 1.8: +2 -19 lines
o Modified logic for ALLOW_ATM_[TEMP/WIND]
o temporary field for function calls

1 c $Header: /u/gcmpack/MITgcm/pkg/exf/exf_init.F,v 1.8 2003/10/09 04:19:19 edhill Exp $
2
3 #include "EXF_OPTIONS.h"
4
5
6 subroutine exf_init( mythid )
7
8 c ==================================================================
9 c SUBROUTINE exf_init
10 c ==================================================================
11 c
12 c o This routine initialises the forcing
13 c
14 c started: Ralf.Giering@FastOpt.de 25-Mai-20000
15 c mods for pkg/seaice: menemenlis@jpl.nasa.gov 20-Dec-2002
16 c
17 c ==================================================================
18 c SUBROUTINE exf_init
19 c ==================================================================
20
21 implicit none
22
23 c == global variables ==
24
25 #include "EEPARAMS.h"
26 #include "SIZE.h"
27 #include "cal.h"
28 #include "exf.h"
29 #include "exf_param.h"
30 #include "exf_fields.h"
31
32 c == routine arguments ==
33
34 integer mythid
35
36 c == local variables ==
37
38 c == end of interface ==
39
40 call exf_init_gen (
41 & ustressconst, ustress, ustress0, ustress1, mythid )
42 call exf_init_gen (
43 & vstressconst, vstress, vstress0, vstress1, mythid )
44
45 #ifdef ALLOW_ATM_WIND
46 call exf_init_gen (
47 & uwindconst, uwind, uwind0, uwind1, mythid )
48 call exf_init_gen (
49 & vwindconst, vwind, vwind0, vwind1, mythid )
50 #endif
51
52 call exf_init_gen (
53 & hfluxconst, hflux, hflux0, hflux1, mythid )
54 call exf_init_gen (
55 & sfluxconst, sflux, sflux0, sflux1, mythid )
56
57 #ifdef ALLOW_ATM_TEMP
58 call exf_init_gen (
59 & atempconst, atemp, atemp0, atemp1, mythid )
60 call exf_init_gen (
61 & aqhconst, aqh, aqh0, aqh1, mythid )
62 call exf_init_gen (
63 & lwfluxconst, lwflux, lwflux0, lwflux1, mythid )
64 call exf_init_gen (
65 & precipconst, precip, precip0, precip1, mythid )
66 #endif
67
68 #if defined(ALLOW_ATM_TEMP) || defined(SHORTWAVE_HEATING)
69 call exf_init_gen (
70 & swfluxconst, swflux, swflux0, swflux1, mythid )
71 #endif
72
73 #if defined(ALLOW_ATM_TEMP) || defined(EXF_READ_EVAP)
74 call exf_init_gen (
75 & evapconst, evap, evap0, evap1, mythid )
76 #endif
77
78 #ifdef ALLOW_DOWNWARD_RADIATION
79 call exf_init_gen (
80 & swdownconst, swdown, swdown0, swdown1, mythid )
81 call exf_init_gen (
82 & lwdownconst, lwdown, lwdown0, lwdown1, mythid )
83 #endif
84
85 #ifdef ATMOSPHERIC_LOADING
86 call exf_init_gen (
87 & apressureconst, apressure, apressure0, apressure1, mythid )
88 #endif
89
90 #if (defined (ALLOW_RUNOFF) || defined (ALLOW_SEAICE))
91 call exf_init_runoff ( mythid )
92 #endif
93
94 c Initialize climatological fields
95 call exf_clim_init ( mythid )
96
97 end

  ViewVC Help
Powered by ViewVC 1.1.22