RECURV Version 1.0

Author: Stuart E. Rogers

Usage: recurv [-2d] [-f infile] [-o outfile] [-cpdist distfile] [-smooth] [-smooth2] [-jmaxnew j] [-nztarg n] [-nzdist n]

Description:
	The recurv program is used to redistribute points on curves
	or surface grids.  The redistribution is performed using
	a monotone-cubic-spline fit of the original grid-line(s) in
	the j-direction.  By default, the grid-spacing distribution 
	is determined by prompting for anchor points.  For each
	anchor point, one is prompted for jold, jnew, dsk1, dskmax; dskmax
        is not required.
        jold refers to a j-index on the original curve, jnew is
        the j-index of a point at the identical location on the new curve,
        dsk1 is the arc-length spacing at the point in the new curve.
        If the input grid is a surface, the dsk1 spacing is used at the
        k=1 line; dskmax is used at the k=kmax line, and for the
        remaining k=constant lines, the spacing is interpolated from dsk1
        and dskmax.

	The input files (infile, distfile) must be PLOT3D unformatted single
	or multi-zone grid files.  


Arguments:
  -2d:	Indicates the the input/output file(s) should be two-dimensional.
	By default, three-dimensional files are assumed.

  -jmaxnew j: Determines the j-dimension of the new grid.  By default,
	this will be the same as the dimension of the input zone, or the
	j-dimension of the grid used for copying the spacing-distribution
	function (distfile).

  -f infile:	The input grid file, a PLOT3D unformatted single or multi-zone
	grid file.  Redistribution will be done on only one zone, denoted by
	nztarg.

  -cpdist distfile:  causes the program to read in the grid in distfile
	and use its (scaled) spacing-distribution function to generate the
	new grid.  This should be a PLOT3D unformatted single or multi-zone
	grid file.  If it is a multizone file, use the input variable
	nzdist to denote the zone number to be used for the 
	spacing-distribution function.

  -smooth: this option causes the program to smooth the point distribution
	in the input curve, attempting to maintain the same grid density
	and only to remove discontinuities in the grid spacing.

  -smooth2: like smooth, except it does not keep the spacing distribution
	at the end points.

  -o outfile: The output grid file containing the new grid.  This will be
	written as a PLOT3D unformatted single zone grid file.

  -nztarg n: The zone number of the zone in infile which will be used
	for the redistribution.  Default: n=1.

  -nzdist n: The zone number of the zone in distfile which will be used
	for the spacing-distribution function.  Default: n=1.

	

Last modified: Thu Oct 29 10:41:53 1998