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

#include <coefficient.hpp>

Inheritance diagram for mfem::VectorCoefficient:
[legend]

Public Member Functions

 VectorCoefficient (int vd)
 
void SetTime (double t)
 
double GetTime ()
 
int GetVDim ()
 Returns dimension of the vector. More...
 
virtual void Eval (Vector &V, ElementTransformation &T, const IntegrationPoint &ip)=0
 
virtual void Eval (DenseMatrix &M, ElementTransformation &T, const IntegrationRule &ir)
 
virtual ~VectorCoefficient ()
 

Protected Attributes

int vdim
 
double time
 

Detailed Description

Definition at line 268 of file coefficient.hpp.

Constructor & Destructor Documentation

mfem::VectorCoefficient::VectorCoefficient ( int  vd)
inline

Definition at line 275 of file coefficient.hpp.

virtual mfem::VectorCoefficient::~VectorCoefficient ( )
inlinevirtual

Definition at line 291 of file coefficient.hpp.

Member Function Documentation

virtual void mfem::VectorCoefficient::Eval ( Vector V,
ElementTransformation T,
const IntegrationPoint ip 
)
pure virtual
void mfem::VectorCoefficient::Eval ( DenseMatrix M,
ElementTransformation T,
const IntegrationRule ir 
)
virtual
double mfem::VectorCoefficient::GetTime ( )
inline

Definition at line 278 of file coefficient.hpp.

int mfem::VectorCoefficient::GetVDim ( )
inline

Returns dimension of the vector.

Definition at line 281 of file coefficient.hpp.

void mfem::VectorCoefficient::SetTime ( double  t)
inline

Definition at line 277 of file coefficient.hpp.

Member Data Documentation

double mfem::VectorCoefficient::time
protected

Definition at line 272 of file coefficient.hpp.

int mfem::VectorCoefficient::vdim
protected

Definition at line 271 of file coefficient.hpp.


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