|
chombo-discharge
|
Declaration of a two-sheet hyperboloid. More...
#include <CD_HyperboloidTwoIF.H>


Public Member Functions | |
| HyperboloidTwoIF (const RealVect &a_radii, const RealVect &a_center, const bool &a_inside) | |
| Constructor. | |
| HyperboloidTwoIF (const HyperboloidTwoIF &a_inputIF) | |
| Copy constructor. | |
| virtual Real | value (const RealVect &a_point) const |
| Test whether inside or not. | |
| virtual BaseIF * | newImplicitFunction () const |
| IF factory method. | |
Protected Attributes | |
| RealVect | m_radii |
| Hyperboloid radii. | |
| RealVect | m_radii2 |
| Hyperboloid radii squared. | |
| RealVect | m_sign |
| Holder for sign convention. | |
| RealVect | m_center |
| Hyperboloid center. | |
| bool | m_inside |
| Inside or outside domain. | |
Declaration of a two-sheet hyperboloid.
The implicit function used for the sheets is
\[ \frac{x^2}{a^2} + \frac{y^2}{b^2} - \frac{z^2}{c^2} = -1 \]
| HyperboloidTwoIF::HyperboloidTwoIF | ( | const RealVect & | a_radii, |
| const RealVect & | a_center, | ||
| const bool & | a_inside | ||
| ) |
Constructor.
| [in] | a_radii | Hyperboloid radii |
| [in] | a_center | Hyperboloid center |
| [in] | a_inside | Domain on inside or outside |
| HyperboloidTwoIF::HyperboloidTwoIF | ( | const HyperboloidTwoIF & | a_inputIF | ) |
Copy constructor.
| [in] | a_inputIF | Input one-sheeted hyperboloid |
Test whether inside or not.
| [in] | a_point | Physical position. |