Previous Next Up Title Contents Index Functions Index Top Library

2D MESH CHECKER

tcheck_mesh2D


CALL SEQUENCE

void tcheck_mesh2D (mesh, epsilon, status)

INPUT PARAMETERS

Tmesh2D	*mesh;
Pfloat	epsilon;

OUTPUT PARAMETERS

Pint	*status;

ARGUMENTS

mesh
2D mesh
epsilon
Threshold to compare two float values
status
Error status.

EFFECT

This utility function checks if a mesh is compliant to PHIGURE mesh specifications. Rectangular, polar, sector, quadrangular and triangular meshes may be checked with this function. This function reports check status and error message(s) explaining error(s) encountered in the mesh. Error messages are output to standard PHIGURE error message file (see topen_phigure)

If the mesh is not compliant status is 0, else 1.

epsilon is useful to compare two floating point values. Two floating point values are equal if the absolute value of their difference is less than epsilon.

This function does not check meshes with the following types:

Following tests are performed:

- rectangular mesh : TRECTANGULAR_MESH

- quadrangular mesh : TQUADRANGULAR_MESH

- polar mesh : TPOLAR_MESH

- sector mesh : TSECTOR_MESH

- triangular mesh : TTRIANGULAR_MESH


Previous Next Up Title Contents Index Functions Index Top Library