chombo-discharge
Loading...
Searching...
No Matches
NewIntersectionIF Class Reference

New intersection IF which does not mess up the return value function when there are no implicit functions. More...

#include <CD_NewIntersectionIF.H>

Inheritance diagram for NewIntersectionIF:
Collaboration diagram for NewIntersectionIF:

Public Member Functions

 NewIntersectionIF ()
 Weak constructor. Does nothing.
 NewIntersectionIF (const Vector< BaseIF * > &a_impFuncs)
 Constructor taking several functions.
virtual ~NewIntersectionIF ()
 Destructor.
virtual Real value (const RealVect &a_point) const override
 Get distance to objects.
virtual BaseIF * newImplicitFunction () const override
 Factory method.

Protected Attributes

int m_numFuncs
 Number of implicit functions.
Vector< BaseIF * > m_impFuncs
 Implicit functions.

Detailed Description

New intersection IF which does not mess up the return value function when there are no implicit functions.

Constructor & Destructor Documentation

◆ NewIntersectionIF()

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

Constructor taking several functions.

Parameters
[in]a_impFuncsImplicit functions

Member Function Documentation

◆ newImplicitFunction()

BaseIF * NewIntersectionIF::newImplicitFunction ( ) const
overridevirtual

Factory method.

Returns
New copy of this implicit function

◆ value()

Real NewIntersectionIF::value ( const RealVect & a_point) const
overridevirtual

Get distance to objects.

Parameters
[in]a_pointPhysical position.
Returns
Function value at the given point

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