CellData< structdim > Struct Template Reference
[Grid classes]

Inheritance diagram for CellData< structdim >:

Inheritance graph
[legend]

List of all members.

Public Attributes

unsigned int vertices [GeometryInfo< structdim >::vertices_per_cell]
unsigned char material_id


Detailed Description

template<int structdim>
struct CellData< structdim >

Structure which is passed to Triangulation::create_triangulation. It contains all data needed to construct a cell, namely the indices of the vertices and the material indicator.

This structure is also used to represent data for faces and edge as part of the SubCellData class. In that case the vertices array needs to represent the vertices of a face or edge of a cell listed in the argument to Triangulation::create_triangulation that denotes the cells. It can be used to attach boundary indicators to faces.


Member Data Documentation

template<int structdim>
unsigned int CellData< structdim >::vertices[GeometryInfo< structdim >::vertices_per_cell]

Indices of the vertices of this cell.

template<int structdim>
unsigned char CellData< structdim >::material_id

Material indicator of this cell. May be used to denote different coefficients, etc.

Note that if this object is part of a SubCellData object, then it represents a face or edge of a cell. Since deal.II only allows material_id tags on cells, this field is re-interpreted to indicate the boundary_indicator of a face or edge. In other words, for faces, this field is a misnomer.


The documentation for this struct was generated from the following file:

deal.II documentation generated on Sat Mar 13 23:07:34 2010 by doxygen 1.5.9