singularSet.hh
const concepts::Connector1 * edge() const
Returns a pointer to the edge object (topological, connector)
Definition: singularSet.hh:48
const concepts::Real3d vtx0_
Coordinates of the vertices of the edge ( and )
Definition: singularSet.hh:84
Real distanceV1(const concepts::Real3d point, const Hexahedron *elm) const
Returns the the square of the distance of point to vtx1_.
Real distance(concepts::Real3d point, const Hexahedron *elm) const
Returns the distance from the vertex to a point inside an Hexahedron (point in reference coordinates)
const concepts::Connector1 * edge_
Pointer to the edge object (topological, connector)
Definition: singularSet.hh:82
const concepts::Connector0 * vertex_
Pointer to the vertex object (topological, connector)
Definition: singularSet.hh:125
friend std::ostream & operator<<(std::ostream &os, const SingularEdge &s)
SingularVertex(const concepts::Connector0 *vertex, const concepts::Real3d vtx0)
Constructor.
Definition: singularSet.hh:111
concepts::Real3d diffVector_
Difference vector between the 2 vertices: .
Definition: singularSet.hh:86
Real distance(const concepts::Real3d point, const Hexahedron *elm) const
Returns the square of the distance from the edge to a point inside elm.
concepts::Joiner< SingularVertex *, 1 > * vertices_
List of singular vertices.
Definition: singularSet.hh:155
const concepts::Connector0 * vertex() const
Returns a pointer to the vertex object (topological, connector)
Definition: singularSet.hh:115
Class for storing a singular edge with coordinates of its corners.
Definition: singularSet.hh:30
~SingularSet()
friend std::ostream & operator<<(std::ostream &os, const SingularSet &s)
concepts::Real diffVectorTimesVtx0Normed_
Scalar product of the scaled difference vector and the vector to the first vertex:
Definition: singularSet.hh:92
An abstract class for scanning a mesh (a set of cells) or a space (a set of elements).
Definition: scannerConnectors.hh:29
Real distance(concepts::Real3d point) const
Returns the square of the distance from the vertex to the point (in physical coordinates)
friend std::ostream & operator<<(std::ostream &os, const SingularVertex &s)
concepts::Scan< SingularVertex > * verticesScan() const
Scanner over all singular vertices.
Definition: singularSet.hh:146
concepts::Scan< SingularEdge > * edgesScan() const
Scanner over all singular edges.
Definition: singularSet.hh:150
SingularEdge(const concepts::Connector1 *edge, const concepts::Real3d vtx0, const concepts::Real3d vtx1)
Constructor.
Definition: singularSet.hh:40
Class for handling a set of singular edges and vertices.
Definition: singularSet.hh:136
Real distanceV0(const concepts::Real3d point, const Hexahedron *elm) const
Returns the the square of the distance of point to vtx0_.
void add(const concepts::Attribute &attrib, concepts::Mesh3 &msh)
Add all vertices and edges in the mesh with attrib to the set of singular vertices and edges.
Class for storing a singular vertex with the coordinates.
Definition: singularSet.hh:104