MFEM
v4.5.2
Finite element discretization library
|
Data type quadrilateral element. More...
#include <quadrilateral.hpp>
Public Types | |
typedef Geometry::Constants< Geometry::SQUARE > | 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 | |
Quadrilateral () | |
Quadrilateral (const int *ind, int attr=1) | |
Constructs quadrilateral by specifying the indices and the attribute. More... | |
Quadrilateral (int ind1, int ind2, int ind3, int ind4, int attr=1) | |
Constructs quadrilateral by specifying the indices and the attribute. More... | |
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) const |
virtual const int * | GetFaceVertices (int fi) const |
virtual Element * | Duplicate (Mesh *m) const |
virtual | ~Quadrilateral () |
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 [4] |
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... | |
Data type quadrilateral element.
Definition at line 22 of file quadrilateral.hpp.
Definition at line 28 of file quadrilateral.hpp.
|
inline |
Definition at line 30 of file quadrilateral.hpp.
mfem::Quadrilateral::Quadrilateral | ( | const int * | ind, |
int | attr = 1 |
||
) |
Constructs quadrilateral by specifying the indices and the attribute.
Definition at line 18 of file quadrilateral.cpp.
mfem::Quadrilateral::Quadrilateral | ( | int | ind1, |
int | ind2, | ||
int | ind3, | ||
int | ind4, | ||
int | attr = 1 |
||
) |
Constructs quadrilateral by specifying the indices and the attribute.
Definition at line 28 of file quadrilateral.cpp.
|
inlinevirtual |
Definition at line 69 of file quadrilateral.hpp.
Implements mfem::Element.
Definition at line 66 of file quadrilateral.hpp.
|
inlinevirtual |
Implements mfem::Element.
Definition at line 53 of file quadrilateral.hpp.
|
inlinevirtual |
Implements mfem::Element.
Definition at line 64 of file quadrilateral.hpp.
|
inlinevirtual |
Implements mfem::Element.
Definition at line 51 of file quadrilateral.hpp.
|
inlinevirtual |
Implements mfem::Element.
Definition at line 57 of file quadrilateral.hpp.
|
inlinevirtual |
Implements mfem::Element.
Definition at line 60 of file quadrilateral.hpp.
|
inlinevirtual |
Implements mfem::Element.
Definition at line 62 of file quadrilateral.hpp.
|
inlinevirtual |
Implements mfem::Element.
Definition at line 49 of file quadrilateral.hpp.
|
inlinevirtual |
|
virtual |
Returns the indices of the element's vertices.
Implements mfem::Element.
Definition at line 46 of file quadrilateral.cpp.
|
inlinevirtual |
Implements mfem::Element.
Definition at line 47 of file quadrilateral.hpp.
|
virtual |
Set the vertices according to the given input.
Reimplemented from mfem::Element.
Definition at line 38 of file quadrilateral.cpp.
|
protected |
Definition at line 25 of file quadrilateral.hpp.