NAME

cxQmeshCoords - interpolate coordinates from grid points to cell centers

C SPECIFICATION

#include <cx/Qmesh.h>

void cxQmeshCoords(long m, long n, float *points)

FORTRAN SPECIFICATION

subroutine cxQmeshCoords( m, n, points )
integer m, n
real points(*)

PARAMETERS

m
Number of grid points in I (first) dimension.
n
Number of grid points in J (second) dimension.
points
Array of m x n x 3 floating point coordinates of the grid points.

DESCRIPTION

cxQmeshCoords interpolates the coordinates of the grid cell centers from their corner coordinates in the m x n grid, whose grid coordinates must be stored in points on input. The answers are appended to points, which should be allocated to contain three floating point words times the number of points returned by cxQmeshNumPoints.

The interpolated coordinates are stored in an order compatible with calls to routines cxQmeshData, cxQmeshTris, and their auxiliary routines.

SEE ALSO

cxGeoTrisDefine(3E), cxGeoGridDefine(3E), cxQmeshData(3E), cxQmeshNumPoints(3E), cxQmeshNumTris(3E), cxQmeshNextInd(3E),
Last modified: Mon Nov 18 13:53:08 GMT 1996
[ Documentation Home ]
© The Numerical Algorithms Group Ltd, Oxford UK. 1996