Delta function coefficient.
More...
#include <coefficient.hpp>
|
| | DeltaCoefficient () |
| |
| | DeltaCoefficient (double x, double s) |
| |
| | DeltaCoefficient (double x, double y, double s) |
| |
| | DeltaCoefficient (double x, double y, double z, double s) |
| |
| void | SetDeltaCenter (const Vector ¢er) |
| |
| void | SetScale (double _s) |
| |
| void | SetFunction (double(*f)(double)) |
| | Set a time-dependent function that multiplies the Scale(). More...
|
| |
| void | SetTol (double _tol) |
| | Set the tolerance used during projection onto GridFunction to identifying the Mesh vertex where the Center() of the delta function lies. More...
|
| |
| void | SetWeight (Coefficient *w) |
| | Set a weight Coefficient that multiplies the DeltaCoefficient. More...
|
| |
| const double * | Center () |
| |
| double | Scale () |
| | Return the scale set by SetScale() multiplied by the time-dependent function specified by SetFunction(), if set. More...
|
| |
| double | Tol () |
| | See SetTol() for description of the tolerance parameter. More...
|
| |
| Coefficient * | Weight () |
| | See SetWeight() for description of the weight Coefficient. More...
|
| |
| void | GetDeltaCenter (Vector ¢er) |
| |
| double | EvalDelta (ElementTransformation &T, const IntegrationPoint &ip) |
| | Return the Scale() multiplied by the weight Coefficient, if any. More...
|
| |
| virtual double | Eval (ElementTransformation &T, const IntegrationPoint &ip) |
| | A DeltaFunction cannot be evaluated. Calling this method will cause an MFEM error, terminating the application. More...
|
| |
| virtual | ~DeltaCoefficient () |
| |
| | Coefficient () |
| |
| void | SetTime (double t) |
| |
| double | GetTime () |
| |
| double | Eval (ElementTransformation &T, const IntegrationPoint &ip, double t) |
| |
| virtual | ~Coefficient () |
| |
Delta function coefficient.
Definition at line 184 of file coefficient.hpp.
| mfem::DeltaCoefficient::DeltaCoefficient |
( |
| ) |
|
|
inline |
| mfem::DeltaCoefficient::DeltaCoefficient |
( |
double |
x, |
|
|
double |
s |
|
) |
| |
|
inline |
| mfem::DeltaCoefficient::DeltaCoefficient |
( |
double |
x, |
|
|
double |
y, |
|
|
double |
s |
|
) |
| |
|
inline |
| mfem::DeltaCoefficient::DeltaCoefficient |
( |
double |
x, |
|
|
double |
y, |
|
|
double |
z, |
|
|
double |
s |
|
) |
| |
|
inline |
| virtual mfem::DeltaCoefficient::~DeltaCoefficient |
( |
| ) |
|
|
inlinevirtual |
| const double* mfem::DeltaCoefficient::Center |
( |
| ) |
|
|
inline |
A DeltaFunction cannot be evaluated. Calling this method will cause an MFEM error, terminating the application.
Implements mfem::Coefficient.
Definition at line 241 of file coefficient.hpp.
| void mfem::DeltaCoefficient::GetDeltaCenter |
( |
Vector & |
center | ) |
|
| double mfem::DeltaCoefficient::Scale |
( |
| ) |
|
|
inline |
| void mfem::DeltaCoefficient::SetDeltaCenter |
( |
const Vector & |
center | ) |
|
| void mfem::DeltaCoefficient::SetFunction |
( |
double(*)(double) |
f | ) |
|
|
inline |
| void mfem::DeltaCoefficient::SetScale |
( |
double |
_s | ) |
|
|
inline |
| void mfem::DeltaCoefficient::SetTol |
( |
double |
_tol | ) |
|
|
inline |
| void mfem::DeltaCoefficient::SetWeight |
( |
Coefficient * |
w | ) |
|
|
inline |
| double mfem::DeltaCoefficient::Tol |
( |
| ) |
|
|
inline |
| double mfem::DeltaCoefficient::center[3] |
|
protected |
| double mfem::DeltaCoefficient::scale |
|
protected |
| int mfem::DeltaCoefficient::sdim |
|
protected |
| double(* mfem::DeltaCoefficient::tdf)(double) |
|
protected |
| double mfem::DeltaCoefficient::tol |
|
protected |
The documentation for this class was generated from the following files: