MFEM v2.0
|
#include <coefficient.hpp>
Public Member Functions | |
VectorFunctionCoefficient (int dim, void(*F)(const Vector &, Vector &), Coefficient *q=NULL) | |
virtual void | Eval (Vector &V, ElementTransformation &T, const IntegrationPoint &ip) |
virtual | ~VectorFunctionCoefficient () |
Private Attributes | |
void(* | Function )(const Vector &, Vector &) |
Coefficient * | Q |
Definition at line 219 of file coefficient.hpp.
VectorFunctionCoefficient::VectorFunctionCoefficient | ( | int | dim, |
void(*)(const Vector &, Vector &) | F, | ||
Coefficient * | q = NULL |
||
) | [inline] |
Definition at line 226 of file coefficient.hpp.
References Function.
virtual VectorFunctionCoefficient::~VectorFunctionCoefficient | ( | ) | [inline, virtual] |
Definition at line 233 of file coefficient.hpp.
void VectorFunctionCoefficient::Eval | ( | Vector & | V, |
ElementTransformation & | T, | ||
const IntegrationPoint & | ip | ||
) | [virtual] |
Implements VectorCoefficient.
Definition at line 66 of file coefficient.cpp.
References Q, Vector::SetSize(), ElementTransformation::Transform(), and VectorCoefficient::vdim.
void(* VectorFunctionCoefficient::Function)(const Vector &, Vector &) [private] |
Definition at line 222 of file coefficient.hpp.
Referenced by VectorFunctionCoefficient().
Coefficient* VectorFunctionCoefficient::Q [private] |
Definition at line 223 of file coefficient.hpp.
Referenced by Eval().