#include <tetmeshorientedlist.h>
Inheritance diagram for TET::Mesh::Oriented_List< DimensionT, StorageT >:


Definition at line 44 of file tetmeshorientedlist.h.
|
|||||||||
|
Default constructor. By default, the list is created in fast_insertion() mode, as it is most desirable during mesh setup. After setup completion, you can reduce memory requirements by disabling fast_insertion(). |
|
||||||||||
|
Constructor to set list into given insertion mode. Using this constructor, you can determine whether the list will be created in fast or slow insertion mode.
|
|
|||||||||
|
Destructor. Deletes internal map if list was in fast_insertion() mode. |
|
||||||||||
|
Insert new element into list. When an element is added, it is checked whether it is already contained in the list thus preventing multiple identical entries. The index into the list is returned for later reference. The returned index will be negative, if the element itself is not in the list, but the flipped element (which points in the opposite direction) is. This way, only one bit is needed to store the information about an element's direction. For this to work, the elements must provide a member function named flip(), which returns the flipped element. If the list is in in fast insertion mode, insertion will be done in logarithmic time, otherwise in linear time.
Definition at line 143 of file tetmeshorientedlist.h. |
|
||||||||||
|
Unchecked random access. As orientation information is indicated by the sign of the given index, the index must not be zero.
Definition at line 129 of file tetmeshorientedlist.h. |
1.3.6