MFEM v2.0
|
Integrator for (Q u, v) for VectorFiniteElements. More...
#include <bilininteg.hpp>
Public Member Functions | |
VectorFEMassIntegrator () | |
VectorFEMassIntegrator (Coefficient *_q) | |
VectorFEMassIntegrator (Coefficient &q) | |
VectorFEMassIntegrator (VectorCoefficient *_vq) | |
VectorFEMassIntegrator (VectorCoefficient &vq) | |
virtual void | AssembleElementMatrix (const FiniteElement &el, ElementTransformation &Trans, DenseMatrix &elmat) |
Given a particular Finite Element computes the element matrix elmat. | |
virtual void | AssembleElementMatrix2 (const FiniteElement &trial_fe, const FiniteElement &test_fe, ElementTransformation &Trans, DenseMatrix &elmat) |
Private Attributes | |
Coefficient * | Q |
VectorCoefficient * | VQ |
Vector | shape |
Vector | D |
DenseMatrix | vshape |
Integrator for (Q u, v) for VectorFiniteElements.
Definition at line 300 of file bilininteg.hpp.
VectorFEMassIntegrator::VectorFEMassIntegrator | ( | ) | [inline] |
Definition at line 313 of file bilininteg.hpp.
VectorFEMassIntegrator::VectorFEMassIntegrator | ( | Coefficient * | _q | ) | [inline] |
Definition at line 314 of file bilininteg.hpp.
VectorFEMassIntegrator::VectorFEMassIntegrator | ( | Coefficient & | q | ) | [inline] |
Definition at line 315 of file bilininteg.hpp.
VectorFEMassIntegrator::VectorFEMassIntegrator | ( | VectorCoefficient * | _vq | ) | [inline] |
Definition at line 316 of file bilininteg.hpp.
VectorFEMassIntegrator::VectorFEMassIntegrator | ( | VectorCoefficient & | vq | ) | [inline] |
Definition at line 317 of file bilininteg.hpp.
void VectorFEMassIntegrator::AssembleElementMatrix | ( | const FiniteElement & | el, |
ElementTransformation & | Trans, | ||
DenseMatrix & | elmat | ||
) | [virtual] |
Given a particular Finite Element computes the element matrix elmat.
Reimplemented from BilinearFormIntegrator.
Definition at line 578 of file bilininteg.cpp.
References AddMult_a_AAt(), AddMultADAt(), FiniteElement::CalcVShape(), D, VectorCoefficient::Eval(), IntegrationRules::Get(), FiniteElement::GetDim(), FiniteElement::GetDof(), FiniteElement::GetGeomType(), IntegrationRule::GetNPoints(), FiniteElement::GetOrder(), VectorCoefficient::GetVDim(), IntegrationRule::IntPoint(), IntRules, ElementTransformation::OrderW(), Q, ElementTransformation::SetIntPoint(), DenseMatrix::SetSize(), VQ, vshape, ElementTransformation::Weight(), and IntegrationPoint::weight.
void VectorFEMassIntegrator::AssembleElementMatrix2 | ( | const FiniteElement & | trial_fe, |
const FiniteElement & | test_fe, | ||
ElementTransformation & | Trans, | ||
DenseMatrix & | elmat | ||
) | [virtual] |
Compute the local matrix representation of a bilinear form a(u,v) defined on different trial (given by u) and test (given by v) spaces. The rows in the local matrix correspond to the test dofs and the columns -- to the trial dofs.
Reimplemented from BilinearFormIntegrator.
Definition at line 627 of file bilininteg.cpp.
References FiniteElement::CalcShape(), FiniteElement::CalcVShape(), IntegrationRules::Get(), FiniteElement::GetDim(), FiniteElement::GetDof(), FiniteElement::GetGeomType(), IntegrationRule::GetNPoints(), FiniteElement::GetOrder(), IntegrationRule::IntPoint(), IntRules, mfem_error(), ElementTransformation::OrderW(), Q, ElementTransformation::SetIntPoint(), Vector::SetSize(), DenseMatrix::SetSize(), shape, VQ, vshape, ElementTransformation::Weight(), and IntegrationPoint::weight.
Vector VectorFEMassIntegrator::D [private] |
Definition at line 308 of file bilininteg.hpp.
Referenced by AssembleElementMatrix().
Coefficient* VectorFEMassIntegrator::Q [private] |
Definition at line 303 of file bilininteg.hpp.
Referenced by AssembleElementMatrix(), AssembleElementMatrix2(), and VectorFEMassIntegrator().
Vector VectorFEMassIntegrator::shape [private] |
Definition at line 307 of file bilininteg.hpp.
Referenced by AssembleElementMatrix2().
VectorCoefficient* VectorFEMassIntegrator::VQ [private] |
Definition at line 304 of file bilininteg.hpp.
Referenced by AssembleElementMatrix(), AssembleElementMatrix2(), and VectorFEMassIntegrator().
DenseMatrix VectorFEMassIntegrator::vshape [private] |
Definition at line 309 of file bilininteg.hpp.
Referenced by AssembleElementMatrix(), and AssembleElementMatrix2().