MFEM  v3.1
Finite element discretization library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Pages
Public Member Functions | Protected Attributes | List of all members
mfem::Point Class Reference

Data type point element. More...

#include <point.hpp>

Inheritance diagram for mfem::Point:
[legend]
Collaboration diagram for mfem::Point:
[legend]

Public Member Functions

 Point ()
 
 Point (const int *ind, int attr=-1)
 Constructs triangle by specifying the indices and the attribute. More...
 
virtual int GetType () const
 Return element's type. More...
 
virtual void GetVertices (Array< int > &v) const
 Returns the indices of the element's vertices. More...
 
virtual int * GetVertices ()
 
virtual int GetNVertices () const
 
virtual int GetNEdges () const
 
virtual const int * GetEdgeVertices (int ei) const
 
virtual int GetNFaces (int &nFaceVertices) const
 
virtual const int * GetFaceVertices (int fi) const
 
virtual ElementDuplicate (Mesh *m) const
 
virtual ~Point ()
 
- Public Member Functions inherited from mfem::Element
 Element (int bg=Geometry::POINT)
 Default element constructor. More...
 
virtual void SetVertices (const int *ind)
 Set the indices the element according to the input. More...
 
int GetGeometryType () const
 
const int * GetVertices () const
 
virtual void MarkEdge (DenseMatrix &pmat)
 Mark the longest edge by assuming/changing the order of the vertices. More...
 
virtual void MarkEdge (const DSTable &v_to_v, const int *length)
 Mark the longest edge by assuming/changing the order of the vertices. More...
 
virtual int NeedRefinement (DSTable &v_to_v, int *middle) const
 Return 1 if the element needs refinement in order to get conforming mesh. More...
 
int GetAttribute () const
 Return element's attribute. More...
 
void SetAttribute (const int attr)
 Set element's attribute. More...
 
virtual int GetRefinementFlag ()
 
virtual ~Element ()
 Destroys element. More...
 

Protected Attributes

int indices [1]
 
- Protected Attributes inherited from mfem::Element
int attribute
 Element's attribute (specifying material property, etc). More...
 
int base_geom
 

Additional Inherited Members

- Public Types inherited from mfem::Element
enum  Type {
  POINT, SEGMENT, TRIANGLE, QUADRILATERAL,
  TETRAHEDRON, HEXAHEDRON, BISECTED, QUADRISECTED,
  OCTASECTED
}
 Constants for the classes derived from Element. More...
 

Detailed Description

Data type point element.

Definition at line 22 of file point.hpp.

Constructor & Destructor Documentation

mfem::Point::Point ( )
inline

Definition at line 29 of file point.hpp.

mfem::Point::Point ( const int *  ind,
int  attr = -1 
)

Constructs triangle by specifying the indices and the attribute.

Definition at line 18 of file point.cpp.

virtual mfem::Point::~Point ( )
inlinevirtual

Definition at line 56 of file point.hpp.

Member Function Documentation

virtual Element* mfem::Point::Duplicate ( Mesh m) const
inlinevirtual

Implements mfem::Element.

Definition at line 53 of file point.hpp.

virtual const int* mfem::Point::GetEdgeVertices ( int  ei) const
inlinevirtual

Implements mfem::Element.

Definition at line 46 of file point.hpp.

virtual const int* mfem::Point::GetFaceVertices ( int  fi) const
inlinevirtual

Implements mfem::Element.

Definition at line 51 of file point.hpp.

virtual int mfem::Point::GetNEdges ( ) const
inlinevirtual

Implements mfem::Element.

Definition at line 44 of file point.hpp.

virtual int mfem::Point::GetNFaces ( int &  nFaceVertices) const
inlinevirtual

Implements mfem::Element.

Definition at line 48 of file point.hpp.

virtual int mfem::Point::GetNVertices ( ) const
inlinevirtual

Implements mfem::Element.

Definition at line 42 of file point.hpp.

virtual int mfem::Point::GetType ( ) const
inlinevirtual

Return element's type.

Implements mfem::Element.

Definition at line 35 of file point.hpp.

void mfem::Point::GetVertices ( Array< int > &  v) const
virtual

Returns the indices of the element's vertices.

Implements mfem::Element.

Definition at line 24 of file point.cpp.

virtual int* mfem::Point::GetVertices ( )
inlinevirtual

Implements mfem::Element.

Definition at line 40 of file point.hpp.

Member Data Documentation

int mfem::Point::indices[1]
protected

Definition at line 25 of file point.hpp.


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