MFEM v2.0
|
#include <fe.hpp>
Public Member Functions | |
L2_HexahedronElement (const int p) | |
virtual void | CalcShape (const IntegrationPoint &ip, Vector &shape) const |
virtual void | CalcDShape (const IntegrationPoint &ip, DenseMatrix &dshape) const |
virtual void | ProjectDelta (int vertex, Vector &dofs) const |
Private Attributes | |
Poly_1D::Basis & | basis1d |
Vector | shape_x |
Vector | shape_y |
Vector | shape_z |
Vector | dshape_x |
Vector | dshape_y |
Vector | dshape_z |
L2_HexahedronElement::L2_HexahedronElement | ( | const int | p | ) |
Definition at line 6663 of file fe.cpp.
References dshape_x, dshape_y, dshape_z, IntegrationRule::IntPoint(), FiniteElement::Nodes, Poly_1D::OpenPoints(), IntegrationPoint::Set3(), Vector::SetSize(), shape_x, shape_y, and shape_z.
void L2_HexahedronElement::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 6703 of file fe.cpp.
References basis1d, dshape_x, dshape_y, dshape_z, Poly_1D::Basis::Eval(), FiniteElement::Order, shape_x, shape_y, shape_z, IntegrationPoint::x, IntegrationPoint::y, and IntegrationPoint::z.
void L2_HexahedronElement::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 6684 of file fe.cpp.
References basis1d, Poly_1D::Basis::Eval(), FiniteElement::Order, shape_x, shape_y, shape_z, IntegrationPoint::x, IntegrationPoint::y, and IntegrationPoint::z.
void L2_HexahedronElement::ProjectDelta | ( | int | vertex, |
Vector & | dofs | ||
) | const [virtual] |
Compute a representation (up to multiplicative constant) for the delta function at the vertex with the given index.
Reimplemented from FiniteElement.
Definition at line 6727 of file fe.cpp.
References Poly_1D::CalcDelta(), Poly_1D::OpenPoints(), FiniteElement::Order, shape_x, and shape_y.
Poly_1D::Basis& L2_HexahedronElement::basis1d [private] |
Definition at line 1350 of file fe.hpp.
Referenced by CalcDShape(), and CalcShape().
Vector L2_HexahedronElement::dshape_x [mutable, private] |
Definition at line 1352 of file fe.hpp.
Referenced by CalcDShape(), and L2_HexahedronElement().
Vector L2_HexahedronElement::dshape_y [mutable, private] |
Definition at line 1352 of file fe.hpp.
Referenced by CalcDShape(), and L2_HexahedronElement().
Vector L2_HexahedronElement::dshape_z [mutable, private] |
Definition at line 1352 of file fe.hpp.
Referenced by CalcDShape(), and L2_HexahedronElement().
Vector L2_HexahedronElement::shape_x [mutable, private] |
Definition at line 1352 of file fe.hpp.
Referenced by CalcDShape(), CalcShape(), L2_HexahedronElement(), and ProjectDelta().
Vector L2_HexahedronElement::shape_y [mutable, private] |
Definition at line 1352 of file fe.hpp.
Referenced by CalcDShape(), CalcShape(), L2_HexahedronElement(), and ProjectDelta().
Vector L2_HexahedronElement::shape_z [mutable, private] |
Definition at line 1352 of file fe.hpp.
Referenced by CalcDShape(), CalcShape(), and L2_HexahedronElement().