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

Implicit function which represents an infinite half-plane with "holes". More...

#include <CD_ProfilePlaneIF.H>

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

Public Member Functions

 ProfilePlaneIF ()=delete
 Disallowed weak construction.
 
 ProfilePlaneIF (const RealVect a_point, const Real a_width, const BaseIF *a_impFunc, const int a_numLeft, const int a_numRight, const Real a_ccDist, const Real a_xShift, const Real a_yShift, const Real a_curv, const bool a_fluidInside)
 Full constructor. More...
 
 ProfilePlaneIF (const ProfilePlaneIF &a_inputIF)
 Copy constructor. More...
 
virtual ~ProfilePlaneIF ()
 Destructor.
 
virtual Real value (const RealVect &a_pos) const
 Level-set function. More...
 
virtual BaseIF * newImplicitFunction () const
 Factory method.
 

Protected Attributes

RefCountedPtr< BaseIF > m_baseif
 
bool m_fluidInside
 

Detailed Description

Implicit function which represents an infinite half-plane with "holes".

Note
This is currently limited to 2D.

Constructor & Destructor Documentation

◆ ProfilePlaneIF() [1/2]

ProfilePlaneIF::ProfilePlaneIF ( const RealVect  a_point,
const Real  a_width,
const BaseIF *  a_impFunc,
const int  a_numLeft,
const int  a_numRight,
const Real  a_ccDist,
const Real  a_xShift,
const Real  a_yShift,
const Real  a_curv,
const bool  a_fluidInside 
)

Full constructor.

Parameters
[in]a_pointPoint on the plane
[in]a_widthBox width
[in]a_impFuncImplicit function to extract from the box
[in]a_numLeftNumber of holes to the left (of the centerpoint)
[in]a_numRightNumber of holes to the right (of the centerpoint)
[in]a_ccDistDistance between holes
[in]a_xShiftProfile shift to the left/right (relative to centerponit)
[in]a_yShiftProfile shift up/down (relative to centerponit)
[in]a_curvCorner curvatures
[in]a_fluidInsideFluid on inside or not

◆ ProfilePlaneIF() [2/2]

ProfilePlaneIF::ProfilePlaneIF ( const ProfilePlaneIF a_inputIF)

Copy constructor.

Parameters
[in]a_inputIFOther plane

Member Function Documentation

◆ value()

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

Level-set function.

Parameters
[in]a_posPosition

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