deal.II version GIT relicensing-2289-g1e5549a87a 2024-12-21 21:30:00+00:00
|
#include <deal.II/grid/tria_objects_orientations.h>
Public Member Functions | |
TriaObjectsOrientations () | |
TriaObjectsOrientations (const unsigned int n_objects) | |
unsigned int | n_objects () const |
void | reinit (const unsigned int n_objects) |
void | resize (const unsigned int n_objects) |
std::size_t | memory_consumption () const |
unsigned char | get_combined_orientation (const unsigned int object) const |
bool | get_orientation (const unsigned int object) const |
bool | get_rotation (const unsigned int object) const |
bool | get_flip (const unsigned int object) const |
void | set_combined_orientation (const unsigned int object, const unsigned char value) |
template<class Archive > | |
void | serialize (Archive &ar, const unsigned int version) |
Private Attributes | |
unsigned int | n_stored_objects |
std::vector< unsigned char > | flags |
Class storing orientation information for various objects in a Triangulation.
Definition at line 40 of file tria_objects_orientations.h.
|
inline |
Constructor.
Definition at line 135 of file tria_objects_orientations.h.
|
inline |
Constructor. Sets up objects in the default orientation (orientation = true
).
Definition at line 142 of file tria_objects_orientations.h.
|
inline |
Return number of geometric objects stored by this class.
Definition at line 181 of file tria_objects_orientations.h.
|
inline |
Reset the object to a default state.
Definition at line 151 of file tria_objects_orientations.h.
|
inline |
Change the number of stored objects. New objects are constructed in the default orientation (true, false, false).
Definition at line 162 of file tria_objects_orientations.h.
|
inline |
Return the size of objects of this kind.
Definition at line 172 of file tria_objects_orientations.h.
|
inline |
Get the combined orientation of the object, as described in the class documentation.
Definition at line 189 of file tria_objects_orientations.h.
|
inline |
Get the orientation bit of the object.
Definition at line 199 of file tria_objects_orientations.h.
|
inline |
Get the rotation bit of the object.
Definition at line 208 of file tria_objects_orientations.h.
|
inline |
Get the flip bit of the object.
Definition at line 217 of file tria_objects_orientations.h.
|
inline |
Set the combined orientation of the object, as described in the class documentation.
Definition at line 226 of file tria_objects_orientations.h.
void internal::TriangulationImplementation::TriaObjectsOrientations::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 237 of file tria_objects_orientations.h.
|
private |
Number of objects.
Definition at line 125 of file tria_objects_orientations.h.
|
private |
Flags.
Definition at line 130 of file tria_objects_orientations.h.