chombo-discharge
|
Declaration of a one-sheet hyperboloid. More...
#include <CD_HyperboloidOneIF.H>
Public Member Functions | |
HyperboloidOneIF (const RealVect &a_radii, const RealVect &a_center, const bool &a_inside) | |
Constructor. More... | |
HyperboloidOneIF (const HyperboloidOneIF &a_inputIF) | |
Copy constructor. More... | |
virtual Real | value (const RealVect &a_point) const |
Test whether inside or not. More... | |
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 one-sheet hyperboloid.
The implicit function used for the sheet is
\[ \frac{x^2}{a^2} + \frac{y^2}{b^2} - \frac{z^2}{c^2} = 1. \]
HyperboloidOneIF::HyperboloidOneIF | ( | 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 |
HyperboloidOneIF::HyperboloidOneIF | ( | const HyperboloidOneIF & | a_inputIF | ) |
Copy constructor.
[in] | a_inputIF | Input one-sheeted hyperboloid |
|
virtual |
Test whether inside or not.
[in] | a_point | Physical position. |