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

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

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


Revision 1.2 - (hide annotations) (download)
Mon Jan 2 21:17:02 2006 UTC (18 years, 5 months ago) by heimbach
Branch: MAIN
CVS Tags: checkpoint58l_post, checkpoint58e_post, checkpoint58n_post, checkpoint58h_post, checkpoint58q_post, checkpoint58j_post, checkpoint58, checkpoint58f_post, checkpoint58d_post, checkpoint58c_post, checkpoint58a_post, checkpoint58i_post, checkpoint58g_post, checkpoint58o_post, checkpoint58k_post, checkpoint58p_post, checkpoint58b_post, checkpoint58m_post
Changes since 1.1: +8 -1 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 heimbach 1.2 c $Header: /u/gcmpack/MITgcm/pkg/exf/exf_check.F,v 1.1 2004/10/11 16:41:01 heimbach Exp $
2 heimbach 1.1
3     #include "EXF_OPTIONS.h"
4    
5     subroutine exf_check( mythid )
6    
7     c ==================================================================
8     c SUBROUTINE exf_check
9     c ==================================================================
10     c
11     implicit none
12    
13     c == global variables ==
14    
15     #include "EEPARAMS.h"
16     #include "SIZE.h"
17     #include "PARAMS.h"
18     #include "FFIELDS.h"
19     #include "GRID.h"
20    
21     #include "exf_param.h"
22     #include "exf_constants.h"
23     #include "exf_fields.h"
24     #include "exf_clim_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 heimbach 1.2 #ifdef ALLOW_CLIMTEMP_RELAXATION
81     STOP 'ALLOW_CLIMTEMP_RELAXATION no longer supported. Use pkg/rbcs'
82     #endif
83 heimbach 1.1
84    
85 heimbach 1.2 #ifdef ALLOW_CLIMSALT_RELAXATION
86     STOP 'ALLOW_CLIMSALT_RELAXATION no longer supported. Use pkg/rbcs'
87     #endif
88    
89 heimbach 1.1 end

  ViewVC Help
Powered by ViewVC 1.1.22