Public Member Functions | |
TriaObject () | |
TriaObject (const int i0, const int i1) | |
TriaObject (const int i0, const int i1, const int i2, const int i3) | |
TriaObject (const int i0, const int i1, const int i2, const int i3, const int i4, const int i5) | |
int | face (const unsigned int i) const |
void | set_face (const unsigned int i, const int index) |
Static Public Member Functions | |
static unsigned int | memory_consumption () |
Static Public Attributes | |
static const unsigned int | dimension = structdim |
Protected Attributes | |
int | faces [GeometryInfo< structdim >::faces_per_cell] |
Class template for the structdim
-dimensional cells constituting a Triangulation of dimension structdim
or lower dimensional objects of higher dimensions. They are characterized by the (global) indices of their faces, which are cells of dimension structdim-1
or vertices if structdim=1
.
internal::Triangulation::TriaObject< structdim >::TriaObject | ( | ) | [inline] |
Default constructor, setting all face indices to invalid values.
References internal::Triangulation::TriaObject< structdim >::faces.
internal::Triangulation::TriaObject< structdim >::TriaObject | ( | const int | i0, | |
const int | i1 | |||
) | [inline] |
Constructor for a line object with the numbers of its two end points.
Throws an exception if dimension is not one.
References Assert, and internal::Triangulation::TriaObject< structdim >::faces.
internal::Triangulation::TriaObject< structdim >::TriaObject | ( | const int | i0, | |
const int | i1, | |||
const int | i2, | |||
const int | i3 | |||
) | [inline] |
Constructor for a quadrilateral object with the numbers of its four lines.
Throws an exception if dimension is not two.
References Assert, and internal::Triangulation::TriaObject< structdim >::faces.
internal::Triangulation::TriaObject< structdim >::TriaObject | ( | const int | i0, | |
const int | i1, | |||
const int | i2, | |||
const int | i3, | |||
const int | i4, | |||
const int | i5 | |||
) | [inline] |
Constructor for a hexahedron object with the numbers of its six quadrilaterals.
Throws an exception if dimension is not two.
References Assert, and internal::Triangulation::TriaObject< structdim >::faces.
int internal::Triangulation::TriaObject< structdim >::face | ( | const unsigned int | i | ) | const [inline] |
Return the index of the ith face object.
References Assert, and internal::Triangulation::TriaObject< structdim >::faces.
void internal::Triangulation::TriaObject< structdim >::set_face | ( | const unsigned int | i, | |
const int | index | |||
) | [inline] |
Set the index of the ith face object.
References Assert, and internal::Triangulation::TriaObject< structdim >::faces.
unsigned int internal::Triangulation::TriaObject< structdim >::memory_consumption | ( | ) | [inline, static] |
Determine an estimate for the memory consumption (in bytes) of this object.
const unsigned int internal::Triangulation::TriaObject< structdim >::dimension = structdim [static] |
int internal::Triangulation::TriaObject< structdim >::faces[GeometryInfo< structdim >::faces_per_cell] [protected] |
Global indices of the face iterators bounding this cell if dim>1, and the two vertex indices in 1d.
Referenced by internal::Triangulation::TriaObject< structdim >::face(), internal::Triangulation::TriaObject< structdim >::set_face(), and internal::Triangulation::TriaObject< structdim >::TriaObject().