APPENDIX B: SAMPLE RUN 



This appendix gives a brief discussion of the input-output, then lists an input deck 

 and shows the resulting output. The input deck is really three separate runs that are stacked 

 to run consecutively. The input to a single run consists of several parts given in table Bl. 

 The table gives the number of cards and the location of the FORTRAN input statements in 

 Program MAIN. The last three of these are open-ended. That is, more modes, receiver 

 depths, or ranges are read in until a blank card specifies the end of the list. A blank range 

 card sends the program back to the beginning. A negative range sends the program back to 

 read a new source and new receivers after reading another key card. The program halts 

 when a blank "n and freq" card is encountered. 



Table B2 gives most of the functions of the key card by which integers are read into 

 control keys 1-9. Some of these will require additional information, which is read in imme- 

 diately following the key card. 



The output of the program is usually printed through FORTRAN print statements. 

 Cards are also punched when key 5 is 10 or key 8 is 2, 3, or 4. In the first case each card 

 contains a complete eigenvalue that can be read into future runs. 



When key 8 = 2, propagation losses for 25 consecutive ranges per card are punched 

 for each receiver depth, with a maximum of 5 receiver depths. The losses can be read into a 

 plot program with a format of (5X,25F3.1). Each loss must then be subtracted from 140. 

 This format allows losses to tenths of a dB from 40.1 to 140.0 dB. 



When key 8 is 3, losses for up to 26 receiver depths are punched on one card for 

 each range. These cards can be used in a contour plotting program. They can be read with a 

 format of (26F3.1) and must also be subtracted from 140. 



Table Bl . Input cards to the normal mode program. 









Locafion 









in Program 



Input 



Function 



Number of Cards 



MAIN 



Control keys 



Selects options 



1 or more 



37-65 



n and freq 



Determines number of layers and fre- 

 quency; also halts program 



1 



66 



Profile 



Specifies depths, sound speeds, gradients, 

 attenuations, and densities 



7 



71-85 



Modes 



Searches for or specifies modes 



1 or more 



224 



Source and receivers 



Specifies a source depth and one or 

 more receiver depths 



2 or more 



461-463 



Ranges 



Specifies a sequence of ranges; also 

 directs continuation 



1 or more 



616 



74 



