deal.II version GIT relicensing-1991-gec5bc16adb 2024-10-14 08:00:00+00:00
|
#include <deal.II/grid/tria_faces.h>
Public Member Functions | |
TriaFaces (const unsigned int dim) | |
TriaFaces ()=default | |
ReferenceCell | get_quad_type (const std::size_t index) const |
void | set_quad_type (const std::size_t index, const ReferenceCell face_type) |
std::size_t | memory_consumption () const |
template<class Archive > | |
void | serialize (Archive &ar, const unsigned int version) |
Public Attributes | |
unsigned int | dim |
TriaObjects | quads |
std::vector< bool > | quads_line_orientations |
std::vector< bool > | quad_is_quadrilateral |
TriaObjects | lines |
This class contains information belonging to the faces of a triangulation. These classes are similar to the TriaLevel classes. As cells are organized in a hierarchical structure of levels, each triangulation consists of several such TriaLevels. However the faces of a triangulation, lower dimensional objects like lines in 2d or lines and quads in 3d, do not have to be based on such a hierarchical structure. In fact we have to organise them in only one object if we want to enable anisotropic refinement. Therefore the TriaFaces classes store the information belonging to the faces of a triangulation separately from the TriaLevel classes.
Definition at line 42 of file tria_faces.h.
internal::TriangulationImplementation::TriaFaces::TriaFaces | ( | const unsigned int | dim | ) |
Constructor.
Definition at line 27 of file tria_faces.cc.
|
default |
Default constructor for Boost::serialization.
|
inline |
Helper accessor function for quad_is_quadrilateral
Definition at line 123 of file tria_faces.h.
|
inline |
Helper accessor function for quad_is_quadrilateral
Definition at line 133 of file tria_faces.h.
std::size_t internal::TriangulationImplementation::TriaFaces::memory_consumption | ( | ) | const |
Determine an estimate for the memory consumption (in bytes) of this object.
Definition at line 34 of file tria_faces.cc.
void internal::TriangulationImplementation::TriaFaces::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 using the BOOST serialization library.
Definition at line 150 of file tria_faces.h.
unsigned int internal::TriangulationImplementation::TriaFaces::dim |
Dimension of the underlying triangulation.
Definition at line 58 of file tria_faces.h.
TriaObjects internal::TriangulationImplementation::TriaFaces::quads |
The TriaObject containing the data of quads.
Definition at line 65 of file tria_faces.h.
std::vector<bool> internal::TriangulationImplementation::TriaFaces::quads_line_orientations |
Orientation of each line of each quad. Like elsewhere, true
refers to the standard orientation and false
refers to the reverse orientation.
Definition at line 73 of file tria_faces.h.
std::vector<bool> internal::TriangulationImplementation::TriaFaces::quad_is_quadrilateral |
Whether or not each quad is a Quadrilateral. Since, if dim = 3, faces are either Triangles or Quadrilaterals, it suffices to store a boolean.
Definition at line 82 of file tria_faces.h.
TriaObjects internal::TriangulationImplementation::TriaFaces::lines |
The TriaObject containing the data of lines.
Definition at line 101 of file tria_faces.h.