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

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

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


Revision 1.5 - (show annotations) (download)
Mon Jan 2 21:17:02 2006 UTC (18 years, 4 months ago) by heimbach
Branch: MAIN
CVS Tags: checkpoint58b_post, checkpoint58, checkpoint58f_post, checkpoint58d_post, checkpoint58a_post, checkpoint58y_post, checkpoint58t_post, checkpoint58m_post, checkpoint58w_post, checkpoint58o_post, checkpoint58p_post, checkpoint58q_post, checkpoint58e_post, checkpoint58r_post, checkpoint58n_post, checkpoint58k_post, checkpoint58v_post, checkpoint58l_post, checkpoint58g_post, checkpoint58x_post, checkpoint58h_post, checkpoint58j_post, checkpoint58i_post, checkpoint58c_post, checkpoint58u_post, checkpoint58s_post
Changes since 1.4: +19 -15 lines
o Fix I/O inconsistency in pkg/rbcs: replace precFloat32 by readBinaryPrec
o Remove 3-dim. relaxation code from pkg/exf (now use only pkg/rbcs)
o Thanks to Tom Haine for testing!

1 c $Header: /u/gcmpack/MITgcm/pkg/exf/exf_getclim.F,v 1.4 2005/12/13 19:46:46 heimbach Exp $
2
3 #include "EXF_OPTIONS.h"
4
5
6 subroutine exf_getclim(
7 I mytime,
8 I myiter,
9 I mythid
10 & )
11
12 c ==================================================================
13 c SUBROUTINE exf_getclim
14 c ==================================================================
15 c
16 c o Get the climatogy fields for the current time step. The switches
17 c for the inclusion of the individual forcing components have to
18 c be set in EXF_OPTIONS.h .
19 c
20 c A note on surface fluxes:
21 c
22 c The MITgcmUV's vertical coordinate z is positive upward.
23 c This implies that a positive flux is out of the ocean
24 c model. However, the wind stress forcing is not treated
25 c this way. A positive zonal wind stress accelerates the
26 c model ocean towards the east.
27 c
28 c started: Ralf.Giering@FastOpt.de 25-Mai-2000
29 c
30 c ==================================================================
31 c SUBROUTINE exf_getclim
32 c ==================================================================
33
34 implicit none
35
36 c == global variables ==
37 #include "EEPARAMS.h"
38 #include "SIZE.h"
39 #include "exf_fields.h"
40 #include "exf_clim_fields.h"
41
42 c == routine arguments ==
43
44 c mythid - thread number for this instance of the routine.
45
46 integer mythid
47 integer myiter
48 _RL mytime
49
50 c == local variables ==
51
52 c == end of interface ==
53
54 #ifdef ALLOW_CLIMSST_RELAXATION
55 c Get values of climatological sst fields.
56 call exf_set_climsst ( mytime, myiter, mythid )
57 c-- Update the tile edges.
58 _EXCH_XY_R8(climsst, mythid)
59 #endif
60
61 #ifdef ALLOW_CLIMSSS_RELAXATION
62 c Get values of climatological sst fields.
63 call exf_set_climsss ( mytime, myiter, mythid )
64 c-- Update the tile edges.
65 _EXCH_XY_R8(climsss, mythid)
66 #endif
67
68 cph FOLLOWING CODE OBSOLETE
69 cph 3-dim. relaxation code moved to pkg/rbcs
70 cph
71
72 #ifdef ALLOW_CLIMTEMP_RELAXATION
73 c Get values of climatological temperature fields.
74 cph call exf_set_climtemp ( mytime, myiter, mythid )
75 c-- Update the tile edges.
76 cph _EXCH_XYZ_R8(climtemp, mythid)
77 #endif
78
79 #ifdef ALLOW_CLIMSALT_RELAXATION
80 c Get values of climatological salinity fields.
81 cph call exf_set_climsalt ( mytime, myiter, mythid )
82 c-- Update the tile edges.
83 cph _EXCH_XYZ_R8(climsalt, mythid)
84 #endif
85
86 end

  ViewVC Help
Powered by ViewVC 1.1.22