PLaSK library
|
Template of base class for boundaries of mesh with given type which store reference to mesh. More...
#include <plask/mesh/boundary.hpp>
Classes | |
struct | IteratorWithMeshImpl |
Base class for boundary iterator implementation which contains reference to boundary. More... | |
Public Types | |
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 | |
BoundaryNodeSetWithMeshImpl (const MeshType &mesh) | |
Construct object which holds reference to given mesh . | |
Public Member Functions inherited from plask::BoundaryNodeSetImpl | |
virtual | ~BoundaryNodeSetImpl () |
virtual bool | contains (std::size_t mesh_index) const =0 |
Check if boundary contains point with given index. | |
virtual const_iterator | begin () const =0 |
Get begin iterator over boundary points. | |
virtual const_iterator | end () const =0 |
Get end iterator over boundary points. | |
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 | |
const MeshType & | mesh |
Held mesh. | |
Template of base class for boundaries of mesh with given type which store reference to mesh.
MeshType | type of mesh Boundaries |
Definition at line 156 of file boundary.hpp.
typedef BoundaryNodeSetImpl::const_iterator plask::BoundaryNodeSetWithMeshImpl< MeshType >::const_iterator |
iterator over indexes of mesh
Definition at line 159 of file boundary.hpp.
typedef BoundaryNodeSetImpl::iterator plask::BoundaryNodeSetWithMeshImpl< MeshType >::iterator |
iterator over indexes of mesh
Definition at line 162 of file boundary.hpp.
|
inline |
Construct object which holds reference to given mesh
.
mesh | mesh to hold |
Definition at line 171 of file boundary.hpp.
const MeshType& plask::BoundaryNodeSetWithMeshImpl< MeshType >::mesh |
Held mesh.
Definition at line 165 of file boundary.hpp.