ESyS-Particle
2.2
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
ParticleGenerator.h
Go to the documentation of this file.
1
2
// //
3
// Copyright (c) 2003-2013 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
// //
12
13
14
#ifndef ESYS_LSMPARTICLEGENERATOR_H
15
#define ESYS_LSMPARTICLEGENERATOR_H
16
17
#include "
Geometry/SimpleParticle.h
"
18
#include "
Geometry/CircularNeighbourTable.h
"
19
20
#include <boost/pool/object_pool.hpp>
21
22
namespace
esys
23
{
24
namespace
lsm
25
{
29
class
ParticleGenerator
30
{
31
public
:
32
typedef
CircularNeighbourTable<SimpleParticle>
NTable
;
33
typedef
boost::object_pool<SimpleParticle>
ParticlePool
;
34
35
ParticleGenerator
(
NTable
&nTable,
ParticlePool
&particlePool);
36
37
virtual
~ParticleGenerator
();
38
39
virtual
void
generate
() = 0;
40
41
protected
:
42
ParticleGenerator
();
43
44
NTable
&
getNTable
();
45
const
NTable
&
getNTable
()
const
;
46
47
ParticlePool
&
getParticlePool
();
48
const
ParticlePool
&
getParticlePool
()
const
;
49
private
:
50
NTable
*
m_pNTable
;
51
ParticlePool
*
m_pParticlePool
;
52
};
53
}
54
}
55
56
#endif
Geometry
ParticleGenerator.h
Generated on Mon May 6 2013 23:26:29 for ESyS-Particle by
1.8.3.1