MFEM
v4.0
Finite element discretization library
|
#include <eltrans.hpp>
Public Member Functions | |
ElementTransformation () | |
void | SetIntPoint (const IntegrationPoint *ip) |
const IntegrationPoint & | GetIntPoint () |
virtual void | Transform (const IntegrationPoint &, Vector &)=0 |
virtual void | Transform (const IntegrationRule &, DenseMatrix &)=0 |
virtual void | Transform (const DenseMatrix &matrix, DenseMatrix &result)=0 |
Transform columns of 'matrix', store result in 'result'. More... | |
const DenseMatrix & | Jacobian () |
Return the Jacobian matrix of the transformation at the currently set IntegrationPoint, using the method SetIntPoint(). More... | |
double | Weight () |
const DenseMatrix & | AdjugateJacobian () |
const DenseMatrix & | InverseJacobian () |
virtual int | Order ()=0 |
virtual int | OrderJ ()=0 |
virtual int | OrderW ()=0 |
virtual int | OrderGrad (const FiniteElement *fe)=0 |
Order of adj(J)^t.grad(fi) More... | |
Geometry::Type | GetGeometryType () const |
Return the Geometry::Type of the reference element. More... | |
int | GetDimension () const |
Return the dimension of the reference element. More... | |
int | GetSpaceDim () const |
Get the dimension of the target (physical) space. More... | |
virtual int | TransformBack (const Vector &pt, IntegrationPoint &ip)=0 |
Transform a point pt from physical space to a point ip in reference space. More... | |
virtual | ~ElementTransformation () |
Public Attributes | |
int | Attribute |
int | ElementNo |
Protected Types | |
enum | StateMasks { JACOBIAN_MASK = 1, WEIGHT_MASK = 2, ADJUGATE_MASK = 4, INVERSE_MASK = 8 } |
Protected Member Functions | |
virtual const DenseMatrix & | EvalJacobian ()=0 |
double | EvalWeight () |
const DenseMatrix & | EvalAdjugateJ () |
const DenseMatrix & | EvalInverseJ () |
Protected Attributes | |
const IntegrationPoint * | IntPoint |
DenseMatrix | dFdx |
DenseMatrix | adjJ |
DenseMatrix | invJ |
double | Wght |
int | EvalState |
Geometry::Type | geom |
int | space_dim |
Definition at line 23 of file eltrans.hpp.
|
protected |
Enumerator | |
---|---|
JACOBIAN_MASK | |
WEIGHT_MASK | |
ADJUGATE_MASK | |
INVERSE_MASK |
Definition at line 30 of file eltrans.hpp.
mfem::ElementTransformation::ElementTransformation | ( | ) |
Definition at line 19 of file eltrans.cpp.
|
inlinevirtual |
Definition at line 104 of file eltrans.hpp.
|
inline |
Definition at line 73 of file eltrans.hpp.
|
protected |
Definition at line 34 of file eltrans.cpp.
|
protected |
Definition at line 44 of file eltrans.cpp.
|
protectedpure virtual |
|
protected |
Definition at line 26 of file eltrans.cpp.
|
inline |
Return the dimension of the reference element.
Definition at line 89 of file eltrans.hpp.
|
inline |
Return the Geometry::Type of the reference element.
Definition at line 86 of file eltrans.hpp.
|
inline |
Definition at line 55 of file eltrans.hpp.
|
inline |
Get the dimension of the target (physical) space.
We support 2D meshes embedded in 3D; in this case the function will return "3".
Definition at line 94 of file eltrans.hpp.
|
inline |
Definition at line 76 of file eltrans.hpp.
|
inline |
Return the Jacobian matrix of the transformation at the currently set IntegrationPoint, using the method SetIntPoint().
The dimensions of the Jacobian matrix are physical-space-dim by reference-space-dim. The first column contains the x derivatives of the transformation, the second – the y derivatives, etc.
Definition at line 68 of file eltrans.hpp.
|
pure virtual |
Implemented in mfem::IsoparametricTransformation.
|
pure virtual |
Order of adj(J)^t.grad(fi)
Implemented in mfem::IsoparametricTransformation.
|
pure virtual |
Implemented in mfem::IsoparametricTransformation.
|
pure virtual |
Implemented in mfem::IsoparametricTransformation.
|
inline |
Definition at line 53 of file eltrans.hpp.
|
pure virtual |
Implemented in mfem::IsoparametricTransformation.
|
pure virtual |
Implemented in mfem::IsoparametricTransformation.
|
pure virtual |
Transform columns of 'matrix', store result in 'result'.
Implemented in mfem::IsoparametricTransformation.
|
pure virtual |
Transform a point pt from physical space to a point ip in reference space.
Attempt to find the IntegrationPoint that is transformed into the given point in physical space. If the inversion fails a non-zero value is returned. This method is not 100 percent reliable for non-linear transformations.
Implemented in mfem::IsoparametricTransformation.
|
inline |
Definition at line 71 of file eltrans.hpp.
|
protected |
Definition at line 27 of file eltrans.hpp.
int mfem::ElementTransformation::Attribute |
Definition at line 49 of file eltrans.hpp.
|
protected |
Definition at line 27 of file eltrans.hpp.
int mfem::ElementTransformation::ElementNo |
Definition at line 49 of file eltrans.hpp.
|
protected |
Definition at line 29 of file eltrans.hpp.
|
protected |
Definition at line 37 of file eltrans.hpp.
|
protected |
Definition at line 26 of file eltrans.hpp.
|
protected |
Definition at line 27 of file eltrans.hpp.
|
protected |
Definition at line 38 of file eltrans.hpp.
|
protected |
Definition at line 28 of file eltrans.hpp.