MFEM v2.0
|
#include <fe.hpp>
ND_HexahedronElement::ND_HexahedronElement | ( | const int | p | ) |
Definition at line 7775 of file fe.cpp.
References Poly_1D::ClosedPoints(), FiniteElement::Dof, dof2tk, dof_map, dshape_cx, dshape_cy, dshape_cz, IntegrationRule::IntPoint(), FiniteElement::Nodes, Poly_1D::OpenPoints(), IntegrationPoint::Set3(), Vector::SetSize(), shape_cx, shape_cy, shape_cz, shape_ox, shape_oy, and shape_oz.
void ND_HexahedronElement::CalcCurlShape | ( | const IntegrationPoint & | ip, |
DenseMatrix & | curl_shape | ||
) | const [virtual] |
pure virtual function which evaluates the values of the curl all shape functions at a given point ip and stores them in the matrix curl_shape (Dof x Dim) so that each row contains the curl of one shape function
Reimplemented from FiniteElement.
Definition at line 7987 of file fe.cpp.
References cbasis1d, dof_map, dshape_cx, dshape_cy, dshape_cz, Poly_1D::Basis::Eval(), obasis1d, FiniteElement::Order, shape_cx, shape_cy, shape_cz, shape_ox, shape_oy, shape_oz, IntegrationPoint::x, IntegrationPoint::y, and IntegrationPoint::z.
virtual void ND_HexahedronElement::CalcVShape | ( | ElementTransformation & | Trans, |
DenseMatrix & | shape | ||
) | const [inline, virtual] |
Reimplemented from FiniteElement.
Definition at line 1567 of file fe.hpp.
References VectorFiniteElement::CalcVShape_ND().
void ND_HexahedronElement::CalcVShape | ( | const IntegrationPoint & | ip, |
DenseMatrix & | shape | ||
) | const [virtual] |
This virtual function evaluates the values of all components of all shape functions at the given IntegrationPoint. The result is stored in the DenseMatrix shape (Dof x Dim) so that each row contains the components of one shape function.
Reimplemented from FiniteElement.
Definition at line 7925 of file fe.cpp.
References cbasis1d, dof_map, Poly_1D::Basis::Eval(), obasis1d, FiniteElement::Order, shape_cx, shape_cy, shape_cz, shape_ox, shape_oy, shape_oz, IntegrationPoint::x, IntegrationPoint::y, and IntegrationPoint::z.
virtual void ND_HexahedronElement::GetLocalInterpolation | ( | ElementTransformation & | Trans, |
DenseMatrix & | I | ||
) | const [inline, virtual] |
Return the local interpolation matrix I (Dof x Dof) where the fine element is the image of the base geometry under the given transformation.
Reimplemented from FiniteElement.
Definition at line 1572 of file fe.hpp.
References dof2tk, VectorFiniteElement::LocalInterpolation_ND(), and tk.
virtual void ND_HexahedronElement::Project | ( | VectorCoefficient & | vc, |
ElementTransformation & | Trans, | ||
Vector & | dofs | ||
) | const [inline, virtual] |
Given a vector coefficient and a transformation, compute its projection (approximation) in the local finite dimensional space in terms of the degrees of freedom. (VectorFiniteElements)
Reimplemented from FiniteElement.
Definition at line 1576 of file fe.hpp.
References dof2tk, VectorFiniteElement::Project_ND(), and tk.
virtual void ND_HexahedronElement::Project | ( | const FiniteElement & | fe, |
ElementTransformation & | Trans, | ||
DenseMatrix & | I | ||
) | const [inline, virtual] |
Compute the embedding/projection matrix from the given FiniteElement onto 'this' FiniteElement. The ElementTransformation is included to support cases when the projection depends on it.
Reimplemented from FiniteElement.
Definition at line 1579 of file fe.hpp.
References dof2tk, VectorFiniteElement::Project_ND(), and tk.
virtual void ND_HexahedronElement::ProjectGrad | ( | const FiniteElement & | fe, |
ElementTransformation & | Trans, | ||
DenseMatrix & | grad | ||
) | const [inline, virtual] |
Compute the discrete gradient matrix from the given FiniteElement onto 'this' FiniteElement. The ElementTransformation is included to support cases when the matrix depends on it.
Reimplemented from FiniteElement.
Definition at line 1583 of file fe.hpp.
References dof2tk, VectorFiniteElement::ProjectGrad_ND(), and tk.
Poly_1D::Basis& ND_HexahedronElement::cbasis1d [private] |
Definition at line 1556 of file fe.hpp.
Referenced by CalcCurlShape(), and CalcVShape().
Array<int> ND_HexahedronElement::dof2tk [private] |
Definition at line 1561 of file fe.hpp.
Referenced by GetLocalInterpolation(), ND_HexahedronElement(), Project(), and ProjectGrad().
Array<int> ND_HexahedronElement::dof_map [private] |
Definition at line 1561 of file fe.hpp.
Referenced by CalcCurlShape(), CalcVShape(), and ND_HexahedronElement().
Vector ND_HexahedronElement::dshape_cx [mutable, private] |
Definition at line 1559 of file fe.hpp.
Referenced by CalcCurlShape(), and ND_HexahedronElement().
Vector ND_HexahedronElement::dshape_cy [mutable, private] |
Definition at line 1559 of file fe.hpp.
Referenced by CalcCurlShape(), and ND_HexahedronElement().
Vector ND_HexahedronElement::dshape_cz [mutable, private] |
Definition at line 1559 of file fe.hpp.
Referenced by CalcCurlShape(), and ND_HexahedronElement().
Poly_1D::Basis & ND_HexahedronElement::obasis1d [private] |
Definition at line 1556 of file fe.hpp.
Referenced by CalcCurlShape(), and CalcVShape().
Vector ND_HexahedronElement::shape_cx [mutable, private] |
Definition at line 1558 of file fe.hpp.
Referenced by CalcCurlShape(), CalcVShape(), and ND_HexahedronElement().
Vector ND_HexahedronElement::shape_cy [mutable, private] |
Definition at line 1558 of file fe.hpp.
Referenced by CalcCurlShape(), CalcVShape(), and ND_HexahedronElement().
Vector ND_HexahedronElement::shape_cz [mutable, private] |
Definition at line 1558 of file fe.hpp.
Referenced by CalcCurlShape(), CalcVShape(), and ND_HexahedronElement().
Vector ND_HexahedronElement::shape_ox [mutable, private] |
Definition at line 1558 of file fe.hpp.
Referenced by CalcCurlShape(), CalcVShape(), and ND_HexahedronElement().
Vector ND_HexahedronElement::shape_oy [mutable, private] |
Definition at line 1558 of file fe.hpp.
Referenced by CalcCurlShape(), CalcVShape(), and ND_HexahedronElement().
Vector ND_HexahedronElement::shape_oz [mutable, private] |
Definition at line 1558 of file fe.hpp.
Referenced by CalcCurlShape(), CalcVShape(), and ND_HexahedronElement().
const double ND_HexahedronElement::tk [static, private] |
{ 1.,0.,0., 0.,1.,0., 0.,0.,1., -1.,0.,0., 0.,-1.,0., 0.,0.,-1. }
Definition at line 1554 of file fe.hpp.
Referenced by GetLocalInterpolation(), Project(), and ProjectGrad().