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

Data type Wedge element. More...

#include <wedge.hpp>

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

Public Types

typedef Geometry::Constants
< Geometry::PRISM
geom_t
 
- Public Types inherited from mfem::Element
enum  Type {
  POINT, SEGMENT, TRIANGLE, QUADRILATERAL,
  TETRAHEDRON, HEXAHEDRON, WEDGE, PYRAMID
}
 Constants for the classes derived from Element. More...
 

Public Member Functions

 Wedge ()
 
 Wedge (const int *ind, int attr=1)
 Constructs wedge by specifying the indices and the attribute. More...
 
 Wedge (int ind1, int ind2, int ind3, int ind4, int ind5, int ind6, int attr=1)
 Constructs wedge by specifying the indices and the attribute. More...
 
virtual Type GetType () const
 Return element's type. More...
 
virtual void SetVertices (const int *ind)
 Set the vertices according to the given input. 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 MFEM_DEPRECATED int GetNFaces (int &nFaceVertices) const
 
virtual int GetNFaces () const
 
virtual int GetNFaceVertices (int fi) const
 
virtual const int * GetFaceVertices (int fi) const
 
virtual ElementDuplicate (Mesh *m) const
 
virtual ~Wedge ()
 
- Public Member Functions inherited from mfem::Element
 Element (Geometry::Type bg=Geometry::POINT)
 Default element constructor. More...
 
Geometry::Type GetGeometryType () const
 
int GetAttribute () const
 Return element's attribute. More...
 
void SetAttribute (const int attr)
 Set element's attribute. More...
 
const int * GetVertices () const
 
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 (HashTable< Hashed2 > &v_to_v) const
 Return 1 if the element needs refinement in order to get conforming mesh. More...
 
virtual void ResetTransform (int tr)
 Set current coarse-fine transformation number. More...
 
virtual void PushTransform (int tr)
 Add 'tr' to the current chain of coarse-fine transformations. More...
 
virtual unsigned GetTransform () const
 Return current coarse-fine transformation. More...
 
virtual ~Element ()
 Destroys element. More...
 

Protected Attributes

int indices [6]
 
- Protected Attributes inherited from mfem::Element
int attribute
 Element's attribute (specifying material property, etc). More...
 
Geometry::Type base_geom
 Element's type from the Finite Element's perspective. More...
 

Detailed Description

Data type Wedge element.

Definition at line 22 of file wedge.hpp.

Member Typedef Documentation

Definition at line 28 of file wedge.hpp.

Constructor & Destructor Documentation

mfem::Wedge::Wedge ( )
inline

Definition at line 30 of file wedge.hpp.

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

Constructs wedge by specifying the indices and the attribute.

Definition at line 19 of file wedge.cpp.

mfem::Wedge::Wedge ( int  ind1,
int  ind2,
int  ind3,
int  ind4,
int  ind5,
int  ind6,
int  attr = 1 
)

Constructs wedge by specifying the indices and the attribute.

Definition at line 29 of file wedge.cpp.

virtual mfem::Wedge::~Wedge ( )
inlinevirtual

Definition at line 71 of file wedge.hpp.

Member Function Documentation

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

Implements mfem::Element.

Definition at line 68 of file wedge.hpp.

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

Implements mfem::Element.

Definition at line 54 of file wedge.hpp.

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

Implements mfem::Element.

Definition at line 65 of file wedge.hpp.

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

Implements mfem::Element.

Definition at line 52 of file wedge.hpp.

int mfem::Wedge::GetNFaces ( int &  nFaceVertices) const
virtual
Deprecated:
Use GetNFaces(void) and GetNFaceVertices(int) instead.

Implements mfem::Element.

Definition at line 59 of file wedge.cpp.

virtual int mfem::Wedge::GetNFaces ( void  ) const
inlinevirtual

Implements mfem::Element.

Definition at line 60 of file wedge.hpp.

virtual int mfem::Wedge::GetNFaceVertices ( int  fi) const
inlinevirtual

Implements mfem::Element.

Definition at line 62 of file wedge.hpp.

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

Implements mfem::Element.

Definition at line 50 of file wedge.hpp.

virtual Type mfem::Wedge::GetType ( ) const
inlinevirtual

Return element's type.

Implements mfem::Element.

Definition at line 40 of file wedge.hpp.

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

Returns the indices of the element's vertices.

Implements mfem::Element.

Definition at line 50 of file wedge.cpp.

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

Implements mfem::Element.

Definition at line 48 of file wedge.hpp.

void mfem::Wedge::SetVertices ( const int *  ind)
virtual

Set the vertices according to the given input.

Reimplemented from mfem::Element.

Definition at line 42 of file wedge.cpp.

Member Data Documentation

int mfem::Wedge::indices[6]
protected

Definition at line 25 of file wedge.hpp.


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