MFEM
v4.5.2
Finite element discretization library

Derived vector coefficient that has the value of the parent vector where it is active and is zero otherwise. More...
#include <coefficient.hpp>
Public Member Functions  
VectorRestrictedCoefficient (VectorCoefficient &vc, Array< int > &attr)  
Construct with a parent vector coefficient and an array of zeros and ones representing the attributes for which this coefficient should be active. More...  
void  SetTime (double t) 
Set the time for internally stored coefficients. More...  
virtual void  Eval (Vector &V, ElementTransformation &T, const IntegrationPoint &ip) 
Evaluate the vector coefficient at ip. More...  
virtual void  Eval (DenseMatrix &M, ElementTransformation &T, const IntegrationRule &ir) 
Evaluate the vector coefficient at all of the locations in the integration rule and write the vectors into the columns of matrix M. More...  
Public Member Functions inherited from mfem::VectorCoefficient  
VectorCoefficient (int vd)  
Initialize the VectorCoefficient with vector dimension vd. More...  
double  GetTime () 
Get the time for time dependent coefficients. More...  
int  GetVDim () 
Returns dimension of the vector. More...  
virtual void  Project (QuadratureFunction &qf) 
Fill the QuadratureFunction qf by evaluating the coefficient at the quadrature points. More...  
virtual  ~VectorCoefficient () 
Additional Inherited Members  
Protected Attributes inherited from mfem::VectorCoefficient  
int  vdim 
double  time 
Derived vector coefficient that has the value of the parent vector where it is active and is zero otherwise.
Definition at line 875 of file coefficient.hpp.

inline 
Construct with a parent vector coefficient and an array of zeros and ones representing the attributes for which this coefficient should be active.
Definition at line 885 of file coefficient.hpp.

virtual 
Evaluate the vector coefficient at ip.
Implements mfem::VectorCoefficient.
Definition at line 548 of file coefficient.cpp.

virtual 
Evaluate the vector coefficient at all of the locations in the integration rule and write the vectors into the columns of matrix M.
Reimplemented from mfem::VectorCoefficient.
Definition at line 563 of file coefficient.cpp.

virtual 
Set the time for internally stored coefficients.
Reimplemented from mfem::VectorCoefficient.
Definition at line 542 of file coefficient.cpp.