MFEM v2.0
Public Member Functions | Private Attributes
MassIntegrator Class Reference

#include <bilininteg.hpp>

Inheritance diagram for MassIntegrator:
Inheritance graph
[legend]
Collaboration diagram for MassIntegrator:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 MassIntegrator (const IntegrationRule *ir=NULL)
 MassIntegrator (Coefficient &q, const IntegrationRule *ir=NULL)
 Construct a mass integrator with coefficient q.
virtual void AssembleElementMatrix (const FiniteElement &el, ElementTransformation &Trans, DenseMatrix &elmat)
virtual void AssembleElementMatrix2 (const FiniteElement &trial_fe, const FiniteElement &test_fe, ElementTransformation &Trans, DenseMatrix &elmat)

Private Attributes

Vector shape
Vector te_shape
CoefficientQ
const IntegrationRuleIntRule

Detailed Description

Class for local mass matrix assemblying a(u,v) := (Q u, v)

Definition at line 120 of file bilininteg.hpp.


Constructor & Destructor Documentation

MassIntegrator::MassIntegrator ( const IntegrationRule ir = NULL) [inline]

Definition at line 128 of file bilininteg.hpp.

References IntRule, and Q.

MassIntegrator::MassIntegrator ( Coefficient q,
const IntegrationRule ir = NULL 
) [inline]

Construct a mass integrator with coefficient q.

Definition at line 131 of file bilininteg.hpp.

References IntRule.


Member Function Documentation

void MassIntegrator::AssembleElementMatrix ( const FiniteElement el,
ElementTransformation Trans,
DenseMatrix elmat 
) [virtual]
void MassIntegrator::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 265 of file bilininteg.cpp.

References AddMultVWt(), FiniteElement::CalcShape(), IntegrationRules::Get(), FiniteElement::GetDof(), FiniteElement::GetGeomType(), IntegrationRule::GetNPoints(), FiniteElement::GetOrder(), IntegrationRule::IntPoint(), IntRule, IntRules, ElementTransformation::OrderW(), Q, ElementTransformation::SetIntPoint(), Vector::SetSize(), DenseMatrix::SetSize(), shape, te_shape, IntegrationPoint::weight, and ElementTransformation::Weight().

Referenced by GridFunction::GetElementAverages().


Member Data Documentation

Definition at line 125 of file bilininteg.hpp.

Referenced by AssembleElementMatrix2(), and MassIntegrator().

Definition at line 124 of file bilininteg.hpp.

Referenced by AssembleElementMatrix2(), and MassIntegrator().

Definition at line 123 of file bilininteg.hpp.

Referenced by AssembleElementMatrix2().

Definition at line 123 of file bilininteg.hpp.

Referenced by AssembleElementMatrix2().


The documentation for this class was generated from the following files:
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines