chombo-discharge
|
Declaration of a cylinder IF class. More...
#include <CD_CylinderSdf.H>
Public Member Functions | |
CylinderSdf (const RealVect &a_center1, const RealVect &a_center2, const Real &a_radius, const bool &a_fluidInside) | |
Constructor. More... | |
CylinderSdf (const CylinderSdf &a_inputIF) | |
Copy constructor. More... | |
virtual Real | value (const RealVect &a_point) const |
Test whether inside or not. More... | |
virtual BaseIF * | newImplicitFunction () const |
IF factory method. | |
Protected Attributes | |
RealVect | m_endPoint1 |
One end poitn. | |
RealVect | m_endPoint2 |
The other end point. | |
RealVect | m_top |
Top. | |
RealVect | m_axis |
Top. | |
RealVect | m_center |
Center. | |
Real | m_length |
Cylinder length. | |
Real | m_radius |
Cylinder radius. | |
bool | m_fluidInside |
Inside or outside domain. | |
Declaration of a cylinder IF class.
CylinderSdf::CylinderSdf | ( | const RealVect & | a_center1, |
const RealVect & | a_center2, | ||
const Real & | a_radius, | ||
const bool & | a_fluidInside | ||
) |
CylinderSdf::CylinderSdf | ( | const CylinderSdf & | a_inputIF | ) |
Copy constructor.
[in] | a_inputIF | Input cylinder |
|
virtual |
Test whether inside or not.
[in] | a_point | Physical position. |