SMOSURF Version 1.0a

Authors: Stuart E. Rogers

Usage:

	smosurf [-f infile] [-o outfile] [-nztarg n]
                [-jbeg jb] [-jend je]
                [-kbeg kb] [-kend ke]
                [-lbeg lb] [-lend le]
		[-jklline jkl] [-relax r]

Description:

This program is used smooth the spacing distribution on a patch of a grid surface by redistributing the points along a grid line. The redistribution is performed using a monotone-cubic-spline fit of the original grid-lines in one of the three computational directions, j,k, or l. The new points will (nearly) lie on the original grid lines in the chosen direction. The points at the subset boundaries are not allowed to move. The amount of movement allowed is increased for interior points further away from the subset boundaries.

Arguments:

  -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.

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

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

  -jbeg jb -jend je
  -kbeg kb -kend ke
  -lbeg lb -lend le:
	Denotes subset of grid-lines to be smoothed.  Negative indices are
	allowed, for example: if je<0, then je=jmax+1+je.
	Default: jb=kb=lb=1, je=ke=le=-1.

  -jklline jkl: jkl=1,2, or 3. Denotes the family of grid lines along which
	the redistribution will take place.
	Default: jkl=2.

  -relax r: relaxation factor that determines the rate of increase of allowed
	movement for points increasingly further away from the subset boundary.
	Allowable values: 0 < r <= 1.0
	Default: 0.1


Last modified: Wed Apr 1 16:10:42 1998