BUILDIND_1.2 - Facility to construct .ind files for DROG3DDT and PSEUDO-QUODDY Read the vizicq4.readme first to get a feel for the GUI layout. BUILDIND is similar to VIZICQ4. BUILDIND provides a GUI-based facility for building the input file for DROG3DDT and PSEUDO-QUODDY * Load a mesh - See vizicq4.readme. * Contouring the bathymetry - Enter the values of the bathymetry to contour in the "Z-Contours:" space. The default is to compute contours over the range of the bathymetry, at 5 values equally spaced between the min and max depths. "linspace(zmin,zmax,7)", the default, gives the following for the bank150 mesh; -150. -128.3 -106.7 -85. -63.3 -41.7 -20. Note that the first and last values are not used. Any string can be entered that evaluates in MATLAB to a vector. For example, to set contour values of -120 -90 -60 -30, enter [-120 -90 -60 -30] or [-120:30:-30]. Contours can be labled (press the LabC button) or deleted (press the DelC button). * Generating drogue starting positions - On the right of the main figure, there are 4 mutually exclusive buttons. Pressing any one of these selects that basic distribution of particles for the .ind file. Once selected, enter any changes to the default parameters in the appropriate, corresponding spaces. There are 4 types of "distrubutions". 1) Box - rectangular, defined by (Nx,Ny) the number of points in the x,y dir. The Z: space allows multiple vertical levels to be generated. The default is a surface layer (at z=-1 meters), 25 x 25. The mouse is used to drag a box on the FEM grid that the (Nx,Ny) area will cover. Example: (Nx,Ny)=(25,25), Z = [-1 -15] will generate 2 layers at depths of 1 and 15 meters below z=0. 2) Cloud - The mouse is used to specify the horizontal center of mass of the cloud, with variances in the (x,y,z) directions of (Sx,Sy,Sz). The (Sx,Sy) values are in grid coordinates; i.e., meters if the grid is cartesian, or in degrees if the grid is in Lon,Lat. The "cloud" thus consists of N locations in an ellipsoid. 3) Line - The mouse is used to specify a line of drogues, multi-leveled if Z: contains more than one depth value. Alternatively, the end-points can be explicitly provided. 4) Scatter - this option reads a file of starting positions in 3-column format (x,y,z). The exact locations of the drogues can be fine-tuned with the rotation/translation buttons at the bottom of the right side of the main figure. * Pressing another (or the same) distribution button ERASES the current set of coordinates. I.e., two boxes, or a box and cloud can't be specified simultaneously, for example. However, two separate files could be generated and merged by hand. * Outputing the .ind file - To see what the final (horizontal) distribution of drogues looks like, press the "Filter Ind" red button in the top right corner. This determines which drogue locations are within the FEM domain, both horizontally and vertically. To write the .ind file, press the "Write Ind" button. This automatically filters the starting locations (as above) and opens a final figure to allow editing of the default .ind file parameters. The starting time for the drogue release is also specified here, in (YEAR, YEARDAY) format. In this version, only one starting time can be specified and it applies to all drogues. Clearly, the .ind file can be editted by hand to specific starting times, easy enough for a small numnber of drogues.