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::InverseMatrixCoefficient Class Reference

Matrix coefficient defined as the inverse a matrix. More...

#include <coefficient.hpp>

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

Public Member Functions

 InverseMatrixCoefficient (MatrixCoefficient &A)
 
virtual void Eval (DenseMatrix &M, ElementTransformation &T, const IntegrationPoint &ip)
 Evaluate the matrix coefficient in the element described by T at the point ip, storing the result in K. 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 inverse a matrix.

Definition at line 920 of file coefficient.hpp.

Constructor & Destructor Documentation

mfem::InverseMatrixCoefficient::InverseMatrixCoefficient ( MatrixCoefficient A)

Definition at line 547 of file coefficient.cpp.

Member Function Documentation

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

Evaluate the matrix coefficient in the element described by T at the point ip, storing the result in K.

Note
When this method is called, the caller must make sure that the IntegrationPoint associated with T is the same as ip. This can be achieved by calling T.SetIntPoint(&ip).

Implements mfem::MatrixCoefficient.

Definition at line 555 of file coefficient.cpp.


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