Class defining a subset of a domain boundary. More...
#include <BoundarySubset.hpp>
Public Types | |
using | Intersection = IS |
Public Member Functions | |
BoundarySubset () | |
Default constructor. Uses a predicate that returns true on the complete boundary. | |
template<class G > | |
BoundarySubset (std::shared_ptr< BoundaryManager< G > > const &boundaryManager, BoundaryType id) | |
Use a boundary manager and id to determine a subset. | |
template<class G > | |
BoundarySubset (BoundaryManager< G > &boundaryManager, BoundaryType id) | |
Use a boundary manager and id to determine a subset. | |
template<class Predicate , REQUIRES(Concepts::Functor< Predicate, bool(Domain)>) > | |
BoundarySubset (Predicate &&predicate) | |
Use a predicate of the form bool(GlobalCoordinate) to determine a subset. | |
bool | operator() (Intersection const &is) const |
Return true if intersection is on boundary segment. | |
Protected Attributes | |
std::function< bool(Intersection const &)> | predicate_ |
Class defining a subset of a domain boundary.
Stores a predicate identifying boundary segments. This may be given as
IS | Type of the intersection of the elements with the boundary |