|
PLaSK library
|
Boundary logic implementation which represents set of indexes which fulfill predicate. More...
#include <plask/mesh/boundary.hpp>
Classes | |
| struct | PredicateIteratorImpl |
Public Types | |
| typedef MeshT::Boundary::MeshType | MeshType |
Public Types inherited from plask::BoundaryNodeSetWithMeshImpl< MeshT::Boundary::MeshType > | |
| typedef BoundaryNodeSetImpl::const_iterator | const_iterator |
| iterator over indexes of mesh | |
| typedef BoundaryNodeSetImpl::iterator | iterator |
| iterator over indexes of mesh | |
Public Types inherited from plask::BoundaryNodeSetImpl | |
| typedef PolymorphicForwardIteratorImpl< std::size_t, std::size_t > | IteratorImpl |
| Base class for boundary iterator implementation. | |
| typedef PolymorphicForwardIterator< IteratorImpl > | Iterator |
| Boundary iterator type. | |
| typedef Iterator | const_iterator |
| iterator over indexes of mesh | |
| typedef const_iterator | iterator |
Public Member Functions | |
| PredicateBoundaryImpl (const MeshType &mesh, Predicate predicate) | |
Construct predicate boundary which use given predicate. | |
| bool | contains (std::size_t mesh_index) const override |
| Check if boundary contains point with given index. | |
| BoundaryNodeSetImpl::Iterator | begin () const override |
| Get begin iterator over boundary points. | |
| BoundaryNodeSetImpl::Iterator | end () const override |
| Get end iterator over boundary points. | |
Public Member Functions inherited from plask::BoundaryNodeSetWithMeshImpl< MeshT::Boundary::MeshType > | |
| BoundaryNodeSetWithMeshImpl (const MeshT::Boundary::MeshType &mesh) | |
Construct object which holds reference to given mesh. | |
Public Member Functions inherited from plask::BoundaryNodeSetImpl | |
| virtual | ~BoundaryNodeSetImpl () |
| virtual bool | empty () const |
| Check if this represents empty set of indexes. | |
| virtual std::size_t | size () const |
| Get number of points in this boundary. | |
Public Attributes | |
| Predicate | predicate |
| Predicate which check if given point is in boundary. | |
Public Attributes inherited from plask::BoundaryNodeSetWithMeshImpl< MeshT::Boundary::MeshType > | |
| const MeshT::Boundary::MeshType & | mesh |
| Held mesh. | |
Boundary logic implementation which represents set of indexes which fulfill predicate.
| MeshT | type of mesh |
| predicate | functor which check if given point is in boundary Boundaries |
Definition at line 805 of file boundary.hpp.
| typedef MeshT::Boundary::MeshType plask::PredicateBoundaryImpl< MeshT, Predicate >::MeshType |
Definition at line 807 of file boundary.hpp.
|
inline |
Construct predicate boundary which use given predicate.
| mesh | mesh for which boundary should be calculated |
| predicate | predicate which check if given point is in boundary |
Definition at line 861 of file boundary.hpp.
|
inlineoverridevirtual |
Get begin iterator over boundary points.
Implements plask::BoundaryNodeSetImpl.
Definition at line 877 of file boundary.hpp.
|
inlineoverridevirtual |
Check if boundary contains point with given index.
| mesh_index | valid index of point in mesh |
true only if point with index mesh_index in mesh lies on boundary Implements plask::BoundaryNodeSetImpl.
Definition at line 873 of file boundary.hpp.
|
inlineoverridevirtual |
Get end iterator over boundary points.
Implements plask::BoundaryNodeSetImpl.
Definition at line 881 of file boundary.hpp.
| Predicate plask::PredicateBoundaryImpl< MeshT, Predicate >::predicate |
Predicate which check if given point is in boundary.
Definition at line 854 of file boundary.hpp.