~ubuntu-branches/ubuntu/saucy/python-demgengeo/saucy-proposed

« back to all changes in this revision

Viewing changes to src/HexAggregateInsertGenerator2DRand.h

  • Committer: Package Import Robot
  • Author(s): Anton Gladky
  • Date: 2011-11-18 21:47:18 UTC
  • Revision ID: package-import@ubuntu.com-20111118214718-4ysqm3dhpqwdd7gd
Tags: upstream-0.99~bzr106
ImportĀ upstreamĀ versionĀ 0.99~bzr106

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/////////////////////////////////////////////////////////////
 
2
//                                                         //
 
3
// Copyright (c) 2007-2011 by The University of Queensland //
 
4
// Earth Systems Science Computational Centre (ESSCC)      //
 
5
// http://www.uq.edu.au/esscc                              //
 
6
//                                                         //
 
7
// Primary Business: Brisbane, Queensland, Australia       //
 
8
// Licensed under the Open Software License version 3.0    //
 
9
// http://www.opensource.org/licenses/osl-3.0.php          //
 
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