MFEM v4.7.0
Finite element discretization library
|
Data type hexahedron element. More...
#include <hexahedron.hpp>
Public Types | |
typedef Geometry::Constants< Geometry::CUBE > | 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 | |
Hexahedron () | |
Hexahedron (const int *ind, int attr=1) | |
Constructs hexahedron by specifying the indices and the attribute. | |
Hexahedron (int ind1, int ind2, int ind3, int ind4, int ind5, int ind6, int ind7, int ind8, int attr=1) | |
Constructs hexahedron by specifying the indices and the attribute. | |
Type | GetType () const override |
Return element's type. | |
void | GetVertices (Array< int > &v) const override |
Get the indices defining the vertices. | |
void | SetVertices (const Array< int > &v) override |
Set the indices defining the vertices. | |
int * | GetVertices () override |
void | SetVertices (const int *ind) override |
Set the indices defining the vertices. | |
int | GetNVertices () const override |
int | GetNEdges () const override |
const int * | GetEdgeVertices (int ei) const override |
MFEM_DEPRECATED int | GetNFaces (int &nFaceVertices) const override |
int | GetNFaces () const override |
int | GetNFaceVertices (int) const override |
const int * | GetFaceVertices (int fi) const override |
Element * | Duplicate (Mesh *m) const override |
virtual | ~Hexahedron ()=default |
Public Member Functions inherited from mfem::Element | |
Element (Geometry::Type bg=Geometry::POINT) | |
Default element constructor. | |
Geometry::Type | GetGeometryType () const |
int | GetAttribute () const |
Return element's attribute. | |
void | SetAttribute (const int attr) |
Set element's attribute. | |
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. | |
virtual int | NeedRefinement (HashTable< Hashed2 > &v_to_v) const |
Return 1 if the element needs refinement in order to get conforming mesh. | |
virtual void | ResetTransform (int tr) |
Set current coarse-fine transformation number. | |
virtual void | PushTransform (int tr) |
Add 'tr' to the current chain of coarse-fine transformations. | |
virtual unsigned | GetTransform () const |
Return current coarse-fine transformation. | |
virtual | ~Element () |
Destroys element. | |
Protected Attributes | |
int | indices [8] |
Protected Attributes inherited from mfem::Element | |
int | attribute |
Element's attribute (specifying material property, etc). | |
Geometry::Type | base_geom |
Element's type from the Finite Element's perspective. | |
Data type hexahedron element.
Definition at line 22 of file hexahedron.hpp.
Definition at line 28 of file hexahedron.hpp.
|
inline |
Definition at line 30 of file hexahedron.hpp.
mfem::Hexahedron::Hexahedron | ( | const int * | ind, |
int | attr = 1 ) |
Constructs hexahedron by specifying the indices and the attribute.
Definition at line 18 of file hexahedron.cpp.
mfem::Hexahedron::Hexahedron | ( | int | ind1, |
int | ind2, | ||
int | ind3, | ||
int | ind4, | ||
int | ind5, | ||
int | ind6, | ||
int | ind7, | ||
int | ind8, | ||
int | attr = 1 ) |
Constructs hexahedron by specifying the indices and the attribute.
Definition at line 28 of file hexahedron.cpp.
|
virtualdefault |
Implements mfem::Element.
Definition at line 72 of file hexahedron.hpp.
|
inlineoverridevirtual |
Implements mfem::Element.
Definition at line 58 of file hexahedron.hpp.
|
inlineoverridevirtual |
Implements mfem::Element.
Definition at line 69 of file hexahedron.hpp.
|
inlineoverridevirtual |
Implements mfem::Element.
Definition at line 56 of file hexahedron.hpp.
|
inlineoverridevirtual |
Implements mfem::Element.
Definition at line 65 of file hexahedron.hpp.
|
inlineoverridevirtual |
Implements mfem::Element.
Definition at line 62 of file hexahedron.hpp.
|
inlineoverridevirtual |
Implements mfem::Element.
Definition at line 67 of file hexahedron.hpp.
|
inlineoverridevirtual |
Implements mfem::Element.
Definition at line 54 of file hexahedron.hpp.
|
inlineoverridevirtual |
|
inlineoverridevirtual |
Implements mfem::Element.
Definition at line 49 of file hexahedron.hpp.
|
overridevirtual |
Get the indices defining the vertices.
Implements mfem::Element.
Definition at line 43 of file hexahedron.cpp.
|
overridevirtual |
Set the indices defining the vertices.
Implements mfem::Element.
Definition at line 49 of file hexahedron.cpp.
|
overridevirtual |
Set the indices defining the vertices.
Implements mfem::Element.
Definition at line 55 of file hexahedron.cpp.
|
protected |
Definition at line 25 of file hexahedron.hpp.