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

Implicit function for a wedge. More...

#include <CD_WedgeIF.H>

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

Public Member Functions

 WedgeIF (const int a_dir, const Real a_angle, const Real a_curv, const RealVect a_point, const bool a_inside)
 Base constructor. More...
 
 WedgeIF (const WedgeIF &a_inputIF)
 Copy constructor. More...
 
virtual ~WedgeIF ()
 Destructor.
 
virtual Real value (const RealVect &a_pos) const
 Get distance to object. More...
 
virtual BaseIF * newImplicitFunction () const
 Factory method.
 

Protected Attributes

RefCountedPtr< BaseIF > m_baseIF
 Base function.
 

Detailed Description

Implicit function for a wedge.

Constructor & Destructor Documentation

◆ WedgeIF() [1/2]

WedgeIF::WedgeIF ( const int  a_dir,
const Real  a_angle,
const Real  a_curv,
const RealVect  a_point,
const bool  a_inside 
)

Base constructor.

Parameters
[in]a_dirDirection, 0=x,1=y,2=z
[in]a_angleOpening angle
[in]a_curvCorner curvature
[in]a_pointCenter of circle used for curvature
[in]a_insideFluid on inside or not

◆ WedgeIF() [2/2]

WedgeIF::WedgeIF ( const WedgeIF a_inputIF)

Copy constructor.

Parameters
[in]a_inputIFAnother polygon rod

Member Function Documentation

◆ value()

Real WedgeIF::value ( const RealVect &  a_pos) const
virtual

Get distance to object.

Parameters
[in]a_posPosition

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