MFEM v4.7.0
Finite element discretization library
|
#include <sbm_solver.hpp>
Public Member Functions | |
ShiftedFunctionCoefficient (std::function< real_t(const Vector &v)> F) | |
ShiftedFunctionCoefficient (real_t constant_) | |
virtual real_t | Eval (ElementTransformation &T, const IntegrationPoint &ip) |
Evaluate the coefficient in the element described by T at the point ip. | |
real_t | Eval (ElementTransformation &T, const IntegrationPoint &ip, const Vector &D) |
Evaluate the coefficient at ip + D. | |
Public Member Functions inherited from mfem::Coefficient | |
Coefficient () | |
virtual void | SetTime (real_t t) |
Set the time for time dependent coefficients. | |
real_t | GetTime () |
Get the time for time dependent coefficients. | |
real_t | Eval (ElementTransformation &T, const IntegrationPoint &ip, real_t t) |
Evaluate the coefficient in the element described by T at the point ip at time t. | |
virtual void | Project (QuadratureFunction &qf) |
Fill the QuadratureFunction qf by evaluating the coefficient at the quadrature points. | |
virtual | ~Coefficient () |
Protected Attributes | |
std::function< real_t(const Vector &)> | Function |
real_t | constant = 0.0 |
bool | constantcoefficient |
Protected Attributes inherited from mfem::Coefficient | |
real_t | time |
ShiftedFunctionCoefficient, similar to FunctionCoefficient, but also takes into account a displacement vector if specified.
Definition at line 23 of file sbm_solver.hpp.
|
inline |
Definition at line 31 of file sbm_solver.hpp.
|
inline |
Definition at line 33 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 36 of file sbm_solver.hpp.
real_t mfem::ShiftedFunctionCoefficient::Eval | ( | ElementTransformation & | T, |
const IntegrationPoint & | ip, | ||
const Vector & | D ) |
Evaluate the coefficient at ip + D.
Definition at line 17 of file sbm_solver.cpp.
|
protected |
Definition at line 27 of file sbm_solver.hpp.
|
protected |
Definition at line 28 of file sbm_solver.hpp.
Definition at line 26 of file sbm_solver.hpp.