#include <ElementConList.hpp>
Public Types | |
| enum | LinkState |
| typedef std::list< ListData > | ListType |
| typedef ListType::iterator | ListIterator |
| typedef ElementConListIterator | iterator |
Public Member Functions | |
| ElementConList () | |
| ElementConList (int e) | |
| ~ElementConList () | |
| iterator | begin () |
| Returns an iterator referencing the start of the list. | |
| iterator | end () |
| Returns an iterator referencing the end of the list. | |
| void | add_elem (int elem, int prev, int next) |
| Adds an element to the list between prev and next. | |
| void | insert (iterator loc, iterator start, iterator end) |
| Inserts elements to the list at loc, elements are copied from another list from start to end. | |
| void | erase (iterator start, iterator end) |
| Erases elements from the list between start and end. | |
| int | size () |
| Returns the size of the list. | |
| void | break_chain (int elem1, int elem2) |
| Breaks the chain between elem1 and elem2. | |
| bool | isClosed () |
| Checks if the loop is closed. | |
| bool | needSplit () |
| Checks if the loop needs splitting. | |
| template<typename OI> | |
| void | GetLinkStateArray (OI ins_iter) |
| Put into array a list of the link states for this list (to be transmitted to another domain). | |
| template<typename II> | |
| void | SetLinkStateArray (II ins_iter) |
| Set the link states of the elements. | |
| ListData | operator[] (int ind) |
| ListData | at (int ind) |
Private Attributes | |
| ListType | elements |
| Stores the list data. | |
Friends | |
| class | ElementConListIterator |
Classes | |
| struct | ListData |
Special wrapper around a std::list which provides functions to help the fracture of a mesh by remembering which elements are connected to which others. This is especially helpful for parallel fracture so that each processor knows which elements it is supposed to be managing.
Definition at line 17 of file ElementConList.hpp.
1.5.1