Class for storing a singular vertex with the coordinates. More...
#include <singularSet.hh>

Public Member Functions | |
| Real | distance (concepts::Real2d point) const |
Returns the square of the distance from the vertex to the point (in physical coordinates) | |
| Real | distance (concepts::Real2d point, const Quad< Real > *elm) const |
Returns the distance from the vertex to a point inside an Hexahedron (point in reference coordinates) | |
| SingularVertex (const concepts::Connector0 *vertex, const concepts::Real2d vtx0) | |
| Constructor. | |
| const concepts::Connector0 * | vertex () const |
| Returns a pointer to the vertex object (topological, connector) | |
Private Attributes | |
| const concepts::Connector0 * | vertex_ |
| Pointer to the vertex object (topological, connector) | |
| const concepts::Real2d | vtx0_ |
| Coordinates of the vertex. | |
Friends | |
| std::ostream & | operator<< (std::ostream &os, const SingularVertex &s) |
Class for storing a singular vertex with the coordinates.
The class also provides methods to compute a distance from a given point (in local coordinates in an element) to the vertex. The returned result is the square of the Euclidiean distance.
Definition at line 26 of file singularSet.hh.
| hp2D::SingularVertex::SingularVertex | ( | const concepts::Connector0 * | vertex, |
| const concepts::Real2d | vtx0 | ||
| ) | [inline] |
Constructor.
| vertex | Vertex object |
| vtx0 | Coordinates of the vertex |
Definition at line 33 of file singularSet.hh.
| Real hp2D::SingularVertex::distance | ( | concepts::Real2d | point | ) | const |
Returns the square of the distance from the vertex to the point (in physical coordinates)
| Real hp2D::SingularVertex::distance | ( | concepts::Real2d | point, |
| const Quad< Real > * | elm | ||
| ) | const [inline] |
Returns the distance from the vertex to a point inside an Hexahedron (point in reference coordinates)
Definition at line 44 of file singularSet.hh.

| const concepts::Connector0* hp2D::SingularVertex::vertex | ( | ) | const [inline] |
Returns a pointer to the vertex object (topological, connector)
Definition at line 37 of file singularSet.hh.
| std::ostream& operator<< | ( | std::ostream & | os, |
| const SingularVertex & | s | ||
| ) | [friend] |
const concepts::Connector0* hp2D::SingularVertex::vertex_ [private] |
Pointer to the vertex object (topological, connector)
Definition at line 49 of file singularSet.hh.
const concepts::Real2d hp2D::SingularVertex::vtx0_ [private] |
Coordinates of the vertex.
Definition at line 51 of file singularSet.hh.