33 #ifndef __H__LIB_GRID__NEIGHBORHOOD_UTIL__
34 #define __H__LIB_GRID__NEIGHBORHOOD_UTIL__
47 template <
typename TBaseElem>
59 template <
typename TElem>
65 typename geometry_traits<TElem>::const_iterator& begin,
66 typename geometry_traits<TElem>::const_iterator& end
void GetNeighborhood(const TSparseMatrix &A, size_t node, size_t depth, std::vector< size_t > &indices, std::vector< bool > &bVisited, bool bResetVisitedFlags=true)
Definition: sparsematrix_util.h:495
base_type::TBaseElem TBaseElem
TBaseElem * GetConnectedNeighbor(Grid &g, typename TBaseElem::side *face, TBaseElem *elem)
Finds the neighbor connected through a side.
Definition: neighborhood_util.cpp:40