Cell_Set (specific cell types) access summary


Use these routines...

 

To access these subobjects...

 

 

Cell_Set celltype /* where celltype is Point, Line, Tri, etc. */

int FLDget_cell_set_nnodes (
OMobj_id cell_set,
int *cell_nnodes);

cell_nnodes = n; /* number of nodes per cell */

int FLDget_cell_corner_
nnodes (
OMobj_id cell_set,
int *cell_nnodes);

int cell_corner_nnodes = q; /*for cell_order =2 only.
# corner nodes per cell*/

int FLDget_cell_ndim (
OMobj_id cell_set,
int *ndim);

cell_ndim = m; /*cell dimensionality */

 

cell_order = p; /* cell's order: 1=nodes only, 2=mid-edge nodes */

int FLDget_poly_flag(
OMobj_id cell_set;
int *poly_flag);
int FLDset_poly_flag(
OMobj_id cell_set;
int poly_flag);

poly_flag = 0;   /* flag used for polylines, polytriangles, polyhedra*/

int FLDget_cell_type (
OMobj_id cell_set,
int *cell_type);
int FLDset_cell_type (
OMobj_id cell_set,
int cell_type);

int+virtual cell_type = q; /* 1=Point, 2=Line, 3=Polyline,
4=Tri, 5=Quad, 6=Tet, 7=Hex,
8=Prism, 9=Pyr, 10=Polytri */

int FLDget_cell_set_name (
OMobj_id cell_set,
char *name,
int size);
To set, use:
FLDadd_cell_set
or FLDset_cell_set

string+virtual cell_name = cell_name; /* "Point", "Line", etc. */

int FLDget_cell_node_uvw (
OMobj_id cell_set,
float **uvw);

float+virtual node_uvw[s][t];

 

2D Cells end here. 3D cells include the fields below:

int FLDget_cell_set_nfaces (
OMobj_id cell_set,
int *cell_nfaces);

int+virtual cell_nfaces = r; /* number of faces: Tet=4, Pyr=5,
Hex=6, Prism=5 */

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

int+virtual cell_face_nnodes[cell_faces] = {nodes_per_face};
/*A 1D array that defines how many nodes per cell face */

int+virtual cell_face_connect[sum(cell_face_nnodes)] = {order of nodes};
/* a 1D array that defines the face connectivity */

int+virtual cell_face_corner_nnodes[nfaces]] = {corner nodes per face};
/* a 1D array that defines the corner nodes per face */

 

Regular cells end here. Poly cells (Polyline, Polytri, Polyhedron) include the fields below:

int FLDget_npolys(
OMobj_id cell_set;
int *npolys);
int FLDset_npolys(
OMobj_id cell_set;
int npolys);

int npolys;

int FLDget_poly_connect (
OMobj_id cell_set,
int **poly_conn_array,
int *size,
int mode);
int FLDset_poly_connect (
OMobj_id cell_set,
int *poly_conn_array,
int size,
int mode);

int poly_connect_list[npolys*2]; /* node connectivity array */

 

};