|
chombo-discharge
|
A Cartesian array of spheres. More...
#include <CD_SphereArray.H>


Public Member Functions | |
| 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. | |
Protected Attributes | |
| 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 Protected Attributes | |
| static constexpr size_t | K = 4 |
| Tree degree for BVH accelerator. | |
A Cartesian array of spheres.
| 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.
| [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::SphereArray | ( | const SphereArray & | a_inputIF | ) |
Copy constructor. Sends the pointers to the object.
| [in,out] | a_inputIF | Description |
|
override |
Factory method – calls the copy constructor.
Value function.
| [in] | a_point | Coordinate |