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 |
![]() | |
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) |
![]() | |
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::Geometry< dim, attachmentDim >::m_aaPos, and p.
|
private |
Referenced by ug::Geometry< dim, attachmentDim >::element_center(), ug::Geometry< dim, attachmentDim >::element_center(), ug::Geometry< dim, attachmentDim >::element_center(), ug::Geometry< dim, attachmentDim >::element_center(), ug::Geometry< dim, attachmentDim >::Geometry(), ug::Geometry< dim, attachmentDim >::pos(), and ug::Geometry< dim, attachmentDim >::set_pos().
|
private |
Referenced by ug::Geometry< dim, attachmentDim >::position_attachment().