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

#include <coefficient.hpp>

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

Public Member Functions

 MatrixFunctionCoefficient (int dim, void(*F)(const Vector &, DenseMatrix &), Coefficient *q=NULL)
 Construct a time-independent square matrix coefficient from a C-function. More...
 
 MatrixFunctionCoefficient (const DenseMatrix &m, Coefficient &q)
 Construct a constant matrix coefficient times a scalar Coefficient. More...
 
 MatrixFunctionCoefficient (int dim, void(*TDF)(const Vector &, double, DenseMatrix &), Coefficient *q=NULL)
 Construct a time-dependent square matrix coefficient from a C-function. More...
 
virtual void Eval (DenseMatrix &K, ElementTransformation &T, const IntegrationPoint &ip)
 
virtual ~MatrixFunctionCoefficient ()
 
- 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

Definition at line 483 of file coefficient.hpp.

Constructor & Destructor Documentation

mfem::MatrixFunctionCoefficient::MatrixFunctionCoefficient ( int  dim,
void(*)(const Vector &, DenseMatrix &)  F,
Coefficient q = NULL 
)
inline

Construct a time-independent square matrix coefficient from a C-function.

Definition at line 493 of file coefficient.hpp.

mfem::MatrixFunctionCoefficient::MatrixFunctionCoefficient ( const DenseMatrix m,
Coefficient q 
)
inline

Construct a constant matrix coefficient times a scalar Coefficient.

Definition at line 503 of file coefficient.hpp.

mfem::MatrixFunctionCoefficient::MatrixFunctionCoefficient ( int  dim,
void(*)(const Vector &, double, DenseMatrix &)  TDF,
Coefficient q = NULL 
)
inline

Construct a time-dependent square matrix coefficient from a C-function.

Definition at line 512 of file coefficient.hpp.

virtual mfem::MatrixFunctionCoefficient::~MatrixFunctionCoefficient ( )
inlinevirtual

Definition at line 525 of file coefficient.hpp.

Member Function Documentation

void mfem::MatrixFunctionCoefficient::Eval ( DenseMatrix K,
ElementTransformation T,
const IntegrationPoint ip 
)
virtual

Implements mfem::MatrixCoefficient.

Definition at line 217 of file coefficient.cpp.


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