| 1 |
///////////////////////////////////////////////////////////// |
| 2 |
// // |
| 3 |
// Copyright (c) 2007-2017 by The University of Queensland // |
| 4 |
// Centre for Geoscience Computing // |
| 5 |
// http://earth.uq.edu.au/centre-geoscience-computing // |
| 6 |
// // |
| 7 |
// Primary Business: Brisbane, Queensland, Australia // |
| 8 |
// Licensed under the Open Software License version 3.0 // |
| 9 |
// http://www.apache.org/licenses/LICENSE-2.0 // |
| 10 |
// // |
| 11 |
///////////////////////////////////////////////////////////// |
| 12 |
|
| 13 |
#ifndef __HEXAGGREGATEINSERTGENERATOR2DRAND_H |
| 14 |
#define __HEXAGGREGATEINSERTGENERATOR2DRAND_H |
| 15 |
|
| 16 |
// --- Project includes --- |
| 17 |
#include "HexAggregateInsertGenerator2D.h" |
| 18 |
|
| 19 |
/*! |
| 20 |
\class InsertGenerator2D |
| 21 |
|
| 22 |
Packing generator using Place et al. insertion based algorithm. |
| 23 |
*/ |
| 24 |
class HexAggregateInsertGenerator2DRand : public HexAggregateInsertGenerator2D |
| 25 |
{ |
| 26 |
protected: |
| 27 |
double m_remove_prob; |
| 28 |
|
| 29 |
virtual void seedParticles(AVolume2D* ,MNTable2D* ,int,int); |
| 30 |
|
| 31 |
public: |
| 32 |
HexAggregateInsertGenerator2DRand(); |
| 33 |
HexAggregateInsertGenerator2DRand(double,double,int,int,double,double); |
| 34 |
virtual ~HexAggregateInsertGenerator2DRand(){}; |
| 35 |
|
| 36 |
virtual void fillIn(AVolume2D* ,MNTable2D* ,int,int); |
| 37 |
}; |
| 38 |
|
| 39 |
#endif // __HEXAGGREGATEINSERTGENERATOR2DRAND_H |