tempus System Class VF3toGF
VF3toGF is part of the WaveTrain system class library.

Takes three input vectors (x coordinate, y coordinate, & value) & outputs z=grid(x,y).

Usually the Fortran library routine IDBVIP() is called to do the interpolation by triangulation and bivariate quintic polynomial fitting. If too few (<9) input values are provided for interpolation, the mean of the input values is used to specify a uniform output grid and a warning is issued. The parameter md is used to reduce the amount computation in IDBVIP(), when it is known that input or input and output coordinates will not change. Set md=3 if both input and output coordinates are constant; md=2 if only input coordinates are constant; md=1 if input coordinates are not constant.

If the (x,y) coordinates appear to form a 2x2 or larger regular rectangular mesh, then the input data is transformed to a Grid< float> and the grid is directly interpolated to the output grid geometry. This avoids the computational cost of IDBVIP() when it is not required. If md=3 and the initial input coordinates are on a regular grid, then this grid is assumed for all further inputs no further checking is done.

Tempus Block Diagram Editor Snapshot
Parameters
gg  GridGeometry   Output grid geometry   gwoom(512,0.01)
md  int   Mode of Computation (Must be 1, 2, or 3)   1
Inputs
x  Vector<float>   X coordinates   
y  Vector<float>   Y coordinates   
v  Vector<float>   Values at (x,y)   
Outputs
g  Grid<float>   Input values interpolated onto output grid   
Subsystems


Last Saved: Mon Oct 31 08:26:11 MST 2005 by TVE version 2009B