FLDget_cell_ndim


Synopsis

get the dimensionality of a one cell_set within a Cells Grid


int FLDget_cell_ndim (
OMobj_id cell_set,
int *ndim);

Description

FLDget_cell_ndim gets the dimensionality of one Cell_Set cell_set array element within a Cells Grid.

Note: The dimensionality is set automatically when the cell_set is created with FLDadd|set_cell_set.

Parameters

OMobj_id cell_set

The OMobj_id of one element within the cell_set array of a Cells Grid, as returned by the FLDget_cell_set routine.

int *ndim

A pointer to an integer in which the dimensionality will be returned.

0 = zero dimensionality (Point)
1 = one dimension (Line, Line2, Polyline)
2 = two dimensions (Tri, Tri2, Polytri, Quad, Quad2,Polyhedron)
3 = three dimensions (Tet, Tet2, Hex, Hex2, Pyr, Pyr2, Prism, Prism2)

Example

modules/ext_edge.c
modules/ext_face.c

Related routines