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


Public Member Functions | |
| HyperboloidIF (const RealVect &a_radii, const RealVect &a_center, const bool &a_inside) | |
| Constructor. | |
| HyperboloidIF (const HyperboloidIF &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 single sheet is
\[ \frac{z}{c} - \sqrt{1 + \frac{x^2}{a^2} + \frac{y^2}{b^2}} = 0 \]
| HyperboloidIF::HyperboloidIF | ( | 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 |
| HyperboloidIF::HyperboloidIF | ( | const HyperboloidIF & | a_inputIF | ) |
Copy constructor.
| [in] | a_inputIF | Input one-sheeted hyperboloid |
Test whether inside or not.
| [in] | a_point | Physical position. |