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. | |
BoundarySubset (BoundaryManagerBase &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::shared_ptr< BoundaryManagerBase const > | boundaryManager_ |
BoundaryType | id_ {0} |
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 |