PLaSK library
Loading...
Searching...
No Matches
plask::DiffBoundarySetImpl Struct Reference

This logic holds two boundaries and represent a set difference of them. More...

#include <plask/mesh/boundary.hpp>

Inheritance diagram for plask::DiffBoundarySetImpl:
[legend]
Collaboration diagram for plask::DiffBoundarySetImpl:
[legend]

Classes

struct  IteratorImpl
 

Public Member Functions

 DiffBoundarySetImpl (BoundaryNodeSet A, BoundaryNodeSet B)
 
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.
 
bool empty () const override
 Check if this represents empty set of indexes.
 
- Public Member Functions inherited from plask::BoundaryNodeSetImpl
virtual ~BoundaryNodeSetImpl ()
 
virtual std::size_t size () const
 Get number of points in this boundary.
 

Public Attributes

BoundaryNodeSet A
 
BoundaryNodeSet B
 

Additional Inherited Members

- Public Types inherited from plask::BoundaryNodeSetImpl
typedef PolymorphicForwardIteratorImpl< std::size_t, std::size_t > IteratorImpl
 Base class for boundary iterator implementation.
 
typedef PolymorphicForwardIterator< IteratorImplIterator
 Boundary iterator type.
 
typedef Iterator const_iterator
 iterator over indexes of mesh
 
typedef const_iterator iterator
 

Detailed Description

This logic holds two boundaries and represent a set difference of them.

Definition at line 535 of file boundary.hpp.

Constructor & Destructor Documentation

◆ DiffBoundarySetImpl()

plask::DiffBoundarySetImpl::DiffBoundarySetImpl ( BoundaryNodeSet  A,
BoundaryNodeSet  B 
)
inline

Definition at line 600 of file boundary.hpp.

Member Function Documentation

◆ begin()

BoundaryNodeSetImpl::Iterator plask::DiffBoundarySetImpl::begin ( ) const
inlineoverridevirtual

Get begin iterator over boundary points.

Returns
begin iterator over boundary points

Implements plask::BoundaryNodeSetImpl.

Definition at line 607 of file boundary.hpp.

◆ contains()

bool plask::DiffBoundarySetImpl::contains ( std::size_t  mesh_index) const
inlineoverridevirtual

Check if boundary contains point with given index.

Parameters
mesh_indexvalid index of point in mesh
Returns
true only if point with index mesh_index in mesh lies on boundary

Implements plask::BoundaryNodeSetImpl.

Definition at line 603 of file boundary.hpp.

◆ empty()

bool plask::DiffBoundarySetImpl::empty ( ) const
inlineoverridevirtual

Check if this represents empty set of indexes.

Returns
true only if this represents empty set of indexes

Reimplemented from plask::BoundaryNodeSetImpl.

Definition at line 615 of file boundary.hpp.

◆ end()

BoundaryNodeSetImpl::Iterator plask::DiffBoundarySetImpl::end ( ) const
inlineoverridevirtual

Get end iterator over boundary points.

Returns
end iterator over boundary points

Implements plask::BoundaryNodeSetImpl.

Definition at line 611 of file boundary.hpp.

Member Data Documentation

◆ A

BoundaryNodeSet plask::DiffBoundarySetImpl::A

Definition at line 537 of file boundary.hpp.

◆ B

BoundaryNodeSet plask::DiffBoundarySetImpl::B

Definition at line 537 of file boundary.hpp.


The documentation for this struct was generated from the following file: