d. CARD 4 - FORMAT (2F10.5). 



DX2 - Mew grid cell size in the x-direction (0.14) 



DY2 - New grid cell size in the y-direction (0.15) 



Note: The parameters DX, DY, DX2, and DY2 must all 

 have consistent units. 



114. In addition to bathymetry and grid information, one other input 

 file is required. This is the file INTPUPD which contains any source code 

 changes and must include information specifying the number of cells contained 

 in both the old and new grids. An example of this file is shown in Figure 16. 

 Variables in the PARAMETER statements are defined here; and their values, 

 taken from the example, are shown in parentheses: 



IQ - Number of cells in the x-direction for the old grid (35) 



JQ - Number of cells in the y-direction for the old grid (30) 



IQ2 - Number of cells in the x-direction for the new grid (50) 



JQ2 - Number of cells in the y-direction for the new grid (40) 



KQ - Larger of the two products IQ*JQ or IQ2*JQ2 (2000) 



Modifications to change the procedure or format for reading the bathymetry 

 into the program should be included in this file. Figure 16 shows an example 

 of such changes. Here, a format different from the one in the program was 

 desired. The section of source code which reads old grid bathymetry is con- 

 tained in the lines designated by "INTERP0.15" through "INTERP0.18" in Appen- 

 dix I. 



AID HODS 



*D PARtfUjPARAM.S 



PAPAMETER( I Q=35, JQ=30) 



PARAMETER ( I Q2=50,JQ2=40) 



PARAMETER(KQ=2000) 

 *D INTERP0.18 

 11 FORKATU5F5.0) 



Figure 16. Sample 

 "Update" file for 

 grid interpolation 



115. There are three output files created as a result of running the 

 program. The file INTPDAY is a dayfile containing a diary of events which 

 occurred on the front-end CYBER 865 machine. This is saved as a permanent 

 file on the user's file space. A file called INTP0UT is created on the 

 CYBER 205 and is saved permanently. It contains a compile listing, execution 

 information, and printed output created during the run. The printed output 



64 



