Chombo + EB
3.0
|
#include <MollifyIF.H>
Public Member Functions | |
MollifyIF (const BaseIF &a_impFunc, const BaseIF &a_mollifier, const Real &a_min, const Real &a_max, const int &a_numPts) | |
MollifyIF (const MollifyIF &a_inputIF) | |
Copy constructor. More... | |
virtual | ~MollifyIF () |
Destructor. More... | |
virtual Real | value (const RealVect &a_point) const |
virtual Real | value (const IndexTM< Real, GLOBALDIM > &a_point) const |
virtual BaseIF * | newImplicitFunction () const |
virtual void | boxLayoutChanged (const DisjointBoxLayout &a_newBoxLayout, const RealVect &a_dx) |
Public Member Functions inherited from BaseIF | |
BaseIF () | |
Default constructor. More... | |
virtual | ~BaseIF () |
Default destructor. More... | |
virtual Real | value (const IndexTM< int, GLOBALDIM > &a_partialDerivative, const IndexTM< Real, GLOBALDIM > &a_point) const |
virtual bool | fastIntersection (const Box &a_region, const ProblemDomain &a_domain, const RealVect &a_origin, const Real &a_dx) const |
virtual bool | fastIntersection (const RealVect &a_low, const RealVect &a_high) const |
virtual GeometryService::InOut | InsideOutside (const Box &a_region, const ProblemDomain &a_domain, const RealVect &a_origin, const Real &a_dx) const |
virtual GeometryService::InOut | InsideOutside (const RealVect &a_low, const RealVect &a_high) const |
virtual void | print (ostream &out) const |
Protected Attributes | |
BaseIF * | m_impFunc |
BaseIF * | m_mollifier |
Real | m_min |
Real | m_max |
int | m_numPts |
Real | m_dx |
Box | m_sampleBox |
Real | m_mollifierSum |
FArrayBox | m_sampledMollifier |
Private Member Functions | |
MollifyIF () | |
void | operator= (const MollifyIF &a_inputIF) |
Additional Inherited Members | |
Static Public Member Functions inherited from BaseIF | |
static void | corners (const Box &a_region, const RealVect &a_origin, const Real &a_dx, RealVect &a_lo, RealVect &a_hi) |
This implicit function mollifies on implicit function using another implicit function (e.g., "GaussianSphereIF"). Basically, the IF being mollified is sampled in a small (specified) neighborhood of a point and convolved with the mollifying function in this neighborhood.
MollifyIF::MollifyIF | ( | const BaseIF & | a_impFunc, |
const BaseIF & | a_mollifier, | ||
const Real & | a_min, | ||
const Real & | a_max, | ||
const int & | a_numPts | ||
) |
Constructor specifying the implicit function to mollify (a_impFunc), the mollifier (a_mollifier), a neighorhood to use (a_min, a_max) is each dimension, and a sampling (a_numPts).
MollifyIF::MollifyIF | ( | const MollifyIF & | a_inputIF | ) |
Copy constructor.
|
virtual |
Destructor.
|
inlineprivate |
References MayDay::Abort().
Return the value of the function at a_point.
Implements BaseIF.
Return the value of the function at a_point.
Reimplemented from BaseIF.
|
virtual |
Return a newly allocated derived class. The responsibility for deleting the memory is left to the calling function.
Implements BaseIF.
|
inlinevirtual |
Pass this call onto the IFs contained in this IF class.
Reimplemented from BaseIF.
References BaseIF::boxLayoutChanged(), m_impFunc, and m_mollifier.
|
inlineprivate |
References MayDay::Abort().
|
protected |
Referenced by boxLayoutChanged().
|
protected |
Referenced by boxLayoutChanged().
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
mutableprotected |
|
mutableprotected |