33 #ifndef __H__UG_isolated_elements
34 #define __H__UG_isolated_elements
44 template <
class TS
ideIterator>
46 std::vector<typename TSideIterator::value_type>& elemsOut,
52 typedef typename side_t::sideof sideof_t;
58 for(TSideIterator i = begin; i != end; ++i) {
61 elemsOut.push_back(*i);
64 return elemsOut.size();
Manages the elements of a grid and their interconnection.
Definition: grid.h:132
void associated_elements(traits< Vertex >::secure_container &elemsOut, TElem *e)
Puts all elements of type TAss which are contained in 'e' or which contain 'e' into elemsOut.
Definition: grid_impl.hpp:466
Container which holds an array of pointers.
Definition: pointer_const_array.h:84
size_t size() const
returns the size of the associated array.
Definition: pointer_const_array_impl.hpp:106
size_t CollectUnconnectedSides(std::vector< typename TSideIterator::value_type > &elemsOut, Grid &grid, TSideIterator begin, TSideIterator end)
Definition: isolated_elements.h:45
void base_type
Definition: grid_base_objects.h:1011