MFEM  v4.5.2
Finite element discretization library
Public Member Functions | List of all members
mfem::TMOPMatrixCoefficient Class Referenceabstract

#include <tmop.hpp>

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

Public Member Functions

 TMOPMatrixCoefficient (int dim)
 
virtual void EvalGrad (DenseMatrix &K, ElementTransformation &T, const IntegrationPoint &ip, int comp)=0
 Evaluate the derivative of the matrix coefficient with respect to comp in the element described by T at the point ip, storing the result in K. More...
 
virtual ~TMOPMatrixCoefficient ()
 
- Public Member Functions inherited from mfem::MatrixCoefficient
 MatrixCoefficient (int dim, bool symm=false)
 Construct a dim x dim matrix coefficient. More...
 
 MatrixCoefficient (int h, int w, bool symm=false)
 Construct a h x w matrix coefficient. More...
 
virtual void SetTime (double t)
 Set the time for time dependent coefficients. More...
 
double GetTime ()
 Get the time for time dependent coefficients. More...
 
int GetHeight () const
 Get the height of the matrix. More...
 
int GetWidth () const
 Get the width of the matrix. More...
 
int GetVDim () const
 For backward compatibility get the width of the matrix. More...
 
bool IsSymmetric () const
 
virtual void Eval (DenseMatrix &K, ElementTransformation &T, const IntegrationPoint &ip)=0
 Evaluate the matrix coefficient in the element described by T at the point ip, storing the result in K. More...
 
virtual void Project (QuadratureFunction &qf, bool transpose=false)
 Fill the QuadratureFunction qf by evaluating the coefficient at the quadrature points. The matrix will be transposed or not according to the boolean argument transpose. More...
 
virtual void EvalSymmetric (Vector &K, ElementTransformation &T, const IntegrationPoint &ip)
 (DEPRECATED) Evaluate a symmetric matrix coefficient. More...
 
virtual ~MatrixCoefficient ()
 

Additional Inherited Members

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

Detailed Description

Definition at line 1360 of file tmop.hpp.

Constructor & Destructor Documentation

◆ TMOPMatrixCoefficient()

mfem::TMOPMatrixCoefficient::TMOPMatrixCoefficient ( int  dim)
inlineexplicit

Definition at line 1363 of file tmop.hpp.

◆ ~TMOPMatrixCoefficient()

virtual mfem::TMOPMatrixCoefficient::~TMOPMatrixCoefficient ( )
inlinevirtual

Definition at line 1371 of file tmop.hpp.

Member Function Documentation

◆ EvalGrad()

virtual void mfem::TMOPMatrixCoefficient::EvalGrad ( DenseMatrix K,
ElementTransformation T,
const IntegrationPoint ip,
int  comp 
)
pure virtual

Evaluate the derivative of the matrix coefficient with respect to comp in the element described by T at the point ip, storing the result in K.

Implemented in HRHessianCoefficient, and HessianCoefficient.


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