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

VectorCoefficient defined on a subset of domain or boundary attributes. More...

#include <coefficient.hpp>

Inheritance diagram for mfem::VectorRestrictedCoefficient:
Collaboration diagram for mfem::VectorRestrictedCoefficient:

Public Member Functions

 VectorRestrictedCoefficient (VectorCoefficient &vc, Array< int > &attr)
virtual void Eval (Vector &V, ElementTransformation &T, const IntegrationPoint &ip)
virtual void Eval (DenseMatrix &M, ElementTransformation &T, const IntegrationRule &ir)
- Public Member Functions inherited from mfem::VectorCoefficient
 VectorCoefficient (int vd)
void SetTime (double t)
double GetTime ()
int GetVDim ()
 Returns dimension of the vector. More...
virtual ~VectorCoefficient ()

Additional Inherited Members

- Protected Attributes inherited from mfem::VectorCoefficient
int vdim
double time

Detailed Description

VectorCoefficient defined on a subset of domain or boundary attributes.

Definition at line 435 of file coefficient.hpp.

Constructor & Destructor Documentation

mfem::VectorRestrictedCoefficient::VectorRestrictedCoefficient ( VectorCoefficient vc,
Array< int > &  attr 

Definition at line 442 of file coefficient.hpp.

Member Function Documentation

void mfem::VectorRestrictedCoefficient::Eval ( Vector V,
ElementTransformation T,
const IntegrationPoint ip 

Implements mfem::VectorCoefficient.

Definition at line 187 of file coefficient.cpp.

void mfem::VectorRestrictedCoefficient::Eval ( DenseMatrix M,
ElementTransformation T,
const IntegrationRule ir 

Reimplemented from mfem::VectorCoefficient.

Definition at line 202 of file coefficient.cpp.

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