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

#include <eltrans.hpp>

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

Public Member Functions

void SetFE (const FiniteElement *FE)
 
const FiniteElementGetFE () const
 
DenseMatrixGetPointMat ()
 Read and write access to the underlying point matrix describing the transformation. More...
 
void SetIdentityTransformation (int GeomType)
 
virtual void Transform (const IntegrationPoint &, Vector &)
 
virtual void Transform (const IntegrationRule &, DenseMatrix &)
 
virtual void Transform (const DenseMatrix &matrix, DenseMatrix &result)
 Transform columns of 'matrix', store result in 'result'. More...
 
virtual int Order ()
 
virtual int OrderJ ()
 
virtual int OrderW ()
 
virtual int OrderGrad (const FiniteElement *fe)
 order of adj(J)^t.grad(fi) More...
 
virtual int GetSpaceDim ()
 
virtual int TransformBack (const Vector &, IntegrationPoint &)
 
virtual ~IsoparametricTransformation ()
 
- Public Member Functions inherited from mfem::ElementTransformation
 ElementTransformation ()
 
void SetIntPoint (const IntegrationPoint *ip)
 
const IntegrationPointGetIntPoint ()
 
const DenseMatrixJacobian ()
 
double Weight ()
 
const DenseMatrixAdjugateJacobian ()
 
const DenseMatrixInverseJacobian ()
 
virtual ~ElementTransformation ()
 

Additional Inherited Members

- Public Attributes inherited from mfem::ElementTransformation
int Attribute
 
int ElementNo
 
- Protected Types inherited from mfem::ElementTransformation
enum  StateMasks { JACOBIAN_MASK = 1, WEIGHT_MASK = 2, ADJUGATE_MASK = 4, INVERSE_MASK = 8 }
 
- Protected Member Functions inherited from mfem::ElementTransformation
double EvalWeight ()
 
const DenseMatrixEvalAdjugateJ ()
 
const DenseMatrixEvalInverseJ ()
 
- Protected Attributes inherited from mfem::ElementTransformation
const IntegrationPointIntPoint
 
DenseMatrix dFdx
 
DenseMatrix adjJ
 
DenseMatrix invJ
 
double Wght
 
int EvalState
 

Detailed Description

Definition at line 94 of file eltrans.hpp.

Constructor & Destructor Documentation

virtual mfem::IsoparametricTransformation::~IsoparametricTransformation ( )
inlinevirtual

Definition at line 143 of file eltrans.hpp.

Member Function Documentation

const FiniteElement* mfem::IsoparametricTransformation::GetFE ( ) const
inline

Definition at line 109 of file eltrans.hpp.

DenseMatrix& mfem::IsoparametricTransformation::GetPointMat ( )
inline

Read and write access to the underlying point matrix describing the transformation.

The dimensions of the matrix are space-dim x dof. The transformation is defined as

x=F(xh)=P.phi(xh),

where xh (x hat) is the reference point, x is the corresponding physical point, P is the point matrix, and phi(xh) is the column-vector of all basis functions evaluated at xh. The columns of P represent the control points in physical space defining the transformation.

Definition at line 122 of file eltrans.hpp.

virtual int mfem::IsoparametricTransformation::GetSpaceDim ( )
inlinevirtual

Get dimension of target space (we support 2D meshes embedded in 3D; in this case the function should return "3").

Implements mfem::ElementTransformation.

Definition at line 135 of file eltrans.hpp.

virtual int mfem::IsoparametricTransformation::Order ( )
inlinevirtual

Implements mfem::ElementTransformation.

Definition at line 130 of file eltrans.hpp.

int mfem::IsoparametricTransformation::OrderGrad ( const FiniteElement fe)
virtual

order of adj(J)^t.grad(fi)

Implements mfem::ElementTransformation.

Definition at line 123 of file eltrans.cpp.

int mfem::IsoparametricTransformation::OrderJ ( )
virtual

Implements mfem::ElementTransformation.

Definition at line 95 of file eltrans.cpp.

int mfem::IsoparametricTransformation::OrderW ( )
virtual

Implements mfem::ElementTransformation.

Definition at line 109 of file eltrans.cpp.

void mfem::IsoparametricTransformation::SetFE ( const FiniteElement FE)
inline

Definition at line 108 of file eltrans.hpp.

void mfem::IsoparametricTransformation::SetIdentityTransformation ( int  GeomType)

Definition at line 56 of file eltrans.cpp.

void mfem::IsoparametricTransformation::Transform ( const IntegrationPoint ip,
Vector trans 
)
virtual

Implements mfem::ElementTransformation.

Definition at line 142 of file eltrans.cpp.

void mfem::IsoparametricTransformation::Transform ( const IntegrationRule ir,
DenseMatrix tr 
)
virtual

Implements mfem::ElementTransformation.

Definition at line 152 of file eltrans.cpp.

void mfem::IsoparametricTransformation::Transform ( const DenseMatrix matrix,
DenseMatrix result 
)
virtual

Transform columns of 'matrix', store result in 'result'.

Implements mfem::ElementTransformation.

Definition at line 178 of file eltrans.cpp.

int mfem::IsoparametricTransformation::TransformBack ( const Vector ,
IntegrationPoint  
)
virtual

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.

Implements mfem::ElementTransformation.

Definition at line 203 of file eltrans.cpp.


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