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

Cylinder with rounded caps at its ends. More...

#include <CD_RodIF.H>

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

Public Member Functions

 RodIF (const RealVect &a_center1, const RealVect &a_center2, const Real &a_radius, const bool &a_fluidInside)
 Constructor. More...
 
 RodIF (const RodIF &a_inputIF)
 Copy constructor. More...
 
virtual Real value (const RealVect &a_point) const
 Value function. Returns distance to objcet. More...
 
virtual BaseIF * newImplicitFunction () const
 IF factory method.
 

Protected Attributes

RefCountedPtr< BaseIF > m_baseif
 

Detailed Description

Cylinder with rounded caps at its ends.

Constructor & Destructor Documentation

◆ RodIF() [1/2]

RodIF::RodIF ( const RealVect &  a_center1,
const RealVect &  a_center2,
const Real &  a_radius,
const bool &  a_fluidInside 
)

Constructor.

Parameters
[in]a_center1Cylinder center (at center of sphere)
[in]a_center2Cylinder center (at center of sphere)
[in]a_radiusCylinder and sphere radius
[in]a_fluidInsideDomain on inside or outside

◆ RodIF() [2/2]

RodIF::RodIF ( const RodIF a_inputIF)

Copy constructor.

Parameters
[in]a_inputIFInput cylinder

Member Function Documentation

◆ value()

Real RodIF::value ( const RealVect &  a_point) const
virtual

Value function. Returns distance to objcet.

Parameters
[in]a_pointPhysical position.

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