MFEM v2.0
|
Class for quadratic FE on triangle with nodes at the "Gaussian" points. More...
#include <fe.hpp>
Public Member Functions | |
GaussQuad2DFiniteElement () | |
virtual void | CalcShape (const IntegrationPoint &ip, Vector &shape) const |
virtual void | CalcDShape (const IntegrationPoint &ip, DenseMatrix &dshape) const |
Private Attributes | |
DenseMatrix | A |
DenseMatrix | D |
Vector | pol |
Static Private Attributes | |
static const double | p [2] |
Class for quadratic FE on triangle with nodes at the "Gaussian" points.
GaussQuad2DFiniteElement::GaussQuad2DFiniteElement | ( | ) |
Definition at line 909 of file fe.cpp.
References A, IntegrationRule::IntPoint(), DenseMatrix::Invert(), FiniteElement::Nodes, p, IntegrationPoint::x, and IntegrationPoint::y.
void GaussQuad2DFiniteElement::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 953 of file fe.cpp.
References A, D, Mult(), IntegrationPoint::x, and IntegrationPoint::y.
void GaussQuad2DFiniteElement::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 939 of file fe.cpp.
References A, DenseMatrix::Mult, pol, IntegrationPoint::x, and IntegrationPoint::y.
DenseMatrix GaussQuad2DFiniteElement::A [private] |
Definition at line 452 of file fe.hpp.
Referenced by CalcDShape(), CalcShape(), and GaussQuad2DFiniteElement().
DenseMatrix GaussQuad2DFiniteElement::D [mutable, private] |
Definition at line 453 of file fe.hpp.
Referenced by CalcDShape().
const double GaussQuad2DFiniteElement::p [static, private] |
{ 0.0915762135097707434595714634022015, 0.445948490915964886318329253883051 }
Definition at line 451 of file fe.hpp.
Referenced by GaussQuad2DFiniteElement().
Vector GaussQuad2DFiniteElement::pol [mutable, private] |
Definition at line 454 of file fe.hpp.
Referenced by CalcShape().