chombo-discharge
|
Class for defining a two- or three-dimensional box with arbitrary centroid and orientation. More...
#include <CD_BoxSdf.H>
Public Member Functions | |
BoxSdf (const RealVect &a_loCorner, const RealVect &a_hiCorner, const bool &a_fluidInside) | |
Base constructor. More... | |
BoxSdf (const BoxSdf &a_inputIF) | |
Copy constructor. More... | |
virtual | ~BoxSdf () |
Destructor. | |
virtual Real | value (const RealVect &a_pos) const |
Test if object is on inside or outside. | |
virtual BaseIF * | newImplicitFunction () const |
IF Factory method. | |
Protected Attributes | |
RealVect | m_loCorner |
Lower left corner. | |
RealVect | m_hiCorner |
Upper right corner. | |
bool | m_fluidInside |
Fluid inside box or not. | |
Class for defining a two- or three-dimensional box with arbitrary centroid and orientation.
BoxSdf::BoxSdf | ( | const RealVect & | a_loCorner, |
const RealVect & | a_hiCorner, | ||
const bool & | a_fluidInside | ||
) |
Base constructor.
[in] | a_loCorner | Lower left corner |
[in] | a_hiCorner | Upper right corner |
[in] | a_inside | Object on inside or outside |