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


Public Member Functions | |
| PolygonRodIF (const RealVect a_center1, const RealVect a_center2, 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 scetion.
| PolygonRodIF::PolygonRodIF | ( | const RealVect | a_center1, |
| const RealVect | a_center2, | ||
| const Real | a_radius, | ||
| const Real | a_cornerCurv, | ||
| const int | a_numSides, | ||
| const bool | a_fluidInside | ||
| ) |
Base constructor.
| [in] | a_center1 | One endpoint |
| [in] | a_center2 | 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 |