Public Member Functions | Public Attributes

internal::Triangulation::TriaObjectsQuad3D Class Reference

Inheritance diagram for internal::Triangulation::TriaObjectsQuad3D:
Inheritance graph
[legend]

List of all members.

Public Member Functions

bool face_orientation (const unsigned int cell, const unsigned int face) const
void reserve_space (const unsigned int new_quads_in_pairs, const unsigned int new_quads_single=0)
void clear ()
void monitor_memory (const unsigned int true_dimension) const
std::size_t memory_consumption () const
template<class Archive >
void serialize (Archive &ar, const unsigned int version)

Public Attributes

std::vector< boolline_orientations

Detailed Description

For quadrilaterals in 3D the data of TriaObjects needs to be extended, as we can obtain faces (quads) with lines in non-standard-orientation, therefore we declare a class TriaObjectsQuad3D, which additionaly contains a bool-vector of the line-orientations.

Definition at line 589 of file tria_objects.h.


Member Function Documentation

bool internal::Triangulation::TriaObjectsQuad3D::face_orientation ( const unsigned int  cell,
const unsigned int  face 
) const [inline]

The orientation of the face number face of the cell with number cell. The return value is true, if the normal vector points the usual way (GeometryInfo::unit_normal_orientation) and false if they point in opposite direction.

Reimplemented from internal::Triangulation::TriaObjects< TriaObject< 2 > >.

Definition at line 841 of file tria_objects.h.

void internal::Triangulation::TriaObjectsQuad3D::reserve_space ( const unsigned int  new_quads_in_pairs,
const unsigned int  new_quads_single = 0 
)

Assert that enough space is allocated to accomodate new_quads_in_pairs new quads, stored in pairs, plus new_quads_single stored individually. This function does not only call vector::reserve(), but does really append the needed elements.

Reimplemented from internal::Triangulation::TriaObjects< TriaObject< 2 > >.

void internal::Triangulation::TriaObjectsQuad3D::clear (  )

Clear all the data contained in this object.

Reimplemented from internal::Triangulation::TriaObjects< TriaObject< 2 > >.

void internal::Triangulation::TriaObjectsQuad3D::monitor_memory ( const unsigned int  true_dimension ) const

Check the memory consistency of the different containers. Should only be called with the prepro flag DEBUG set. The function should be called from the functions of the higher TriaLevel classes.

Reimplemented from internal::Triangulation::TriaObjects< TriaObject< 2 > >.

std::size_t internal::Triangulation::TriaObjectsQuad3D::memory_consumption (  ) const

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

Reimplemented from internal::Triangulation::TriaObjects< TriaObject< 2 > >.

template<class Archive >
void internal::Triangulation::TriaObjectsQuad3D::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

Reimplemented from internal::Triangulation::TriaObjects< TriaObject< 2 > >.

Definition at line 812 of file tria_objects.h.

References internal::Triangulation::TriaObjects< G >::serialize().


Member Data Documentation

In effect, this field has 4*n_quads elements, being the number of quads times the four lines each has.

Definition at line 615 of file tria_objects.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:15 by doxygen 1.7.2