MFEM v2.0
|
#include <fe.hpp>
Public Member Functions | |
H1_QuadrilateralElement (const int p) | |
virtual void | CalcShape (const IntegrationPoint &ip, Vector &shape) const |
virtual void | CalcDShape (const IntegrationPoint &ip, DenseMatrix &dshape) const |
Private Attributes | |
Poly_1D::Basis & | basis1d |
Vector | shape_x |
Vector | shape_y |
Vector | dshape_x |
Vector | dshape_y |
Array< int > | dof_map |
H1_QuadrilateralElement::H1_QuadrilateralElement | ( | const int | p | ) |
Definition at line 6040 of file fe.cpp.
References Poly_1D::ClosedPoints(), dof_map, dshape_x, dshape_y, IntegrationRule::IntPoint(), FiniteElement::Nodes, IntegrationPoint::Set2(), Vector::SetSize(), shape_x, and shape_y.
void H1_QuadrilateralElement::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 6101 of file fe.cpp.
References basis1d, dof_map, dshape_x, dshape_y, Poly_1D::Basis::Eval(), FiniteElement::Order, shape_x, shape_y, IntegrationPoint::x, and IntegrationPoint::y.
void H1_QuadrilateralElement::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 6084 of file fe.cpp.
References basis1d, dof_map, Poly_1D::Basis::Eval(), FiniteElement::Order, shape_x, shape_y, IntegrationPoint::x, and IntegrationPoint::y.
Poly_1D::Basis& H1_QuadrilateralElement::basis1d [private] |
Definition at line 1247 of file fe.hpp.
Referenced by CalcDShape(), and CalcShape().
Array<int> H1_QuadrilateralElement::dof_map [private] |
Definition at line 1251 of file fe.hpp.
Referenced by CalcDShape(), CalcShape(), and H1_QuadrilateralElement().
Vector H1_QuadrilateralElement::dshape_x [mutable, private] |
Definition at line 1249 of file fe.hpp.
Referenced by CalcDShape(), and H1_QuadrilateralElement().
Vector H1_QuadrilateralElement::dshape_y [mutable, private] |
Definition at line 1249 of file fe.hpp.
Referenced by CalcDShape(), and H1_QuadrilateralElement().
Vector H1_QuadrilateralElement::shape_x [mutable, private] |
Definition at line 1249 of file fe.hpp.
Referenced by CalcDShape(), CalcShape(), and H1_QuadrilateralElement().
Vector H1_QuadrilateralElement::shape_y [mutable, private] |
Definition at line 1249 of file fe.hpp.
Referenced by CalcDShape(), CalcShape(), and H1_QuadrilateralElement().