NAME

cxQmeshNumPoints - return the number of points in a quadrilateral mesh with interpolated centers

C SPECIFICATION

#include <cx/Qmesh.h>

long cxQmeshNumPoints(long m, long n)

FORTRAN SPECIFICATION

integer function cxQmeshNumPoints( m, n )
integer m, n

PARAMETERS

m
Number of grid points in I (first) dimension.
n
Number of grid points in J (second) dimension.

FUNCTION RETURN VALUE

Returns the number of points in a quadrilateral mesh with interpolated centers.

DESCRIPTION

cxQmeshNumPoints is a utility function to compute the number of points in a quadrilateral mesh with interpolated centers. This number is m x n + (m-1) x (n-1).

An array containing all the points in such a quadrilateral mesh will have cxQmeshNumPoints entries, storing the grid points first, followed by the cell centers, with both groups following the same row ordering.

An array of length cxQmeshNumPoints may be used to add colors to the triangle vertices if desired.

SEE ALSO

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