/[MITgcm]/MITgcm/pkg/mnc/MNC_SIZE.h
ViewVC logotype

Contents of /MITgcm/pkg/mnc/MNC_SIZE.h

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


Revision 1.1 - (show annotations) (download)
Fri Oct 22 21:30:31 2004 UTC (19 years, 8 months ago) by edhill
Branch: MAIN
CVS Tags: checkpoint57o_post, checkpoint57m_post, checkpoint57k_post, checkpoint57d_post, checkpoint57g_post, checkpoint57b_post, checkpoint57c_pre, checkpoint55j_post, checkpoint56b_post, checkpoint57i_post, checkpoint57e_post, checkpoint57g_pre, checkpoint56c_post, checkpoint57f_pre, checkpoint57a_post, checkpoint57a_pre, checkpoint55i_post, checkpoint57, checkpoint56, eckpoint57e_pre, checkpoint57h_done, checkpoint57n_post, checkpoint57p_post, checkpoint57f_post, checkpoint57c_post, checkpoint57j_post, checkpoint57h_pre, checkpoint57l_post, checkpoint57h_post, checkpoint56a_post
File MIME type: text/plain
 o fix internal buffer overrun and add check so it never happens again
   without a proper error message

1 C $Header: $
2 C $Name: $
3 C
4
5 C The following is the size of the buffer used by MNC to read and
6 C write portions to/from NetCDF files. The sizes of all reads and
7 C writes are checked and MNC will terminate with a sensible error
8 C message if the buffer is not large enough for all reads/writes.
9
10 INTEGER MNC_MAX_BUFF
11 PARAMETER ( MNC_MAX_BUFF = 5000 + sNx + 2*OLx + sNy + 2*OLy )
12
13 CEH3 ;;; Local Variables: ***
14 CEH3 ;;; mode:fortran ***
15 CEH3 ;;; End: ***

  ViewVC Help
Powered by ViewVC 1.1.22