|
chombo-discharge
|
Cylinder with one pointed end and one circular end. More...
#include <CD_NeedleIF.H>


Public Member Functions | |
| NeedleIF (const Real &a_length, const Real &a_radius, const Real &a_tipRadius, const Real &a_angle, const bool &a_flipInside) | |
| Constructor. | |
| NeedleIF (const NeedleIF &a_inputIF) | |
| Copy constructor. | |
| virtual Real | value (const RealVect &a_point) const override |
| Value function. Returns distance to object. | |
| virtual BaseIF * | newImplicitFunction () const override |
| IF factory method. | |
Protected Attributes | |
| RefCountedPtr< BaseIF > | m_implicitFunction |
| Base implicit function. This is a union between a cylinder and a cone. | |
| Real | m_tipRadius |
| curvature-radius of needle tip | |
Cylinder with one pointed end and one circular end.
| NeedleIF::NeedleIF | ( | const Real & | a_length, |
| const Real & | a_radius, | ||
| const Real & | a_tipRadius, | ||
| const Real & | a_angle, | ||
| const bool & | a_flipInside | ||
| ) |
Constructor.
| [in] | a_length | Needle length |
| [in] | a_radius | Needle radius |
| [in] | a_tipRadius | Smoothing radius for tip and transition |
| [in] | a_angle | Needle tip (cone) opening angle |
| [in] | flipInside | Flip inside to outside |
Copy constructor.
| [in] | a_inputIF | Input Needle |
Value function. Returns distance to object.
| [in] | a_point | Physical position. |