#
`scat2d` and `scat3d`

`scat2d` and `scat3d` perform interpolation of scattered data. An input data file, containing both locations at which data is known and the data itself, is read. The points are triangulated (as part of a larger Cartesian box); swapping is performed to obtain reasonable connectivity. A tree structure containing the data points is constructed to facilitate interpolation. A second set of points is read in; these are the target locations for the interpolation. Data is interpolated to these points and written out. For file formats, see Section 3.8.

The command line arguments for `scat2d` and `scat3d` are:

- [-i `basefilename`]

  This argument is mandatory and specifies the stem for all file names used by the program. The input file containing the data to be interpolated is `basefilename.data`; the input file containing locations to which to interpolate the data is `basefilename.points`; the optional output volume mesh file is `basefilename.vmesh.out`; the message file is `basefilename.msg`; and the output file for interpolated data is `basefilename.out`.

- [-m] This optional argument directs `scat2d`/`scat3d` to save the 2D/volume mesh it generates in `basefilename.mesh`/`basefilename.vmesh`. Default: don't save mesh.