MFEM v4.7.0
Finite element discretization library
Loading...
Searching...
No Matches
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.
 
virtual ~TMOPMatrixCoefficient ()
 
- Public Member Functions inherited from mfem::MatrixCoefficient
 MatrixCoefficient (int dim, bool symm=false)
 Construct a dim x dim matrix coefficient.
 
 MatrixCoefficient (int h, int w, bool symm=false)
 Construct a h x w matrix coefficient.
 
virtual void SetTime (real_t t)
 Set the time for time dependent coefficients.
 
real_t GetTime ()
 Get the time for time dependent coefficients.
 
int GetHeight () const
 Get the height of the matrix.
 
int GetWidth () const
 Get the width of the matrix.
 
int GetVDim () const
 For backward compatibility get the width of the matrix.
 
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.
 
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.
 
virtual void EvalSymmetric (Vector &K, ElementTransformation &T, const IntegrationPoint &ip)
 (DEPRECATED) Evaluate a symmetric matrix coefficient.
 
virtual ~MatrixCoefficient ()
 

Additional Inherited Members

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

Detailed Description

Definition at line 1459 of file tmop.hpp.

Constructor & Destructor Documentation

◆ TMOPMatrixCoefficient()

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

Definition at line 1462 of file tmop.hpp.

◆ ~TMOPMatrixCoefficient()

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

Definition at line 1470 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 HessianCoefficient, and HRHessianCoefficient.


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