MFEM v2.0
Public Member Functions | Private Attributes
DeltaCoefficient Class Reference

Delta function coefficient. More...

#include <coefficient.hpp>

Inheritance diagram for DeltaCoefficient:
Inheritance graph
[legend]
Collaboration diagram for DeltaCoefficient:
Collaboration graph
[legend]

List of all members.

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 ()
CoefficientWeight ()
virtual double Eval (ElementTransformation &T, const IntegrationPoint &ip)
virtual void Read (istream &in)
virtual ~DeltaCoefficient ()

Private Attributes

double center [3]
double scale
double tol
Coefficientweight

Detailed Description

Delta function coefficient.

Definition at line 144 of file coefficient.hpp.


Constructor & Destructor Documentation

DeltaCoefficient::DeltaCoefficient ( )
DeltaCoefficient::DeltaCoefficient ( double  x,
double  y,
double  s 
) [inline]

Definition at line 152 of file coefficient.hpp.

References center, scale, tol, and weight.

DeltaCoefficient::DeltaCoefficient ( double  x,
double  y,
double  z,
double  s 
) [inline]

Definition at line 155 of file coefficient.hpp.

References center, scale, tol, and weight.

virtual DeltaCoefficient::~DeltaCoefficient ( ) [inline, virtual]

Definition at line 167 of file coefficient.hpp.

References weight.


Member Function Documentation

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]

Implements Coefficient.

Definition at line 164 of file coefficient.hpp.

References mfem_error().

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().


Member Data Documentation

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().

Definition at line 148 of file coefficient.hpp.

Referenced by DeltaCoefficient(), SetWeight(), Weight(), and ~DeltaCoefficient().


The documentation for this class was generated from the following file:
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines