MFEM v2.0
|
Tensor products of 1D FEs (only degree 2 is functional) More...
#include <fe.hpp>
Public Member Functions | |
LagrangeHexFiniteElement (int degree) | |
virtual void | CalcShape (const IntegrationPoint &ip, Vector &shape) const |
virtual void | CalcDShape (const IntegrationPoint &ip, DenseMatrix &dshape) const |
~LagrangeHexFiniteElement () | |
Private Attributes | |
Lagrange1DFiniteElement * | fe1d |
int | dof1d |
int * | I |
int * | J |
int * | K |
Vector | shape1dx |
Vector | shape1dy |
Vector | shape1dz |
DenseMatrix | dshape1dx |
DenseMatrix | dshape1dy |
DenseMatrix | dshape1dz |
LagrangeHexFiniteElement::LagrangeHexFiniteElement | ( | int | degree | ) |
Definition at line 3400 of file fe.cpp.
References FiniteElement::Dof, dof1d, dshape1dx, dshape1dy, dshape1dz, fe1d, FiniteElement::GetDof(), FiniteElement::GetNodes(), I, IntegrationRule::IntPoint(), J, K, mfem_error(), FiniteElement::Nodes, DenseMatrix::SetSize(), Vector::SetSize(), shape1dx, shape1dy, shape1dz, IntegrationPoint::x, IntegrationPoint::y, and IntegrationPoint::z.
LagrangeHexFiniteElement::~LagrangeHexFiniteElement | ( | ) |
void LagrangeHexFiniteElement::CalcDShape | ( | const IntegrationPoint & | ip, |
DenseMatrix & | dshape | ||
) | const [virtual] |
pure virtual function which evaluates the values of all partial derivatives of all shape functions at a given point ip and stores them in the matrix dshape (Dof x Dim) so that each row contains the derivatives of one shape function
Implements FiniteElement.
Definition at line 3560 of file fe.cpp.
References CalcShape(), FiniteElement::Dof, dof1d, dshape1dx, dshape1dy, dshape1dz, fe1d, I, J, K, shape1dx, shape1dy, shape1dz, IntegrationPoint::x, IntegrationPoint::y, and IntegrationPoint::z.
void LagrangeHexFiniteElement::CalcShape | ( | const IntegrationPoint & | ip, |
Vector & | shape | ||
) | const [virtual] |
pure virtual function which evaluates the values of all shape functions at a given point ip and stores them in the vector shape of dimension Dof
Implements FiniteElement.
Definition at line 3541 of file fe.cpp.
References FiniteElement::Dof, dof1d, fe1d, I, J, K, shape1dx, shape1dy, shape1dz, IntegrationPoint::x, IntegrationPoint::y, and IntegrationPoint::z.
Referenced by CalcDShape().
int LagrangeHexFiniteElement::dof1d [private] |
Definition at line 907 of file fe.hpp.
Referenced by CalcDShape(), CalcShape(), and LagrangeHexFiniteElement().
DenseMatrix LagrangeHexFiniteElement::dshape1dx [mutable, private] |
Definition at line 911 of file fe.hpp.
Referenced by CalcDShape(), and LagrangeHexFiniteElement().
DenseMatrix LagrangeHexFiniteElement::dshape1dy [mutable, private] |
Definition at line 911 of file fe.hpp.
Referenced by CalcDShape(), and LagrangeHexFiniteElement().
DenseMatrix LagrangeHexFiniteElement::dshape1dz [mutable, private] |
Definition at line 911 of file fe.hpp.
Referenced by CalcDShape(), and LagrangeHexFiniteElement().
Definition at line 906 of file fe.hpp.
Referenced by CalcDShape(), CalcShape(), LagrangeHexFiniteElement(), and ~LagrangeHexFiniteElement().
int* LagrangeHexFiniteElement::I [private] |
Definition at line 908 of file fe.hpp.
Referenced by CalcDShape(), CalcShape(), LagrangeHexFiniteElement(), and ~LagrangeHexFiniteElement().
int * LagrangeHexFiniteElement::J [private] |
Definition at line 908 of file fe.hpp.
Referenced by CalcDShape(), CalcShape(), LagrangeHexFiniteElement(), and ~LagrangeHexFiniteElement().
int * LagrangeHexFiniteElement::K [private] |
Definition at line 908 of file fe.hpp.
Referenced by CalcDShape(), CalcShape(), LagrangeHexFiniteElement(), and ~LagrangeHexFiniteElement().
Vector LagrangeHexFiniteElement::shape1dx [mutable, private] |
Definition at line 910 of file fe.hpp.
Referenced by CalcDShape(), CalcShape(), and LagrangeHexFiniteElement().
Vector LagrangeHexFiniteElement::shape1dy [mutable, private] |
Definition at line 910 of file fe.hpp.
Referenced by CalcDShape(), CalcShape(), and LagrangeHexFiniteElement().
Vector LagrangeHexFiniteElement::shape1dz [mutable, private] |
Definition at line 910 of file fe.hpp.
Referenced by CalcDShape(), CalcShape(), and LagrangeHexFiniteElement().