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

#include <bilininteg.hpp>

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

List of all members.

Public Member Functions

 DiffusionIntegrator (Coefficient &q)
 Construct a diffusion integrator with a scalar coefficient q.
 DiffusionIntegrator (MatrixCoefficient &q)
 Construct a diffusion integrator with a matrix coefficient q.
virtual void AssembleElementMatrix (const FiniteElement &el, ElementTransformation &Trans, DenseMatrix &elmat)
virtual void ComputeElementFlux (const FiniteElement &el, ElementTransformation &Trans, Vector &u, const FiniteElement &fluxelem, Vector &flux, int wcoef)
virtual double ComputeFluxEnergy (const FiniteElement &fluxelem, ElementTransformation &Trans, Vector &flux)

Private Attributes

Vector vec
Vector pointflux
Vector shape
DenseMatrix dshape
DenseMatrix dshapedxt
DenseMatrix invdfdx
CoefficientQ
MatrixCoefficientMQ

Detailed Description

Class for integrating the bilinear form a(u,v) := (Q grad u, grad v) where Q can be a scalar or a matrix coefficient.

Definition at line 87 of file bilininteg.hpp.


Constructor & Destructor Documentation

DiffusionIntegrator::DiffusionIntegrator ( Coefficient q) [inline]

Construct a diffusion integrator with a scalar coefficient q.

Definition at line 99 of file bilininteg.hpp.

References MQ.

DiffusionIntegrator::DiffusionIntegrator ( MatrixCoefficient q) [inline]

Construct a diffusion integrator with a matrix coefficient q.

Definition at line 102 of file bilininteg.hpp.

References Q.


Member Function Documentation

void DiffusionIntegrator::AssembleElementMatrix ( const FiniteElement el,
ElementTransformation Trans,
DenseMatrix elmat 
) [virtual]
void DiffusionIntegrator::ComputeElementFlux ( const FiniteElement el,
ElementTransformation Trans,
Vector u,
const FiniteElement fluxelem,
Vector flux,
int  wcoef 
) [virtual]
double DiffusionIntegrator::ComputeFluxEnergy ( const FiniteElement fluxelem,
ElementTransformation Trans,
Vector flux 
) [virtual]

Member Data Documentation

Definition at line 92 of file bilininteg.hpp.

Definition at line 92 of file bilininteg.hpp.

Definition at line 92 of file bilininteg.hpp.

Definition at line 95 of file bilininteg.hpp.

Referenced by DiffusionIntegrator().

Definition at line 90 of file bilininteg.hpp.

Definition at line 94 of file bilininteg.hpp.

Referenced by DiffusionIntegrator().

Definition at line 90 of file bilininteg.hpp.

Definition at line 90 of file bilininteg.hpp.


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