ESyS-Particle  2.3.4
esys::lsm::RandomSpherePackerPy Class Reference

#include <PackerPy.h>

Inheritance diagram for esys::lsm::RandomSpherePackerPy:
Collaboration diagram for esys::lsm::RandomSpherePackerPy:

Public Types

typedef RandomSpherePackerBasePy Inherited
 
- Public Types inherited from esys::lsm::RandomSpherePacker< TmplParticleGenerator, TmplCubicBoxPackerWrap >
typedef TmplCubicBoxPackerWrap< TmplParticleGenerator >::CubicBoxPackerBase Inherited
 
typedef Inherited::ParticleGenerator ParticleGenerator
 
typedef Inherited::ParticleGeneratorPtr ParticleGeneratorPtr
 
typedef Inherited::Particle Particle
 
typedef Inherited::NTable NTable
 
typedef Inherited::NTablePtr NTablePtr
 
typedef NTable::ParticleVector ParticleVector
 
typedef Inherited::ParticlePool ParticlePool
 
typedef Inherited::ParticlePoolPtr ParticlePoolPtr
 
typedef SphereFittedPIterator< StufferTraitsStuffedParticleIterator
 

Public Member Functions

 RandomSpherePackerPy (double minRadius, double maxRadius, double cubicPackRadius, int maxInsertionFailures, const BoundingSpherePy &bSphere, double tolerance, bool do2d)
 
- Public Member Functions inherited from esys::lsm::RandomSpherePacker< TmplParticleGenerator, TmplCubicBoxPackerWrap >
 RandomSpherePacker (ParticleGeneratorPtr particleGeneratorPtr, ParticlePoolPtr particlePoolPtr, NTablePtr nTablePtr, const BoundingSphere &bSphere, double tolerance, double cubicPackRadius, int maxInsertionFailures, bool do2d)
 
virtual ~RandomSpherePacker ()
 
const BoundingSpheregetBSphere () const
 
bool particleIsValid (const Particle &particle) const
 
double getRandom (double min, double max) const
 
Vec3 getRandomPoint () const
 
ParticleVector getClosestNeighbours (const Particle &particle, int numClosest)
 
int getMaxInsertionFailures () const
 
bool particleFitsInBSphere (const Particle &particle) const
 
bool particleFitsInBSphereWithNeighbours (const Particle &particle) const
 
void generateCubicPackingInSphere ()
 
void generateRandomFill ()
 
virtual void generate ()
 

Member Typedef Documentation

◆ Inherited

Constructor & Destructor Documentation

◆ RandomSpherePackerPy()

esys::lsm::RandomSpherePackerPy::RandomSpherePackerPy ( double  minRadius,
double  maxRadius,
double  cubicPackRadius,
int  maxInsertionFailures,
const BoundingSpherePy bSphere,
double  tolerance,
bool  do2d 
)

The documentation for this class was generated from the following files: