|
chombo-discharge
|
Implicit function class describing a rod with a polygonal cross section. More...
#include <CD_PolygonRodIF.H>


Public Member Functions | |
| PolygonRodIF (const RealVect &a_endPoint1, const RealVect &a_endPoint2, const Real a_radius, const Real a_cornerCurv, const int a_numSides, const bool a_fluidInside) | |
| Base constructor. | |
| PolygonRodIF (const PolygonRodIF &a_inputIF) | |
| Copy constructor. | |
| virtual | ~PolygonRodIF () |
| Destructor. | |
| virtual Real | value (const RealVect &a_pos) const |
| Value function. Returns distance to object (ish). | |
| virtual BaseIF * | newImplicitFunction () const |
| Factory method. | |
Protected Attributes | |
| RefCountedPtr< BaseIF > | m_baseif |
| Base function. | |
Implicit function class describing a rod with a polygonal cross section.
| PolygonRodIF::PolygonRodIF | ( | const RealVect & | a_endPoint1, |
| const RealVect & | a_endPoint2, | ||
| const Real | a_radius, | ||
| const Real | a_cornerCurv, | ||
| const int | a_numSides, | ||
| const bool | a_fluidInside | ||
| ) |
Base constructor.
| [in] | a_endPoint1 | One endpoint |
| [in] | a_endPoint2 | Other endpoint |
| [in] | a_radius | Outer radius |
| [in] | a_cornerCurv | Rounding radius on corners |
| [in] | a_numSides | Number of sides |
| [in] | a_fluidInside | Fluid on inside or not |
| PolygonRodIF::PolygonRodIF | ( | const PolygonRodIF & | a_inputIF | ) |
Copy constructor.
| [in] | a_inputIF | Another polygon rod |
|
virtual |
Factory method.
Value function. Returns distance to object (ish).
| [in,out] | a_pos | Description |