Home | Doxygen Documentation | Tutorials | Developer Tools (restricted)

Public Member Functions | Private Attributes | Friends
hp3D::SingularVertex Class Reference

Class for storing a singular vertex with the coordinates. More...

#include <singularSet.hh>

Collaboration diagram for hp3D::SingularVertex:
Collaboration graph
[legend]

List of all members.

Public Member Functions

Real distance (concepts::Real3d point) const
 Returns the square of the distance from the vertex to the point (in physical coordinates)
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)
 SingularVertex (const concepts::Connector0 *vertex, const concepts::Real3d vtx0)
 Constructor.
const concepts::Connector0vertex () const
 Returns a pointer to the vertex object (topological, connector)

Private Attributes

const concepts::Connector0vertex_
 Pointer to the vertex object (topological, connector)
const concepts::Real3d vtx0_
 Coordinates of the vertex.

Friends

std::ostream & operator<< (std::ostream &os, const SingularVertex &s)

Detailed Description

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 results are the Euclidiean distance squared.

Author:
Kersten Schmidt, 2002

Definition at line 102 of file singularSet.hh.


Constructor & Destructor Documentation

hp3D::SingularVertex::SingularVertex ( const concepts::Connector0 vertex,
const concepts::Real3d  vtx0 
) [inline]

Constructor.

Parameters:
vertexVertex object
vtx0Coordinates of the vertex

Definition at line 109 of file singularSet.hh.


Member Function Documentation

Real hp3D::SingularVertex::distance ( concepts::Real3d  point) const

Returns the square of the distance from the vertex to the point (in physical coordinates)

Real hp3D::SingularVertex::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::Connector0* hp3D::SingularVertex::vertex ( ) const [inline]

Returns a pointer to the vertex object (topological, connector)

Definition at line 113 of file singularSet.hh.


Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  os,
const SingularVertex s 
) [friend]

Member Data Documentation

Pointer to the vertex object (topological, connector)

Definition at line 123 of file singularSet.hh.

Coordinates of the vertex.

Definition at line 125 of file singularSet.hh.


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

Home | Doxygen Documentation | Tutorials | Developer Tools (restricted)