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

Matrix coefficient defined as the identity of dimension d. More...

#include <coefficient.hpp>

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

Public Member Functions

 IdentityMatrixCoefficient (int d)
 
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 identity of dimension d.

Definition at line 856 of file coefficient.hpp.

Constructor & Destructor Documentation

mfem::IdentityMatrixCoefficient::IdentityMatrixCoefficient ( int  d)
inline

Definition at line 862 of file coefficient.hpp.

Member Function Documentation

void mfem::IdentityMatrixCoefficient::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 491 of file coefficient.cpp.


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