chombo-discharge
Public Member Functions | Protected Attributes | List of all members
PolygonRodIF Class Reference

Implicit function class describing a rod with a polygonal cross scetion. More...

#include <CD_PolygonRodIF.H>

Inheritance diagram for PolygonRodIF:
Inheritance graph
[legend]
Collaboration diagram for PolygonRodIF:
Collaboration graph
[legend]

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. More...
 
 PolygonRodIF (const PolygonRodIF &a_inputIF)
 Copy constructor. More...
 
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.
 

Detailed Description

Implicit function class describing a rod with a polygonal cross scetion.

Note
This is a 3D object only!

Constructor & Destructor Documentation

◆ PolygonRodIF() [1/2]

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.

Parameters
[in]a_center1One endpoint
[in]a_center2Other endpoint
[in]a_radiusOuter radius
[in]a_cornerCurvRounding radius on corners
[in]a_numSidesNumber of sides
[in]a_fluidInsideFluid on inside or not

◆ PolygonRodIF() [2/2]

PolygonRodIF::PolygonRodIF ( const PolygonRodIF a_inputIF)

Copy constructor.

Parameters
[in]a_inputIFAnother polygon rod

The documentation for this class was generated from the following files: