Chombo + EB  3.0
Public Member Functions | Protected Attributes | Private Member Functions | List of all members
UnionIF Class Reference

#include <UnionIF.H>

Inheritance diagram for UnionIF:
Inheritance graph
[legend]

Public Member Functions

 UnionIF (const BaseIF &a_impFunc1, const BaseIF &a_impFunc2)
 
 UnionIF (const Vector< BaseIF *> &a_impFuncs)
 
 UnionIF (const UnionIF &a_inputIF)
 Copy constructor. More...
 
virtual ~UnionIF ()
 Destructor. More...
 
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)
 
- Public Member Functions inherited from BaseIF
 BaseIF ()
 Default constructor. More...
 
virtual ~BaseIF ()
 Default destructor. More...
 
virtual bool fastIntersection (const Box &a_region, const ProblemDomain &a_domain, const RealVect &a_origin, const Real &a_dx) const
 
virtual GeometryService::InOut InsideOutside (const Box &a_region, const ProblemDomain &a_domain, const RealVect &a_origin, const Real &a_dx) const
 
virtual void print (ostream &out) const
 

Protected Attributes

int m_numFuncs
 
Vector< BaseIF * > m_impFuncs
 

Private Member Functions

 UnionIF ()
 
void operator= (const UnionIF &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)
 

Detailed Description

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

Constructor & Destructor Documentation

◆ UnionIF() [1/4]

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

Constructor specifying two implicit functions as inputs.

◆ UnionIF() [2/4]

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

Constructor specifying any number of implicit functions as inputs.

◆ UnionIF() [3/4]

UnionIF::UnionIF ( const UnionIF a_inputIF)

Copy constructor.

◆ ~UnionIF()

virtual UnionIF::~UnionIF ( )
virtual

Destructor.

◆ UnionIF() [4/4]

UnionIF::UnionIF ( )
inlineprivate

References MayDay::Abort().

Member Function Documentation

◆ value() [1/3]

virtual Real UnionIF::value ( const RealVect a_point) const
virtual

Return the value of the function at a_point.

Implements BaseIF.

◆ value() [2/3]

virtual Real UnionIF::value ( const IndexTM< Real, GLOBALDIM > &  a_point) const
virtual

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

Reimplemented from BaseIF.

◆ value() [3/3]

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

Reimplemented from BaseIF.

◆ newImplicitFunction()

virtual BaseIF* UnionIF::newImplicitFunction ( ) const
virtual

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

Implements BaseIF.

◆ findClosest()

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

◆ fastIntersection()

virtual bool UnionIF::fastIntersection ( const RealVect a_low,
const RealVect a_high 
) const
virtual

Reimplemented from BaseIF.

◆ InsideOutside()

virtual GeometryService::InOut UnionIF::InsideOutside ( const RealVect a_low,
const RealVect a_high 
) const
virtual

Reimplemented from BaseIF.

◆ boxLayoutChanged()

virtual void UnionIF::boxLayoutChanged ( const DisjointBoxLayout a_newBoxLayout,
const RealVect a_dx 
)
inlinevirtual

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

Reimplemented from BaseIF.

References m_impFuncs, and m_numFuncs.

◆ operator=()

void UnionIF::operator= ( const UnionIF a_inputIF)
inlineprivate

References MayDay::Abort().

Member Data Documentation

◆ m_numFuncs

int UnionIF::m_numFuncs
protected

Referenced by boxLayoutChanged().

◆ m_impFuncs

Vector<BaseIF*> UnionIF::m_impFuncs
protected

Referenced by boxLayoutChanged().


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