Tri, Tri2


Synopsis

Set subobject values for Tri Cell_Sets.

 

FH794102.gif


 

Cell_Set Tri { /* triangle cell definition */
cell_nnodes = 3;
cell_ndim = 2;
cell_order = 1;
poly_flag = 0;
int+virtual cell_type = 4;
string+virtual cell_name = "Tri";
float+virtual node_uvw[3][3] = {{1.0,0.0,0.0}, {0.0,1.0,0.0}, {0.0,0.0,0.0}};
};

Cell_Set Tri2 { /* triangle cell definition */
cell_nnodes = 6;
cell_corner_nnodes = 3; /* number of corner nodes per cell */
cell_ndim = 2;
cell_order = 2;
poly_flag = 0;
int+virtual cell_type = 14;
string+virtual cell_name = "Tri2";
float+virtual node_uvw[6][3] = {{1.0,0.0,0.0}, {0.0,1.0,0.0}, {0.0,0.0,0.0},
{5.0,0.5,0.0}, {0.0,0.5,0.0}, {0.5,0.0,0.0}};
};

 

Description

These cell types set values that define the members of this Cells Cell_Set as Tri cells, either with or without mid-edge nodes (cell_order = 2).

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

Subobjects

cell_nnodes = 3
cell_nnodes = 6

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 = 2

How many spatial dimensions make up the cell.

 

cell_order = 1 or 2

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 = 0

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 = 4 or 14

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 = "Tri" or "Tri2"

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

 

node_uvw[3][3] or [6][3]=

A float array that defines the uvws for the nodes. The uvws are necessary when you are interpolating within a cell by calculating derivatives. The coordinates are parametric.

 

Files

v/fld.v

See also

Not applicable.