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

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

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


Revision 1.5 - (show annotations) (download)
Wed Apr 18 19:55:34 2007 UTC (17 years, 2 months ago) by heimbach
Branch: MAIN
CVS Tags: checkpoint59a, checkpoint59
Changes since 1.4: +1 -2 lines
o Remove exf_clim code.
o Split exf namelist

1 C $Header: /u/gcmpack/MITgcm/pkg/exf/exf_check.F,v 1.4 2007/04/16 23:27:20 jmc Exp $
2 C $Name: $
3
4 #include "EXF_OPTIONS.h"
5
6 subroutine exf_check( mythid )
7
8 c ==================================================================
9 c SUBROUTINE exf_check
10 c ==================================================================
11 c
12 implicit none
13
14 c == global variables ==
15
16 #include "EEPARAMS.h"
17 #include "SIZE.h"
18 #include "PARAMS.h"
19 #include "FFIELDS.h"
20 #include "GRID.h"
21
22 #include "EXF_PARAM.h"
23 #include "EXF_CONSTANTS.h"
24 #include "EXF_FIELDS.h"
25 c == routine arguments ==
26
27 c mythid - thread number for this instance of the routine.
28
29 integer mythid
30
31 c == local variables ==
32
33 integer bi,bj
34 integer i,j
35 integer jtlo
36 integer jthi
37 integer itlo
38 integer ithi
39 integer jmin
40 integer jmax
41 integer imin
42 integer imax
43
44 c == end of interface ==
45
46 jtlo = mybylo(mythid)
47 jthi = mybyhi(mythid)
48 itlo = mybxlo(mythid)
49 ithi = mybxhi(mythid)
50 jmin = 1-oly
51 jmax = sny+oly
52 imin = 1-olx
53 imax = snx+olx
54
55 c check for consistency
56 if (.NOT.
57 & (exf_iprec .EQ. 32 .OR. exf_iprec .EQ. 64)
58 & ) then
59 stop 'stop in exf_readparms: value of exf_iprec not allowed'
60 else if (.NOT.
61 & (exf_yftype .EQ. 'RS' .OR.
62 & exf_yftype .EQ. 'RL')
63 & ) then
64 stop 'stop in exf_readparms: value of exf_yftype not allowed'
65 end if
66
67 if ( useCubedSphereExchange ) then
68 cph if ( uvecfile .NE. ' ' .and. vvecfile .NE. ' ' ) then
69 c some restrictions that can be relaxed later on
70 cph if ( uvecstartdate .ne. vvecstartdate .or.
71 cph & uvecperiod .ne. vvecperiod ) then
72 cph print*,'For useCubedSphereExchange, S/R exf_set_uv.F'
73 cph print*,'assumes that the u and v wind or wind stress'
74 cph print*,'files have the same startdate and period.'
75 cph stop
76 cph endif
77 cph endif
78 endif
79
80 #ifdef USE_EXF_INTERPOLATION
81 if ( usingCartesianGrid ) then
82 print*,'USE_EXF_INTERPOLATION assumes latitude/longitude'
83 print*,'input and output coordinates. Trivial to extend to'
84 print*,'cartesian coordinates, but has not yet been done.'
85 stop
86 endif
87 #endif
88
89 #ifdef ALLOW_CLIMTEMP_RELAXATION
90 STOP 'ALLOW_CLIMTEMP_RELAXATION no longer supported. Use pkg/rbcs'
91 #endif
92
93
94 #ifdef ALLOW_CLIMSALT_RELAXATION
95 STOP 'ALLOW_CLIMSALT_RELAXATION no longer supported. Use pkg/rbcs'
96 #endif
97
98 end

  ViewVC Help
Powered by ViewVC 1.1.22