Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Attributes

internal::Triangulation::TriaObject< structdim > Class Template Reference

List of all members.

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)
template<class Archive >
void serialize (Archive &ar, const unsigned int version)

Static Public Member Functions

static std::size_t memory_consumption ()

Static Public Attributes

static const unsigned int dimension = structdim

Protected Attributes

int faces [GeometryInfo< structdim >::faces_per_cell]

Detailed Description

template<int structdim>
class internal::Triangulation::TriaObject< structdim >

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.

Author:
Guido Kanschat, 2007

Definition at line 37 of file tria_object.h.


Constructor & Destructor Documentation

template<int structdim>
internal::Triangulation::TriaObject< structdim >::TriaObject (  ) [inline]

Default constructor, setting all face indices to invalid values.

Definition at line 125 of file tria_object.h.

template<int structdim>
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.

Definition at line 134 of file tria_object.h.

References Assert, and StandardExceptions::ExcImpossibleInDim().

template<int structdim>
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.

Definition at line 145 of file tria_object.h.

References Assert, and StandardExceptions::ExcImpossibleInDim().

template<int structdim>
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.

Definition at line 160 of file tria_object.h.

References Assert, and StandardExceptions::ExcImpossibleInDim().


Member Function Documentation

template<int structdim>
int internal::Triangulation::TriaObject< structdim >::face ( const unsigned int  i ) const [inline]

Return the index of the ith face object.

Definition at line 179 of file tria_object.h.

References Assert, and StandardExceptions::ExcIndexRange().

template<int structdim>
void internal::Triangulation::TriaObject< structdim >::set_face ( const unsigned int  i,
const int  index 
) [inline]

Set the index of the ith face object.

Definition at line 190 of file tria_object.h.

References Assert, and StandardExceptions::ExcIndexRange().

template<int structdim>
std::size_t internal::Triangulation::TriaObject< structdim >::memory_consumption (  ) [inline, static]

Determine an estimate for the memory consumption (in bytes) of this object.

Definition at line 202 of file tria_object.h.

template<int structdim>
template<class Archive >
void internal::Triangulation::TriaObject< structdim >::serialize ( Archive &  ar,
const unsigned int  version 
)

Read or write the data of this object to or from a stream for the purpose of serialization

Definition at line 210 of file tria_object.h.


Member Data Documentation

template<int structdim>
const unsigned int internal::Triangulation::TriaObject< structdim >::dimension = structdim [static]

Definition at line 40 of file tria_object.h.

template<int structdim>
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.

Definition at line 118 of file tria_object.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

deal.II documentation generated on Fri Feb 3 2012 06:04:14 by doxygen 1.7.2