GenGeo  1.1
HexAggregateInsertGenerator2D Class Reference

#include <HexAggregateInsertGenerator2D.h>

Inheritance diagram for HexAggregateInsertGenerator2D:
Collaboration diagram for HexAggregateInsertGenerator2D:

Public Member Functions

 HexAggregateInsertGenerator2D ()
 HexAggregateInsertGenerator2D (double, double, int, int, double)
virtual ~HexAggregateInsertGenerator2D ()
virtual void fillIn (AVolume2D *, MNTable2D *, int, int)
- Public Member Functions inherited from InsertGenerator2D
 InsertGenerator2D ()
 InsertGenerator2D (double, double, int, int, double)
 InsertGenerator2D (double, double, int, int, double, bool)
virtual ~InsertGenerator2D ()
void setOldSeeding (bool)
virtual void generatePacking (AVolume2D *, MNTable2D *, int, int)
- Public Member Functions inherited from AGenerator2D
virtual ~AGenerator2D ()

Protected Member Functions

virtual void seedParticles (AVolume2D *, MNTable2D *, int, int)

Additional Inherited Members

- Protected Attributes inherited from InsertGenerator2D
double m_rmin
double m_rmax
double m_max_tries
int m_max_iter
double m_prec
bool m_old_seeding

Constructor & Destructor Documentation

HexAggregateInsertGenerator2D::HexAggregateInsertGenerator2D ( )
HexAggregateInsertGenerator2D::HexAggregateInsertGenerator2D ( double  rmin,
double  rmax,
int  tries,
int  max_iter,
double  prec 
)

Constructor

Parameters
rminminimum particle radius
rmaxmaximum particle radius
ntriesmax. nr. of tries to insert particle
max_itermaximum iterations within the iterative solvers
precmax. error in iterative solvers
virtual HexAggregateInsertGenerator2D::~HexAggregateInsertGenerator2D ( )
inlinevirtual

Member Function Documentation

void HexAggregateInsertGenerator2D::fillIn ( AVolume2D vol,
MNTable2D ntable,
int  gid,
int  tag 
)
virtual
void HexAggregateInsertGenerator2D::seedParticles ( AVolume2D vol,
MNTable2D ntable,
int  gid,
int  tag 
)
protectedvirtual

seed the area with particles

Parameters
vola pointer to the packing volume
ntablea pointer to the neighbour table used
gidparticle group id
tagthe particle tag

Reimplemented from InsertGenerator2D.

Reimplemented in HexAggregateInsertGenerator2DRand.

References MNTable2D::checkInsertable(), AVolume::getBoundingBox(), Sphere::Id(), MNTable2D::insert(), MNTable2D::insertBond(), MNTable2D::insertChecked(), AVolume::isIn(), InsertGenerator2D::m_old_seeding, InsertGenerator2D::m_prec, InsertGenerator2D::m_rmax, InsertGenerator2D::m_rmin, and Sphere::setTag().

Here is the call graph for this function:


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