chombo-discharge
|
A box with rounded corners and edges. More...
#include <CD_RoundedBoxIF.H>
Public Member Functions | |
RoundedBoxIF ()=delete | |
Disallowed weak construction. | |
RoundedBoxIF (const RealVect a_loCorner, const RealVect a_hiCorner, const Real a_curvature, const bool a_fluidInside) | |
Constructor. | |
RoundedBoxIF (const RoundedBoxIF &a_inputIF) | |
Copy constructor. | |
virtual | ~RoundedBoxIF () |
Destructor. | |
virtual Real | value (const RealVect &a_point) const override |
Get distance to object. | |
virtual BaseIF * | newImplicitFunction () const override |
IF factory method. | |
Protected Attributes | |
bool | m_fluidInside |
Fluid on inside or not. | |
RefCountedPtr< BaseIF > | m_baseIF |
Implicit function (which is union between planes) | |
A box with rounded corners and edges.
RoundedBoxIF::RoundedBoxIF | ( | const RealVect | a_loCorner, |
const RealVect | a_hiCorner, | ||
const Real | a_curvature, | ||
const bool | a_fluidInside | ||
) |
Constructor.
[in] | a_loCorner | Upper right corner of the object |
[in] | a_hiCorner | Lower left corner of the object |
[in] | a_curvature | Radius of curvature on edges and corners |
[in] | a_fluidInside | Fluid on inside (true) or outside (false) |
RoundedBoxIF::RoundedBoxIF | ( | const RoundedBoxIF & | a_inputIF | ) |
Copy constructor.
[in] | a_inputIF | Other box |
Get distance to object.
[in] | a_point | Physical position. |