singularSet.hh
const concepts::Connector0 * vertex_
Pointer to the vertex object (topological, connector)
Definition: singularSet.hh:52
friend std::ostream & operator<<(std::ostream &os, const SingularVertex &s)
void add(const concepts::Attribute &attrib, concepts::Mesh2 &msh)
Add all vertices and edges in the mesh with attrib to the set of singular vertices and edges.
concepts::Scan< SingularVertex > * verticesScan() const
Scanner over all singular vertices.
Definition: singularSet.hh:73
Real distance(concepts::Real2d point, const Quad< Real > *elm) const
Returns the distance from the vertex to a point inside an Quad (point in reference coordinates)
Definition: singularSet.hh:47
friend std::ostream & operator<<(std::ostream &os, const SingularSet &s)
Class for storing a singular vertex with the coordinates.
Definition: singularSet.hh:28
concepts::Joiner< SingularVertex *, 1 > * vertices_
List of singular vertices.
Definition: singularSet.hh:78
An abstract class for scanning a mesh (a set of cells) or a space (a set of elements).
Definition: scannerConnectors.hh:29
SingularVertex(const concepts::Connector0 *vertex, const concepts::Real2d vtx0)
Constructor.
Definition: singularSet.hh:35
Real distance(concepts::Real2d point) const
Returns the square of the distance from the vertex to the point (in physical coordinates)
~SingularSet()
const concepts::Connector0 * vertex() const
Returns a pointer to the vertex object (topological, connector)
Definition: singularSet.hh:39