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

This class is used to generate a hollow cylinder with rounded edges. More...

#include <CD_HollowCylinderIF.H>

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

Public Member Functions

 HollowCylinderIF ()=delete
 Disallowed weak construction.
 
 HollowCylinderIF (const RealVect a_center1, const RealVect a_center2, const Real a_majorRadius, const Real a_minorRadius, const Real a_outerCurvature, const Real a_innerCurvature, const bool a_fluidInside)
 Full constructor. More...
 
 HollowCylinderIF (const HollowCylinderIF &a_inputIF)
 Copy constructor. More...
 
virtual Real value (const RealVect &a_point) const override
 Test whether inside or not. More...
 
virtual BaseIF * newImplicitFunction () const override
 IF factory method.
 

Protected Attributes

RefCountedPtr< BaseIF > m_baseIF
 3D object rotated and translated to its specified position
 

Detailed Description

This class is used to generate a hollow cylinder with rounded edges.

Constructor & Destructor Documentation

◆ HollowCylinderIF() [1/2]

HollowCylinderIF::HollowCylinderIF ( const RealVect  a_center1,
const RealVect  a_center2,
const Real  a_majorRadius,
const Real  a_minorRadius,
const Real  a_outerCurvature,
const Real  a_innerCurvature,
const bool  a_fluidInside 
)

Full constructor.

Parameters
[in]a_center1One cylinder end
[in]a_center2Other cylinder end
[in]a_majorRadiusOuter cylinder radius
[in]a_minorRadiusInner radius
[in]a_outerCurvatureOuter curvature
[in]a_innerCurvatureInner curvature
[in]a_fluidInsideFluid inside or not

◆ HollowCylinderIF() [2/2]

HollowCylinderIF::HollowCylinderIF ( const HollowCylinderIF a_inputIF)

Copy constructor.

Parameters
[in]a_inputIFInput hollow cylinder

Member Function Documentation

◆ value()

Real HollowCylinderIF::value ( const RealVect &  a_point) const
overridevirtual

Test whether inside or not.

Parameters
[in]a_pointPhysical position.

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