/[MITgcm]/MITgcm/pkg/grdchk/grdchk_check.F
ViewVC logotype

Contents of /MITgcm/pkg/grdchk/grdchk_check.F

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


Revision 1.1 - (show annotations) (download)
Sat Sep 3 04:17:57 2005 UTC (18 years, 8 months ago) by heimbach
Branch: MAIN
CVS Tags: checkpoint58l_post, checkpoint57t_post, checkpoint58e_post, checkpoint57v_post, checkpoint58u_post, checkpoint58w_post, checkpoint57s_post, checkpoint58r_post, checkpoint57y_post, checkpoint58n_post, checkpoint58x_post, checkpoint58t_post, checkpoint58h_post, checkpoint57y_pre, checkpoint58q_post, checkpoint58j_post, checkpoint59e, checkpoint59d, checkpoint59g, checkpoint59f, checkpoint59a, checkpoint59c, checkpoint59b, checkpoint59h, checkpoint57r_post, checkpoint59, checkpoint58, checkpoint58f_post, checkpoint57x_post, checkpoint58d_post, checkpoint58c_post, checkpoint57w_post, checkpint57u_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
Add more checks for jpl ;o)

1 C $Header: /u/gcmpack/MITgcm/pkg/grdchk/grdchk_init.F,v 1.7 2003/10/27 22:32:55 heimbach Exp $
2
3 #include "CTRL_CPPOPTIONS.h"
4
5
6 subroutine grdchk_check( mythid )
7
8 c ==================================================================
9 c SUBROUTINE grdchk_check
10 c ==================================================================
11 c
12 c o check some gradient check parameter settings for consistency
13 c
14 c ==================================================================
15 c SUBROUTINE grdchk_check
16 c ==================================================================
17
18 implicit none
19
20 c == global variables ==
21
22 #include "EEPARAMS.h"
23 #include "SIZE.h"
24 #include "GRID.h"
25 #include "ctrl.h"
26 #include "grdchk.h"
27
28 c == routine arguments ==
29
30 integer mythid
31
32 #ifdef ALLOW_GRDCHK
33 c == local variables ==
34
35 C msgBuf - Informational/error meesage buffer
36 CHARACTER*(MAX_LEN_MBUF) msgBuf
37
38 c == end of interface ==
39
40 WRITE(msgBuf,'(A)') 'CTRL_CHECK: ctrl package'
41 CALL PRINT_MESSAGE( msgBuf, standardMessageUnit,
42 & SQUEEZE_RIGHT , 1)
43
44 if ( ncvarindex(grdchkvarindex) .LE. 0 ) then
45 WRITE(msgBuf,'(A,I4)')
46 & 'Control variable not enabled for grdchkvarindex = ',
47 & grdchkvarindex
48 CALL PRINT_ERROR( msgBuf , 1)
49 STOP 'ABNORMAL END: S/R GRDCHK_CHECK'
50 endif
51
52 #endif /* ALLOW_GRDCHK */
53
54 end
55

  ViewVC Help
Powered by ViewVC 1.1.22