NAME
cxQmeshData
- interpolate data values from grid points to cell centers
C SPECIFICATION
#include <cx/Qmesh.h>
void cxQmeshData(long m, long n, cxPrimType primType, long NDV, void *points)
FORTRAN SPECIFICATION
subroutine cxQmeshData( m, n, primType, NDV, points )
integer m, n, primType, NDV
integer points(*)
PARAMETERS
-
m
-
Number of grid points in I (first) dimension.
-
n
-
Number of grid points in J (second) dimension.
-
primType
-
Enumerated integer value giving the type of the grid points data values.
-
NDV
-
Number of data variables at each grid location.
-
points
-
Array of m x n x NDV data values of the grid points, with
type specified by primType.
DESCRIPTION
cxQmeshData interpolates the data values of the grid cell centers
from their corner data values in the m x n grid, whose
grid data values must be stored in points on input. The
answers are appended to points, which should be allocated to
contain NDV words times the number of points returned
by cxQmeshNumPoints.
The interpolated data values are stored in an order compatible with
calls to routines cxQmeshCoords, cxQmeshTris, and their
auxiliary routines.
SEE ALSO
cxGeoTrisDefine(3E),
cxGeoGridDefine(3E),
cxQmeshCoords(3E),
cxQmeshNumPoints(3E),
cxQmeshNumTris(3E),
cxQmeshNextInd(3E),
Last modified: Mon Nov 18 13:53:09 GMT 1996
[ Documentation Home ]
© The Numerical Algorithms Group Ltd, Oxford UK. 1996