MFEM v2.0
|
Data type point element. More...
#include <point.hpp>
Public Member Functions | |
Point () | |
Point (const int *ind, int attr=-1) | |
Constructs triangle by specifying the indices and the attribute. | |
virtual int | GetType () const |
Return element's type. | |
virtual void | GetVertices (Array< int > &v) const |
Returns the indices of the element's vertices. | |
virtual int * | GetVertices () |
virtual int | GetNVertices () const |
virtual int | GetNEdges () const |
virtual const int * | GetEdgeVertices (int ei) const |
virtual Element * | Duplicate (Mesh *m) const |
virtual | ~Point () |
Protected Attributes | |
int | indices [1] |
Point::Point | ( | ) | [inline] |
Definition at line 23 of file point.hpp.
Referenced by Duplicate().
Point::Point | ( | const int * | ind, |
int | attr = -1 |
||
) |
Constructs triangle by specifying the indices and the attribute.
Definition at line 15 of file point.cpp.
References Element::attribute, and indices.
virtual const int* Point::GetEdgeVertices | ( | int | ei | ) | const [inline, virtual] |
virtual int Point::GetNEdges | ( | ) | const [inline, virtual] |
virtual int Point::GetNVertices | ( | ) | const [inline, virtual] |
virtual int Point::GetType | ( | ) | const [inline, virtual] |
Return element's type.
Implements Element.
Definition at line 29 of file point.hpp.
References Element::POINT.
virtual int* Point::GetVertices | ( | ) | [inline, virtual] |
void Point::GetVertices | ( | Array< int > & | v | ) | const [virtual] |
Returns the indices of the element's vertices.
Implements Element.
Definition at line 20 of file point.cpp.
References indices, and Array< T >::SetSize().
int Point::indices[1] [protected] |
Definition at line 19 of file point.hpp.
Referenced by Duplicate(), GetVertices(), and Point().