get/set the node connectivity list of one cell_set within a Cells Grid
int FLDget_node_connect (
OMobj_id cell_set,
xp_long **node_conn_array,
xp_long *size,
int mode);
int FLDset_node_connect (
OMobj_id cell_set,
xp_long *node_conn_array,
xp_long size,
int mode);
int FLDget_node_connect_w (
OMobj_id cell_set,
xp_long **node_conn_array,
xp_long *size,
int mode);
int FLDset_node_connect_w (
OMobj_id cell_set,
xp_long *node_conn_array,
xp_long size,
int mode);
int FLDget_node_connect_n (
OMobj_id cell_set,
int **node_conn_array,
int *size,
int mode);
int FLDset_node_connect_n (
OMobj_id cell_set,
int *node_conn_array,
int size,
int mode);
These routines get/set the node connectivity array (node_connect_list) within one cell_set array element in a Cells Grid.
The FLDget_node_connect routine can be used for both getting and setting the node_connect_list array. When setting with a "get" routine (mode = OM_GET_ARRAY_WR or OM_GET_ARRAY_RW), it returns a pointer to a pointer to a pre-allocated array, and the developer just needs to fill in the values.
If the cell set is a Poly cell set (specifically a Polyhedron cell set), this routine returns the connectivity array of the elementary primitive line or triangle cells, not the polygons themselves. You almost never want to call FLDset_node_connect() on a polyhedron cell set, since this would set the connectivity of the "primitive" triangular cells making up the polygons, not the connectivity of the polygons themselves. To set the connectivity of the polygons, use FLDset_poly_connect().
int **node_conn_array
int *node_conn_array
An integer constant that establishes the access mode for the array subobject. Constants for the possible values are defined in avs/om.h as follows.
The program intends to write to the array, completely replacing it, but not read it. |
||
The program requires a copy of the array for its own, private use (reading or writing). |
modules/advect.c
modules/cut_quad.c
modules/rd_geom.c
modules/gen_fld.c (and others)
modules/bounds.c
modules/contour.c
modules/cut.c
modules/ext_edge.c
modules/isoline.c
modules/slice.c (and others)