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

#include <bilininteg.hpp>

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

List of all members.

Public Member Functions

 VectorMassIntegrator ()
 Construct an integrator with coefficient 1.0.
 VectorMassIntegrator (Coefficient &q, int qo=0)
 VectorMassIntegrator (Coefficient &q, const IntegrationRule *ir)
 VectorMassIntegrator (VectorCoefficient &q, int qo=0)
 Construct an integrator with diagonal coefficient q.
 VectorMassIntegrator (MatrixCoefficient &q, int qo=0)
 Construct an integrator with matrix coefficient q.
virtual void AssembleElementMatrix (const FiniteElement &el, ElementTransformation &Trans, DenseMatrix &elmat)
 Given a particular Finite Element computes the element matrix elmat.

Private Attributes

Vector shape
Vector vec
DenseMatrix partelmat
DenseMatrix mcoeff
CoefficientQ
VectorCoefficientVQ
MatrixCoefficientMQ
const IntegrationRuleIntRule
int Q_order

Detailed Description

Class for integrating the bilinear form a(u,v) := (Q u, v), where u=(u1,...,un) and v=(v1,...,vn); ui and vi are defined by scalar FE through standard transformation.

Definition at line 170 of file bilininteg.hpp.


Constructor & Destructor Documentation

VectorMassIntegrator::VectorMassIntegrator ( ) [inline]

Construct an integrator with coefficient 1.0.

Definition at line 185 of file bilininteg.hpp.

References IntRule, MQ, Q, Q_order, and VQ.

VectorMassIntegrator::VectorMassIntegrator ( Coefficient q,
int  qo = 0 
) [inline]

Construct an integrator with scalar coefficient q. If possible, save memory by using a scalar integrator since the resulting matrix is block diagonal with the same diagonal block repeated. ;-)

Definition at line 191 of file bilininteg.hpp.

References IntRule, MQ, Q_order, and VQ.

VectorMassIntegrator::VectorMassIntegrator ( Coefficient q,
const IntegrationRule ir 
) [inline]

Definition at line 193 of file bilininteg.hpp.

References IntRule, MQ, Q_order, and VQ.

VectorMassIntegrator::VectorMassIntegrator ( VectorCoefficient q,
int  qo = 0 
) [inline]

Construct an integrator with diagonal coefficient q.

Definition at line 196 of file bilininteg.hpp.

References IntRule, MQ, Q, and Q_order.

VectorMassIntegrator::VectorMassIntegrator ( MatrixCoefficient q,
int  qo = 0 
) [inline]

Construct an integrator with matrix coefficient q.

Definition at line 199 of file bilininteg.hpp.

References IntRule, Q, Q_order, and VQ.


Member Function Documentation

void VectorMassIntegrator::AssembleElementMatrix ( const FiniteElement el,
ElementTransformation Trans,
DenseMatrix elmat 
) [virtual]

Member Data Documentation

Definition at line 180 of file bilininteg.hpp.

Referenced by VectorMassIntegrator().

Definition at line 175 of file bilininteg.hpp.

Definition at line 178 of file bilininteg.hpp.

Referenced by VectorMassIntegrator().

Definition at line 174 of file bilininteg.hpp.

Definition at line 176 of file bilininteg.hpp.

Referenced by VectorMassIntegrator().

Definition at line 181 of file bilininteg.hpp.

Referenced by VectorMassIntegrator().

Definition at line 173 of file bilininteg.hpp.

Definition at line 173 of file bilininteg.hpp.

Definition at line 177 of file bilininteg.hpp.

Referenced by VectorMassIntegrator().


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