IntersectionIF Class Reference

#include <IntersectionIF.H>

Inheritance diagram for IntersectionIF:

Inheritance graph
[legend]

List of all members.


Detailed Description

This implicit function is the maximum of two (of more) implicit functions with which it is constructed. This results in an implicit function whose interior is the intersection of the interiors of the given implicit functions.

Public Member Functions

 IntersectionIF (const BaseIF &a_impFunc1, const BaseIF &a_impFunc2)
 IntersectionIF (const Vector< BaseIF * > &a_impFuncs)
 IntersectionIF (const IntersectionIF &a_inputIF)
 Copy constructor.
virtual ~IntersectionIF ()
 Destructor.
virtual Real value (const RealVect &a_point) const
virtual Real value (const IndexTM< Real, GLOBALDIM > &a_point) const
virtual Real value (const IndexTM< int, GLOBALDIM > &a_partialDerivative, const IndexTM< Real, GLOBALDIM > &a_point) const
virtual BaseIFnewImplicitFunction () const
void findClosest (const IndexTM< Real, GLOBALDIM > &a_point, int &closestIF) const
virtual bool fastIntersection (const RealVect &a_low, const RealVect &a_high) const
virtual GeometryService::InOut InsideOutside (const RealVect &a_low, const RealVect &a_high) const
virtual void boxLayoutChanged (const DisjointBoxLayout &a_newBoxLayout, const RealVect &a_dx)

Protected Attributes

int m_numFuncs
Vector< BaseIF * > m_impFuncs

Private Member Functions

 IntersectionIF ()
void operator= (const IntersectionIF &a_inputIF)

Constructor & Destructor Documentation

IntersectionIF::IntersectionIF ( const BaseIF a_impFunc1,
const BaseIF a_impFunc2 
)

Constructor specifying two implicit functions as inputs.

IntersectionIF::IntersectionIF ( const Vector< BaseIF * > &  a_impFuncs  ) 

Constructor specifying any number of implicit functions as inputs.

IntersectionIF::IntersectionIF ( const IntersectionIF a_inputIF  ) 

Copy constructor.

virtual IntersectionIF::~IntersectionIF (  )  [virtual]

Destructor.

IntersectionIF::IntersectionIF (  )  [inline, private]

References MayDay::Abort().


Member Function Documentation

virtual Real IntersectionIF::value ( const RealVect a_point  )  const [virtual]

Return the value of the function at a_point.

Implements BaseIF.

virtual Real IntersectionIF::value ( const IndexTM< Real, GLOBALDIM > &  a_point  )  const [virtual]

Return the value of the function at a_point (of type IndexTM).

Reimplemented from BaseIF.

virtual Real IntersectionIF::value ( const IndexTM< int, GLOBALDIM > &  a_partialDerivative,
const IndexTM< Real, GLOBALDIM > &  a_point 
) const [virtual]

Reimplemented from BaseIF.

virtual BaseIF* IntersectionIF::newImplicitFunction (  )  const [virtual]

Return a newly allocated derived class. The responsibility for deleting the memory is left to the calling function.

Implements BaseIF.

void IntersectionIF::findClosest ( const IndexTM< Real, GLOBALDIM > &  a_point,
int &  closestIF 
) const

virtual bool IntersectionIF::fastIntersection ( const RealVect a_low,
const RealVect a_high 
) const [virtual]

Reimplemented from BaseIF.

virtual GeometryService::InOut IntersectionIF::InsideOutside ( const RealVect a_low,
const RealVect a_high 
) const [virtual]

Reimplemented from BaseIF.

virtual void IntersectionIF::boxLayoutChanged ( const DisjointBoxLayout a_newBoxLayout,
const RealVect a_dx 
) [inline, virtual]

Pass this call onto the IFs contained in this IF class.

Reimplemented from BaseIF.

References m_impFuncs, and m_numFuncs.

void IntersectionIF::operator= ( const IntersectionIF a_inputIF  )  [inline, private]

References MayDay::Abort().


Member Data Documentation

int IntersectionIF::m_numFuncs [protected]

Referenced by boxLayoutChanged().

Referenced by boxLayoutChanged().


The documentation for this class was generated from the following file:

Generated on Fri Aug 18 04:03:59 2017 for Chombo + EB by  doxygen 1.5.5