MFEM v2.0
|
#include <lininteg.hpp>
Public Member Functions | |
VectorBoundaryFluxLFIntegrator (Coefficient &f, double s=1.0, const IntegrationRule *ir=NULL) | |
virtual void | AssembleRHSElementVect (const FiniteElement &el, ElementTransformation &Tr, Vector &elvect) |
Private Attributes | |
double | Sign |
Coefficient * | F |
Vector | shape |
Vector | nor |
const IntegrationRule * | IntRule |
for vector test function v=(v1,...,vn) where all vi are in the same scalar FE space and f is a scalar function.
Definition at line 142 of file lininteg.hpp.
VectorBoundaryFluxLFIntegrator::VectorBoundaryFluxLFIntegrator | ( | Coefficient & | f, |
double | s = 1.0 , |
||
const IntegrationRule * | ir = NULL |
||
) | [inline] |
Definition at line 151 of file lininteg.hpp.
void VectorBoundaryFluxLFIntegrator::AssembleRHSElementVect | ( | const FiniteElement & | el, |
ElementTransformation & | Tr, | ||
Vector & | elvect | ||
) | [virtual] |
Given a particular Finite Element and a transformation (Tr) computes the element vector, elvect.
Implements LinearFormIntegrator.
Definition at line 179 of file lininteg.cpp.
References FiniteElement::CalcShape(), F, IntegrationRules::Get(), FiniteElement::GetDim(), FiniteElement::GetDof(), FiniteElement::GetGeomType(), IntegrationRule::GetNPoints(), FiniteElement::GetOrder(), IntegrationRule::IntPoint(), IntRule, IntRules, ElementTransformation::Jacobian(), nor, ElementTransformation::SetIntPoint(), Vector::SetSize(), shape, Sign, and IntegrationPoint::weight.
Coefficient* VectorBoundaryFluxLFIntegrator::F [private] |
Definition at line 146 of file lininteg.hpp.
Referenced by AssembleRHSElementVect().
const IntegrationRule* VectorBoundaryFluxLFIntegrator::IntRule [private] |
Definition at line 148 of file lininteg.hpp.
Referenced by AssembleRHSElementVect().
Vector VectorBoundaryFluxLFIntegrator::nor [private] |
Definition at line 147 of file lininteg.hpp.
Referenced by AssembleRHSElementVect().
Vector VectorBoundaryFluxLFIntegrator::shape [private] |
Definition at line 147 of file lininteg.hpp.
Referenced by AssembleRHSElementVect().
double VectorBoundaryFluxLFIntegrator::Sign [private] |
Definition at line 145 of file lininteg.hpp.
Referenced by AssembleRHSElementVect().