MFEM
v4.3.0
Finite element discretization library
|
#include <sbm_solver.hpp>
Public Member Functions | |
ShiftedFunctionCoefficient (std::function< double(const Vector &v)> F) | |
virtual double | Eval (ElementTransformation &T, const IntegrationPoint &ip) |
Evaluate the coefficient in the element described by T at the point ip. More... | |
double | Eval (ElementTransformation &T, const IntegrationPoint &ip, const Vector &D) |
Evaluate the coefficient at ip + D. More... | |
Public Member Functions inherited from mfem::Coefficient | |
Coefficient () | |
void | SetTime (double t) |
Set the time for time dependent coefficients. More... | |
double | GetTime () |
Get the time for time dependent coefficients. More... | |
double | Eval (ElementTransformation &T, const IntegrationPoint &ip, double t) |
Evaluate the coefficient in the element described by T at the point ip at time t. More... | |
virtual | ~Coefficient () |
Protected Attributes | |
std::function< double(const Vector &)> | Function |
Protected Attributes inherited from mfem::Coefficient | |
double | time |
ShiftedFunctionCoefficient, similar to FunctionCoefficient, but also takes into account a displacement vector if specified.
Definition at line 22 of file sbm_solver.hpp.
|
inline |
Definition at line 28 of file sbm_solver.hpp.
|
inlinevirtual |
Evaluate the coefficient in the element described by T at the point ip.
Implements mfem::Coefficient.
Definition at line 31 of file sbm_solver.hpp.
double mfem::ShiftedFunctionCoefficient::Eval | ( | ElementTransformation & | T, |
const IntegrationPoint & | ip, | ||
const Vector & | D | ||
) |
Evaluate the coefficient at ip + D.
Definition at line 19 of file sbm_solver.cpp.
|
protected |
Definition at line 25 of file sbm_solver.hpp.