#include <sbm_solver.hpp>
ShiftedFunctionCoefficient, similar to FunctionCoefficient, but also takes into account a displacement vector if specified.
Definition at line 23 of file sbm_solver.hpp.
◆ ShiftedFunctionCoefficient() [1/2]
mfem::ShiftedFunctionCoefficient::ShiftedFunctionCoefficient |
( |
std::function< double(const Vector &v)> |
F | ) |
|
|
inline |
◆ ShiftedFunctionCoefficient() [2/2]
mfem::ShiftedFunctionCoefficient::ShiftedFunctionCoefficient |
( |
double |
constant_ | ) |
|
|
inline |
◆ Eval() [1/2]
Evaluate the coefficient in the element described by T at the point ip.
- Note
- When this method is called, the caller must make sure that the IntegrationPoint associated with T is the same as ip. This can be achieved by calling T.SetIntPoint(&ip).
Implements mfem::Coefficient.
Definition at line 36 of file sbm_solver.hpp.
◆ Eval() [2/2]
Evaluate the coefficient at ip + D.
Definition at line 17 of file sbm_solver.cpp.
◆ constant
double mfem::ShiftedFunctionCoefficient::constant = 0.0 |
|
protected |
◆ constantcoefficient
bool mfem::ShiftedFunctionCoefficient::constantcoefficient |
|
protected |
◆ Function
std::function<double(const Vector &)> mfem::ShiftedFunctionCoefficient::Function |
|
protected |
The documentation for this class was generated from the following files: