FLDget_cell_faces


Synopsis

get the cell face information in one cell_set within a Cells Grid


int FLDget_cell_faces (
OMobj_id cell_set,
int *nfaces,
int **face_nnodes,
int **face_corner_nnodes,
int **node_list,
int *size);

Description

FLDget_cell_faces gets all the cell face information in one cell_set array element within a Cells Grid. This includes the number of faces, the cell_face_nnodes array, the cell_face_corner_nnodes array, and the cell_face_connect array.

Note: These values are set automatically when the cell_set is created with FLDadd_cell_set or FLDset_cell_set. See the individual cell type descriptions.

Parameters

OMobj_id cell_set

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

int *nfaces

A pointer to an integer in which the number of faces is returned.

int **face_nnodes

A pointer to a pointer to integers. Upon return, *face_nnodes will be filled in with a pointer to the cell_face_nnodes array. Call ARRfree() on this pointer when you are done using it.

int **face_corner_nnodes

A pointer to a pointer to integers. Upon return, *cell_face_corner_nnodes will be filled in with a pointer to the face_corner_nnodes array. Call ARRfree() on this pointer when you are done using it.

int **node_list

A pointer to a pointer to integers. Upon return, *cell_face_connect will be filled in with a pointer to the node_list array. Call ARRfree() on this pointer when you are done using it.

int *size

A pointer to an integer in which the size of the cell_face_connect array is returned.

Example

modules/ext_edge.c
modules/ext_face.c

Related routines