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

Class for defining a two- or three-dimensional box with arbitrary centroid and orientation. More...

#include <CD_BoxSdf.H>

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

Public Member Functions

 BoxSdf (const RealVect &a_loCorner, const RealVect &a_hiCorner, const bool &a_fluidInside)
 Base constructor. More...
 
 BoxSdf (const BoxSdf &a_inputIF)
 Copy constructor. More...
 
virtual ~BoxSdf ()
 Destructor.
 
virtual Real value (const RealVect &a_pos) const
 Test if object is on inside or outside.
 
virtual BaseIF * newImplicitFunction () const
 IF Factory method.
 

Protected Attributes

RealVect m_loCorner
 Lower left corner.
 
RealVect m_hiCorner
 Upper right corner.
 
bool m_fluidInside
 Fluid inside box or not.
 

Detailed Description

Class for defining a two- or three-dimensional box with arbitrary centroid and orientation.

Constructor & Destructor Documentation

◆ BoxSdf() [1/2]

BoxSdf::BoxSdf ( const RealVect &  a_loCorner,
const RealVect &  a_hiCorner,
const bool &  a_fluidInside 
)

Base constructor.

Parameters
[in]a_loCornerLower left corner
[in]a_hiCornerUpper right corner
[in]a_insideObject on inside or outside

◆ BoxSdf() [2/2]

BoxSdf::BoxSdf ( const BoxSdf a_inputIF)

Copy constructor.

Parameters
[in]a_inputIFAnother BoxSdf

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