PLaSK library
|
Instance of this class represents predicate which chooses a subset of points (strictly: indices of points) from a mesh. More...
#include <plask/mesh/boundary.hpp>
Public Types | |
typedef MeshT | MeshType |
Public Member Functions | |
Boundary (std::function< BoundaryNodeSet(const MeshType &, const shared_ptr< const GeometryD< MeshType::DIM > > &)> create_fun) | |
Boundary () | |
Construct null boundary. | |
BoundaryNodeSet | operator() (const MeshType &mesh, const shared_ptr< const GeometryD< MeshType::DIM > > &geometry) const |
Get boundary-mesh pair for this boundary and given mesh . | |
BoundaryNodeSet | operator() (const shared_ptr< const MeshType > &mesh, const shared_ptr< const GeometryD< MeshType::DIM > > &geometry) const |
Get boundary-mesh pair for this boundary and given mesh . | |
BoundaryNodeSet | get (const MeshType &mesh, const shared_ptr< const GeometryD< MeshType::DIM > > &geometry) const |
Get boundary-mesh pair for this boundary and given mesh . | |
BoundaryNodeSet | get (const shared_ptr< const MeshType > &mesh, const shared_ptr< const GeometryD< MeshType::DIM > > &geometry) const |
Get boundary-mesh pair for this boundary and given mesh . | |
bool | empty (const MeshType &mesh) const |
Check if boundary, for given mesh , represents empty set of indexes. | |
bool | isNull () const |
Check if boundary is null (doesn't hold valid creator). | |
Protected Attributes | |
std::function< BoundaryNodeSet(const MeshType &, const shared_ptr< const GeometryD< MeshType::DIM > > &)> | create |
Instance of this class represents predicate which chooses a subset of points (strictly: indices of points) from a mesh.
The mesh must be a specific type MeshType
.
Technically, Boundary is a factory of BoundaryNodeSet (objects that hold a pointer to abstract class BoundaryNodeSetImpl
).
MeshType | type of mesh Boundaries |
Definition at line 336 of file boundary.hpp.
Definition at line 338 of file boundary.hpp.
|
inline |
Definition at line 348 of file boundary.hpp.
|
inline |
Construct null boundary.
Definition at line 351 of file boundary.hpp.
|
inline |
Check if boundary, for given mesh
, represents empty set of indexes.
mesh | mesh |
true
only if this represents empty set of indexes of given mesh
Definition at line 401 of file boundary.hpp.
|
inline |
Get boundary-mesh pair for this boundary and given mesh
.
mesh | mesh |
this
boundary and given mesh
, it is valid only to time when both mesh
and this
are valid (not deleted) Definition at line 381 of file boundary.hpp.
|
inline |
Get boundary-mesh pair for this boundary and given mesh
.
mesh | mesh |
this
boundary and given mesh
, it is valid only to time when both mesh
and this
are valid (not deleted) Definition at line 391 of file boundary.hpp.
|
inline |
Check if boundary is null (doesn't hold valid creator).
Null boundary behaves similar to empty one.
true
only if boundary doesn't hold valid creator Definition at line 410 of file boundary.hpp.
|
inline |
Get boundary-mesh pair for this boundary and given mesh
.
mesh | mesh |
this
boundary and given mesh
, it is valid only to time when both mesh
and this
are valid (not deleted) Definition at line 361 of file boundary.hpp.
|
inline |
Get boundary-mesh pair for this boundary and given mesh
.
mesh | mesh |
this
boundary and given mesh
, it is valid only to time when both mesh
and this
are valid (not deleted) Definition at line 371 of file boundary.hpp.
|
protected |
Definition at line 341 of file boundary.hpp.