Reference documentation for deal.II version 9.1.1
\(\newcommand{\dealcoloneq}{\mathrel{\vcenter{:}}=}\)
Public Member Functions | Static Public Member Functions | Protected Attributes | List of all members
internal::TriangulationImplementation::TriaObject< structdim > Class Template Reference

#include <deal.II/grid/tria_object.h>

Inheritance diagram for internal::TriangulationImplementation::TriaObject< structdim >:
[legend]

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 ()
 

Protected Attributes

int faces [GeometryInfo< structdim >::faces_per_cell]
 

Detailed Description

template<int structdim>
class internal::TriangulationImplementation::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 54 of file tria_accessor.h.

Constructor & Destructor Documentation

◆ TriaObject() [1/4]

template<int structdim>
internal::TriangulationImplementation::TriaObject< structdim >::TriaObject ( )
inline

Default constructor, setting all face indices to invalid values.

Definition at line 118 of file tria_object.h.

◆ TriaObject() [2/4]

template<int structdim>
internal::TriangulationImplementation::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 126 of file tria_object.h.

◆ TriaObject() [3/4]

template<int structdim>
internal::TriangulationImplementation::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 135 of file tria_object.h.

◆ TriaObject() [4/4]

template<int structdim>
internal::TriangulationImplementation::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 149 of file tria_object.h.

Member Function Documentation

◆ face()

template<int structdim>
int internal::TriangulationImplementation::TriaObject< structdim >::face ( const unsigned int  i) const
inline

Return the index of the ith face object.

Definition at line 168 of file tria_object.h.

◆ set_face()

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

Set the index of the ith face object.

Definition at line 179 of file tria_object.h.

◆ memory_consumption()

template<int structdim>
std::size_t internal::TriangulationImplementation::TriaObject< structdim >::memory_consumption ( )
inlinestatic

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

Definition at line 190 of file tria_object.h.

◆ serialize()

template<int structdim>
template<class Archive >
void internal::TriangulationImplementation::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 199 of file tria_object.h.

Member Data Documentation

◆ faces

template<int structdim>
int internal::TriangulationImplementation::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 112 of file tria_object.h.


The documentation for this class was generated from the following files: