NAME

cxQmeshNumPoints - return the number of points in a quadrilateral mesh with interpolated centers
#include <cx/Qmesh.h>

long cxQmeshNumPoints(long m, long n)
integer function cxQmeshNumPoints( m, n )
integer m, n
m
Number of grid points in I (first) dimension.
n
Number of grid points in J (second) dimension.
Returns the number of points in a quadrilateral mesh with interpolated centers. 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.

cxGeoTrisDefine(3E), cxGeoGridDefine(3E), cxQmeshCoords(3E), cxQmeshData(3E), cxQmeshNumTris(3E), cxQmeshNextInd(3E),
Last modified: Mon Nov 6 16:33:47 GMT 2000
[ Documentation Home ]
© The Numerical Algorithms Group Ltd, Oxford UK. 1996

Website Feedback

If you would like a response from NAG please provide your e-mail address below.

(If you're a human, don't change the following field)
Your first name.
CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
Image CAPTCHA
Enter the characters shown in the image.