A Cartesian array of spheres.
More...
#include <CD_SphereArray.H>
|
|
| SphereArray ()=delete |
| | Disallowed (for now)
|
| |
| | SphereArray (Real a_radius, const RealVect &a_loCenter, const RealVect &a_sphereGap, IntVect a_numSpheres, bool a_useFast, bool a_flipInside, Real a_zCoord=0.0) |
| | SphereArray full constructor. Constructs an array of spheres.
|
| |
| | SphereArray (const SphereArray &a_inputIF) |
| | Copy constructor. Sends the pointers to the object.
|
| |
|
| ~SphereArray () override |
| | Destructor (does nothing)
|
| |
|
SphereArray & | operator= (const SphereArray &)=delete |
| |
|
| SphereArray (SphereArray &&)=delete |
| |
|
SphereArray & | operator= (SphereArray &&)=delete |
| |
| Real | value (const RealVect &a_point) const override |
| | Value function.
|
| |
| BaseIF * | newImplicitFunction () const override |
| | Factory method – calls the copy constructor.
|
| |
|
|
bool | m_useFast |
| | Switch for using fast or slow union.
|
| |
|
bool | m_flipInside |
| | Make inside to outside.
|
| |
|
std::shared_ptr< EBGeometry::ImplicitFunction< Real > > | m_slowUnion |
| | Standard union ala Chombo.
|
| |
|
std::shared_ptr< EBGeometry::ImplicitFunction< Real > > | m_fastUnion |
| | Union that uses bounding volume hierarchy acceleration.
|
| |
|
|
static constexpr size_t | K = 4 |
| | Tree degree for BVH accelerator.
|
| |
A Cartesian array of spheres.
◆ SphereArray() [1/2]
| SphereArray::SphereArray |
( |
Real |
a_radius, |
|
|
const RealVect & |
a_loCenter, |
|
|
const RealVect & |
a_sphereGap, |
|
|
IntVect |
a_numSpheres, |
|
|
bool |
a_useFast, |
|
|
bool |
a_flipInside, |
|
|
Real |
a_zCoord = 0.0 |
|
) |
| |
SphereArray full constructor. Constructs an array of spheres.
- Parameters
-
| [in] | a_radius | Sphere radius |
| [in] | a_sphereGap | Distance between spheres |
| [in] | a_numSpheres | Number of spheres in each coordinate direction |
| [in] | a_useFast | Use fast union or not |
| [in] | a_flipInside | Make outside to inside |
| [in] | a_zCoord | If 2D, this sets the z-coordinate |
| [in] | a_loCenter | Lo center |
◆ SphereArray() [2/2]
| SphereArray::SphereArray |
( |
const SphereArray & |
a_inputIF | ) |
|
Copy constructor. Sends the pointers to the object.
- Parameters
-
| [in,out] | a_inputIF | Description |
◆ newImplicitFunction()
| BaseIF * SphereArray::newImplicitFunction |
( |
| ) |
const |
|
override |
Factory method – calls the copy constructor.
- Returns
- New copy of this implicit function
◆ value()
| Real SphereArray::value |
( |
const RealVect & |
a_point | ) |
const |
|
override |
Value function.
- Parameters
-
- Returns
- Function value at the given point
The documentation for this class was generated from the following files: