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

#include <coefficient.hpp>

Inheritance diagram for mfem::MatrixArrayCoefficient:
Collaboration diagram for mfem::MatrixArrayCoefficient:

Public Member Functions

 MatrixArrayCoefficient (int dim)
CoefficientGetCoeff (int i, int j)
void Set (int i, int j, Coefficient *c, bool own=true)
double Eval (int i, int j, ElementTransformation &T, const IntegrationPoint &ip)
virtual void Eval (DenseMatrix &K, 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...
virtual ~MatrixArrayCoefficient ()
- 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

Definition at line 633 of file coefficient.hpp.

Constructor & Destructor Documentation

mfem::MatrixArrayCoefficient::MatrixArrayCoefficient ( int  dim)

Definition at line 316 of file coefficient.cpp.

mfem::MatrixArrayCoefficient::~MatrixArrayCoefficient ( )

Definition at line 335 of file coefficient.cpp.

Member Function Documentation

double mfem::MatrixArrayCoefficient::Eval ( int  i,
int  j,
ElementTransformation T,
const IntegrationPoint ip 

Definition at line 647 of file coefficient.hpp.

void mfem::MatrixArrayCoefficient::Eval ( DenseMatrix K,
ElementTransformation T,
const IntegrationPoint ip 

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

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 343 of file coefficient.cpp.

Coefficient* mfem::MatrixArrayCoefficient::GetCoeff ( int  i,
int  j 

Definition at line 643 of file coefficient.hpp.

void mfem::MatrixArrayCoefficient::Set ( int  i,
int  j,
Coefficient c,
bool  own = true 

Definition at line 328 of file coefficient.cpp.

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