MFEM v2.0
|
Delta function coefficient. More...
#include <coefficient.hpp>
Public Member Functions | |
DeltaCoefficient () | |
DeltaCoefficient (double x, double y, double s) | |
DeltaCoefficient (double x, double y, double z, double s) | |
void | SetTol (double _tol) |
void | SetWeight (Coefficient *w) |
const double * | Center () |
double | Scale () |
double | Tol () |
Coefficient * | Weight () |
virtual double | Eval (ElementTransformation &T, const IntegrationPoint &ip) |
virtual void | Read (istream &in) |
virtual | ~DeltaCoefficient () |
Private Attributes | |
double | center [3] |
double | scale |
double | tol |
Coefficient * | weight |
Delta function coefficient.
Definition at line 144 of file coefficient.hpp.
DeltaCoefficient::DeltaCoefficient | ( | ) |
DeltaCoefficient::DeltaCoefficient | ( | double | x, |
double | y, | ||
double | s | ||
) | [inline] |
DeltaCoefficient::DeltaCoefficient | ( | double | x, |
double | y, | ||
double | z, | ||
double | s | ||
) | [inline] |
virtual DeltaCoefficient::~DeltaCoefficient | ( | ) | [inline, virtual] |
Definition at line 167 of file coefficient.hpp.
References weight.
const double* DeltaCoefficient::Center | ( | ) | [inline] |
Definition at line 160 of file coefficient.hpp.
References center.
Referenced by GridFunction::ProjectCoefficient().
virtual double DeltaCoefficient::Eval | ( | ElementTransformation & | T, |
const IntegrationPoint & | ip | ||
) | [inline, virtual] |
virtual void DeltaCoefficient::Read | ( | istream & | in | ) | [inline, virtual] |
Implements Coefficient.
Definition at line 166 of file coefficient.hpp.
double DeltaCoefficient::Scale | ( | ) | [inline] |
Definition at line 161 of file coefficient.hpp.
References scale.
Referenced by GridFunction::ProjectCoefficient().
void DeltaCoefficient::SetTol | ( | double | _tol | ) | [inline] |
Definition at line 158 of file coefficient.hpp.
References tol.
void DeltaCoefficient::SetWeight | ( | Coefficient * | w | ) | [inline] |
Definition at line 159 of file coefficient.hpp.
References weight.
double DeltaCoefficient::Tol | ( | ) | [inline] |
Definition at line 162 of file coefficient.hpp.
References tol.
Referenced by GridFunction::ProjectCoefficient().
Coefficient* DeltaCoefficient::Weight | ( | ) | [inline] |
Definition at line 163 of file coefficient.hpp.
References weight.
Referenced by GridFunction::ProjectCoefficient().
double DeltaCoefficient::center[3] [private] |
Definition at line 147 of file coefficient.hpp.
Referenced by Center(), and DeltaCoefficient().
double DeltaCoefficient::scale [private] |
Definition at line 147 of file coefficient.hpp.
Referenced by DeltaCoefficient(), and Scale().
double DeltaCoefficient::tol [private] |
Definition at line 147 of file coefficient.hpp.
Referenced by DeltaCoefficient(), SetTol(), and Tol().
Coefficient* DeltaCoefficient::weight [private] |
Definition at line 148 of file coefficient.hpp.
Referenced by DeltaCoefficient(), SetWeight(), Weight(), and ~DeltaCoefficient().