Class documentation of Concepts

Loading...
Searching...
No Matches

#include <singularSet.hh>

Public Member Functions

 SingularVertex (const concepts::Connector0 *vertex, const concepts::Real2d vtx0)
 
const concepts::Connector0vertex () const
 Returns a pointer to the vertex object (topological, connector)
 
Real distance (concepts::Real2d point) const
 
Real distance (concepts::Real2d point, const Quad< Real > *elm) const
 

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 result is the square of the Euclidiean distance.

Author
Kersten Schmidt, 2002

Definition at line 28 of file singularSet.hh.

Constructor & Destructor Documentation

◆ SingularVertex()

hp2D::SingularVertex::SingularVertex ( const concepts::Connector0 vertex,
const concepts::Real2d  vtx0 
)
inline

Constructor.

Parameters
vertexVertex object
vtx0Coordinates of the vertex

Definition at line 35 of file singularSet.hh.

Member Function Documentation

◆ distance() [1/2]

Real hp2D::SingularVertex::distance ( concepts::Real2d  point) const

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

◆ distance() [2/2]

Real hp2D::SingularVertex::distance ( concepts::Real2d  point,
const Quad< Real > *  elm 
) const
inline

Returns the distance from the vertex to a point inside an Quad (point in reference coordinates)

Definition at line 47 of file singularSet.hh.

◆ vertex()

const concepts::Connector0 * hp2D::SingularVertex::vertex ( ) const
inline

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

Definition at line 39 of file singularSet.hh.


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