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

#include <PackerPy.h>

Inheritance diagram for esys::lsm::RandomBoxPackerPy:
Collaboration diagram for esys::lsm::RandomBoxPackerPy:

Public Types

typedef RandomBoxPackerBasePy Inherited
 
- Public Types inherited from esys::lsm::RandomBoxPacker< 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 std::vector< Plane3DPlaneVector
 
typedef FittedParticleIterator< StufferTraitsStuffedParticleIterator
 

Public Member Functions

 RandomBoxPackerPy (double minRadius, double maxRadius, double cubicPackRadius, int maxInsertionFailures, const BoundingBoxPy &bBox, const boost::python::list &periodicDimensions, double tolerance)
 
 RandomBoxPackerPy (ParticleGeneratorPtr particleGeneratorPtr, ParticlePoolPtr particlePoolPtr, NTablePtr nTablePtr, const BoundingBox &bBox, const BoolVector &periodicDimensions, double tolerance, double cubicPackRadius, int maxInsertionFailures, const PlaneVector &fitPlaneVector)
 
- Public Member Functions inherited from esys::lsm::RandomBoxPacker< TmplParticleGenerator, TmplCubicBoxPackerWrap >
 RandomBoxPacker (ParticleGeneratorPtr particleGeneratorPtr, ParticlePoolPtr particlePoolPtr, NTablePtr nTablePtr, const BoundingBox &bBox, const BoolVector &periodicDimensions, double tolerance, double cubicPackRadius, int maxInsertionFailures)
 
 RandomBoxPacker (ParticleGeneratorPtr particleGeneratorPtr, ParticlePoolPtr particlePoolPtr, NTablePtr nTablePtr, const BoundingBox &bBox, const BoolVector &periodicDimensions, double tolerance, double cubicPackRadius, int maxInsertionFailures, const PlaneVector &fitPlaneVector)
 
virtual ~RandomBoxPacker ()
 
PlaneVector getDefaultFitPlaneVector () const
 
bool particleIsValid (const Particle &particle) const
 
virtual void generate ()
 
double getRandom (double min, double max) const
 
Vec3 getRandomPoint () const
 
ParticleVector getClosestNeighbours (const Particle &particle, int numClosest)
 
int getMaxInsertionFailures () const
 
void generateRandomFill ()
 
const PlaneVectorgetFitPlaneVector () const
 
Plane3D getClosestFitPlane (const Particle &particle) const
 

Member Typedef Documentation

◆ Inherited

Constructor & Destructor Documentation

◆ RandomBoxPackerPy() [1/2]

esys::lsm::RandomBoxPackerPy::RandomBoxPackerPy ( double  minRadius,
double  maxRadius,
double  cubicPackRadius,
int  maxInsertionFailures,
const BoundingBoxPy bBox,
const boost::python::list &  periodicDimensions,
double  tolerance 
)

◆ RandomBoxPackerPy() [2/2]

esys::lsm::RandomBoxPackerPy::RandomBoxPackerPy ( ParticleGeneratorPtr  particleGeneratorPtr,
ParticlePoolPtr  particlePoolPtr,
NTablePtr  nTablePtr,
const BoundingBox bBox,
const BoolVector periodicDimensions,
double  tolerance,
double  cubicPackRadius,
int  maxInsertionFailures,
const PlaneVector fitPlaneVector 
)

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