ug4
|
provides a grid and access to the coordinates of the vertices More...
#include <geometry.h>
Public Types | |
typedef MathVector< attachmentDim > | attached_vector_t |
typedef IGeometry< dim > | base_t |
typedef Attachment< attached_vector_t > | position_attachment_t |
typedef base_t::vector_t | vector_t |
Public Types inherited from ug::IGeometry< dim > | |
typedef MathVector< dim > | vector_t |
Public Member Functions | |
virtual vector_t | element_center (Edge *e) const |
virtual vector_t | element_center (Face *e) const |
virtual vector_t | element_center (Vertex *e) const |
virtual vector_t | element_center (Volume *e) const |
Geometry (Grid &g, position_attachment_t a) | |
virtual vector_t | pos (Vertex *vrt) const |
const IAttachment & | position_attachment () const |
virtual int | position_attachment_dim () const |
virtual void | set_pos (Vertex *vrt, const vector_t &p) |
Public Member Functions inherited from ug::IGeometry< dim > | |
Grid & | grid () const |
IGeometry (Grid &g) | |
virtual | ~IGeometry () |
Private Attributes | |
Grid::VertexAttachmentAccessor< position_attachment_t > | m_aaPos |
position_attachment_t | m_aPos |
provides a grid and access to the coordinates of the vertices
The dimension of the output coordinates ('dim') may differ from the dimension of the coordinates which are actually attached to the grid ('attachedDim').
typedef MathVector<attachmentDim> ug::Geometry< dim, attachmentDim >::attached_vector_t |
typedef IGeometry<dim> ug::Geometry< dim, attachmentDim >::base_t |
typedef Attachment<attached_vector_t> ug::Geometry< dim, attachmentDim >::position_attachment_t |
typedef base_t::vector_t ug::Geometry< dim, attachmentDim >::vector_t |
|
inline |
|
inlinevirtual |
Implements ug::IGeometry< dim >.
References ug::CalculateCenter(), ug::MathVector< dim >::from(), and ug::Geometry< dim, attachmentDim >::m_aaPos.
|
inlinevirtual |
Implements ug::IGeometry< dim >.
References ug::CalculateCenter(), ug::MathVector< dim >::from(), and ug::Geometry< dim, attachmentDim >::m_aaPos.
|
inlinevirtual |
Implements ug::IGeometry< dim >.
References ug::MathVector< dim >::from(), and ug::Geometry< dim, attachmentDim >::m_aaPos.
|
inlinevirtual |
Implements ug::IGeometry< dim >.
References ug::CalculateCenter(), ug::MathVector< dim >::from(), and ug::Geometry< dim, attachmentDim >::m_aaPos.
|
inlinevirtual |
Implements ug::IGeometry< dim >.
References ug::MathVector< dim >::from(), and ug::Geometry< dim, attachmentDim >::m_aaPos.
|
inlinevirtual |
Implements ug::IGeometry< dim >.
References ug::Geometry< dim, attachmentDim >::m_aPos.
|
inlinevirtual |
Implements ug::IGeometry< dim >.
|
inlinevirtual |
Implements ug::IGeometry< dim >.
References ug::MathVector< N, T >::from(), ug::Geometry< dim, attachmentDim >::m_aaPos, and p.
|
private |
|
private |
Referenced by ug::Geometry< dim, attachmentDim >::position_attachment().