MFEM  v3.1
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 &))
 Construct a time-independent matrix coefficient from a C-function. More...
 
 MatrixFunctionCoefficient (int dim, void(*TDF)(const Vector &, double, DenseMatrix &))
 Construct a time-dependent 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)
 
void SetTime (double t)
 
double GetTime ()
 
int GetVDim ()
 
virtual ~MatrixCoefficient ()
 

Additional Inherited Members

- Protected Attributes inherited from mfem::MatrixCoefficient
int vdim
 
double time
 

Detailed Description

Definition at line 388 of file coefficient.hpp.

Constructor & Destructor Documentation

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

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

Definition at line 396 of file coefficient.hpp.

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

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

Definition at line 404 of file coefficient.hpp.

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

Definition at line 415 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 181 of file coefficient.cpp.


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