MFEM v2.0
|
#include <fe.hpp>
Public Member Functions | |
L2_TriangleElement (const int p) | |
virtual void | CalcShape (const IntegrationPoint &ip, Vector &shape) const |
virtual void | CalcDShape (const IntegrationPoint &ip, DenseMatrix &dshape) const |
Private Attributes | |
Vector | shape_x |
Vector | shape_y |
Vector | shape_l |
Vector | dshape_x |
Vector | dshape_y |
Vector | dshape_l |
Vector | u |
DenseMatrix | du |
DenseMatrix | T |
L2_TriangleElement::L2_TriangleElement | ( | const int | p | ) |
Definition at line 6797 of file fe.cpp.
References Poly_1D::CalcBasis(), FiniteElement::Dim, FiniteElement::Dof, dshape_l, dshape_x, dshape_y, du, IntegrationRule::IntPoint(), DenseMatrix::Invert(), FiniteElement::Nodes, Poly_1D::OpenPoints(), IntegrationPoint::Set2(), DenseMatrix::SetSize(), Vector::SetSize(), shape_l, shape_x, shape_y, T, u, IntegrationPoint::x, and IntegrationPoint::y.
void L2_TriangleElement::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 6859 of file fe.cpp.
References Poly_1D::CalcBasis(), FiniteElement::Dim, FiniteElement::Dof, dshape_l, dshape_x, dshape_y, du, Mult(), FiniteElement::Order, shape_l, shape_x, shape_y, T, IntegrationPoint::x, and IntegrationPoint::y.
void L2_TriangleElement::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 6839 of file fe.cpp.
References Poly_1D::CalcBasis(), FiniteElement::Dof, DenseMatrix::Mult, FiniteElement::Order, shape_l, shape_x, shape_y, T, u, IntegrationPoint::x, and IntegrationPoint::y.
Vector L2_TriangleElement::dshape_l [mutable, private] |
Definition at line 1368 of file fe.hpp.
Referenced by CalcDShape(), and L2_TriangleElement().
Vector L2_TriangleElement::dshape_x [mutable, private] |
Definition at line 1368 of file fe.hpp.
Referenced by CalcDShape(), and L2_TriangleElement().
Vector L2_TriangleElement::dshape_y [mutable, private] |
Definition at line 1368 of file fe.hpp.
Referenced by CalcDShape(), and L2_TriangleElement().
DenseMatrix L2_TriangleElement::du [mutable, private] |
Definition at line 1369 of file fe.hpp.
Referenced by CalcDShape(), and L2_TriangleElement().
Vector L2_TriangleElement::shape_l [mutable, private] |
Definition at line 1368 of file fe.hpp.
Referenced by CalcDShape(), CalcShape(), and L2_TriangleElement().
Vector L2_TriangleElement::shape_x [mutable, private] |
Definition at line 1368 of file fe.hpp.
Referenced by CalcDShape(), CalcShape(), and L2_TriangleElement().
Vector L2_TriangleElement::shape_y [mutable, private] |
Definition at line 1368 of file fe.hpp.
Referenced by CalcDShape(), CalcShape(), and L2_TriangleElement().
DenseMatrix L2_TriangleElement::T [private] |
Definition at line 1371 of file fe.hpp.
Referenced by CalcDShape(), CalcShape(), and L2_TriangleElement().
Vector L2_TriangleElement::u [mutable, private] |
Definition at line 1368 of file fe.hpp.
Referenced by CalcShape(), and L2_TriangleElement().