MFEM
v4.0
Finite element discretization library
|
Vector coefficient defined as the Curl of a vector GridFunction. More...
#include <coefficient.hpp>
Public Member Functions | |
CurlGridFunctionCoefficient (GridFunction *gf) | |
void | SetGridFunction (GridFunction *gf) |
GridFunction * | GetGridFunction () const |
virtual void | Eval (Vector &V, ElementTransformation &T, const IntegrationPoint &ip) |
Evaluate the vector coefficient in the element described by T at the point ip, storing the result in V. More... | |
virtual | ~CurlGridFunctionCoefficient () |
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 void | Eval (DenseMatrix &M, ElementTransformation &T, const IntegrationRule &ir) |
Evaluate the vector coefficient in the element described by T at all points of ir, storing the result in M. More... | |
virtual | ~VectorCoefficient () |
Protected Attributes | |
GridFunction * | GridFunc |
Protected Attributes inherited from mfem::VectorCoefficient | |
int | vdim |
double | time |
Vector coefficient defined as the Curl of a vector GridFunction.
Definition at line 442 of file coefficient.hpp.
mfem::CurlGridFunctionCoefficient::CurlGridFunctionCoefficient | ( | GridFunction * | gf | ) |
Definition at line 212 of file coefficient.cpp.
|
inlinevirtual |
Definition at line 457 of file coefficient.hpp.
|
virtual |
Evaluate the vector coefficient in the element described by T at the point ip, storing the result in V.
Implements mfem::VectorCoefficient.
Definition at line 226 of file coefficient.cpp.
|
inline |
Definition at line 451 of file coefficient.hpp.
void mfem::CurlGridFunctionCoefficient::SetGridFunction | ( | GridFunction * | gf | ) |
Definition at line 220 of file coefficient.cpp.
|
protected |
Definition at line 445 of file coefficient.hpp.