MFEM  v4.1.0
Finite element discretization library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Pages
Public Member Functions | List of all members
mfem::MatrixSumCoefficient Class Reference

Matrix coefficient defined as the sum of two matrix coefficients. More...

#include <coefficient.hpp>

Inheritance diagram for mfem::MatrixSumCoefficient:
[legend]
Collaboration diagram for mfem::MatrixSumCoefficient:
[legend]

Public Member Functions

 MatrixSumCoefficient (MatrixCoefficient &A, MatrixCoefficient &B, double _alpha=1.0, double _beta=1.0)
 
virtual void Eval (DenseMatrix &M, ElementTransformation &T, const IntegrationPoint &ip)
 Evaluate the coefficient. More...
 
- Public Member Functions inherited from mfem::MatrixCoefficient
 MatrixCoefficient (int dim)
 
 MatrixCoefficient (int h, int w)
 
void SetTime (double t)
 
double GetTime ()
 
int GetHeight () const
 
int GetWidth () const
 
int GetVDim () const
 
virtual ~MatrixCoefficient ()
 

Additional Inherited Members

- Protected Attributes inherited from mfem::MatrixCoefficient
int height
 
int width
 
double time
 

Detailed Description

Matrix coefficient defined as the sum of two matrix coefficients.

Definition at line 871 of file coefficient.hpp.

Constructor & Destructor Documentation

mfem::MatrixSumCoefficient::MatrixSumCoefficient ( MatrixCoefficient A,
MatrixCoefficient B,
double  _alpha = 1.0,
double  _beta = 1.0 
)

Definition at line 499 of file coefficient.cpp.

Member Function Documentation

void mfem::MatrixSumCoefficient::Eval ( DenseMatrix M,
ElementTransformation T,
const IntegrationPoint ip 
)
virtual

Evaluate the coefficient.

Implements mfem::MatrixCoefficient.

Definition at line 511 of file coefficient.cpp.


The documentation for this class was generated from the following files: