IV. COMPUTER PROGRAM DOCUMl^NTATION FOR PROGRAM- SSURGE; 

 Program Purpose. 



The purpose o£ the program is to numerically simulate the storm 

 surge in orthogonal curvilinear coordinates with the vertically 

 integrated form o£ the quasi-linear long-wave equations. 



2. Program Description. 



The program is written in FORTRAN IV language. It is assumed 

 that the conformal mapping o£ the region under investigation has 

 been completed. The transformation coefficients for three regions 

 of the continental shelf of the Gulf of Mexico and two regions of 

 the eastern seaboard are provided in Appendixes A and E in Volume I 

 of this report. 



An interfacing program is required which inputs the coefficients 

 and generates a curvilinear computing grid to the user's satisfac- 

 tion. The output from the program (and, in part, also the input to 

 SSURGE) must be the scale factors, grid point locations, and, at each 

 grid point, the orientation of the g-axis to the x-axis. 



The Program SSURGE is composed of: 



MAIN 



SUBROUTINE ZERO 



Defines constants and interfaces the 

 subroutines . 



Initializes all arrays to zero. 



SUBROUTINE FIELD Reads data and writes the water depth field 

 relative to mean sea level, the wind 

 field parameters and the storm positions. 



SUBROUTINE WINDF Calculates the wind and atmospheric pressure 

 fields. 



SUBROUTINE ELEV Computes the water level anomaly, H . 



SUBROUTINE FLUX Computes transports, Q^ and Q . 



SUBROUTINE DRAWl Outputs H and vertically averaged water 



velocities, Qc*/D and CL^/D , 



at hourly time intervals and saves the water 

 level anomaly at prescribed grid locations 

 for output at program completion. 



35 



