Polyline


Synopsis

Set subobject values for Polyline Cell_Sets.



Cell_Set Polyline { /* polyline cell definition */
cell_nnodes = 2;
cell_ndim = 1;
cell_order = 1;
poly_flag = 1;
int+virtual cell_type = 3;
string+virtual cell_name = "Polyline";
};


 

Description

The Polyline cell type sets values that define the members of this Cells Cell_Set as Polyline cells. Polyline cells are often used to represent geometry.

Modules that manipulate unstructured grids need the information defined here to correctly process this cell type.

Subobjects

cell_nnodes = 2

How many nodes make up the cell. Cells with mid-edge nodes have more nodes.

 

cell_corner_nnodes=;

In cells with mid-edge nodes, a value that specifies how many of the nodes in the cell are corner nodes.

 

cell_ndim = 1

How many spatial dimensions make up the cell.

 

cell_order = 1

cell_order = 1 means the cell has corner nodes only. cell_order = 2 means the cell has mid-edge nodes.

There is no FLD routine to retrieve this value.

poly_flag = 1

A flag that, when not 0, signals the renderer that this is an unstructured mesh representing a geometry (Polyline, Polytri). The renderer can use faster algorithms to render the object.

There is no FLD routine to retrieve this value.

cell_type = 3

An integer that uniquely identifies the type of cells in this cell_set. This is one means of discovering this; cell_name is another.

 

cell_name = "Polyline"

A string that uniquely identifies the type of cells in this cell_set.

 

Files

v/fld.v

See also

Not applicable.