MFEM v2.0
|
#include <lininteg.hpp>
Public Member Functions | |
VectorBoundaryLFIntegrator (VectorCoefficient &QG) | |
Constructs a boundary integrator with a given VectorCoefficient QG. | |
virtual void | AssembleRHSElementVect (const FiniteElement &el, ElementTransformation &Tr, Vector &elvect) |
Private Attributes | |
Vector | shape |
Vector | vec |
VectorCoefficient & | Q |
Class for boundary integration of L(v) := (g, v), where f=(f1,...,fn) and v=(v1,...,vn).
Definition at line 101 of file lininteg.hpp.
VectorBoundaryLFIntegrator::VectorBoundaryLFIntegrator | ( | VectorCoefficient & | QG | ) | [inline] |
Constructs a boundary integrator with a given VectorCoefficient QG.
Definition at line 109 of file lininteg.hpp.
void VectorBoundaryLFIntegrator::AssembleRHSElementVect | ( | const FiniteElement & | el, |
ElementTransformation & | Tr, | ||
Vector & | elvect | ||
) | [virtual] |
Given a particular boundary Finite Element and a transformation (Tr) computes the element boundary vector, elvect.
Implements LinearFormIntegrator.
Definition at line 119 of file lininteg.cpp.
References FiniteElement::CalcShape(), VectorCoefficient::Eval(), IntegrationRules::Get(), FiniteElement::GetDof(), FiniteElement::GetGeomType(), IntegrationRule::GetNPoints(), FiniteElement::GetOrder(), VectorCoefficient::GetVDim(), IntegrationRule::IntPoint(), IntRules, Q, ElementTransformation::SetIntPoint(), Vector::SetSize(), shape, vec, IntegrationPoint::weight, and ElementTransformation::Weight().
VectorCoefficient& VectorBoundaryLFIntegrator::Q [private] |
Definition at line 105 of file lininteg.hpp.
Referenced by AssembleRHSElementVect().
Vector VectorBoundaryLFIntegrator::shape [private] |
Definition at line 104 of file lininteg.hpp.
Referenced by AssembleRHSElementVect().
Vector VectorBoundaryLFIntegrator::vec [private] |
Definition at line 104 of file lininteg.hpp.
Referenced by AssembleRHSElementVect().