Count boundary components Algorithm |
template<class GRID> int count_boundary_components(GRID const& G);
Counts the number of connected components of the boundary of G.
Declared in find-boundary-components.h
Defined in find-boundary-components.C
GRID is a model of
Grid and of
Facet Grid Range.
There is a Partial Grid Function
container on facets
associated to GRID X.
G represents a manifold-with-boundary grid.
The value returned is the number of connected components of G's boundary.
Expected time O(F), where F is the number of facets of G.
find_boundary_component_germs
Guntram Berti
Count boundary components Algorithm |