ESyS-Particle
2.2
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
ParticleCollectionPy.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_LSMPARTICLECOLLECTIONPY_H
15
#define ESYS_LSMPARTICLECOLLECTIONPY_H
16
17
#include "
Foundation/console.h
"
18
19
#include "
Geometry/ParticleCollection.h
"
20
#include "
Python/esys/lsm/geometry/IteratorPy.h
"
21
#include "
Python/esys/lsm/geometry/SimpleSpherePy.h
"
22
#include "
Python/esys/lsm/util/BoundingBoxPy.h
"
23
24
namespace
esys
25
{
26
namespace
lsm
27
{
28
class
ParticleCollectionPy
:
public
ParticleCollection
<SimpleSpherePy>
29
{
30
public
:
31
typedef
ParticleCollection<SimpleSpherePy>
Inherited
;
32
typedef
Inherited::ParticlePoolPtr
ParticlePoolPtr
;
33
typedef
34
IteratorPy<ParticleCollection<SimpleSpherePy>::ParticleIterator
>
35
ParticleIteratorPy
;
36
37
ParticleCollectionPy
();
38
39
ParticleCollectionPy
(
const
Inherited
&particleCollection);
40
41
ParticleCollectionPy
(
const
ParticleCollectionPy
&particleCollection);
42
43
ParticleCollectionPy
(
ParticlePoolPtr
particlePoolPtr);
44
45
BoundingBoxPy
getParticleBBoxPy
()
const
;
46
47
ParticleIteratorPy
getParticleIteratorPy
();
48
49
SimpleSpherePy
&
createParticlePy
(
const
SimpleSpherePy
&p);
50
51
void
rotatePy
(
const
Vec3Py
&rotation,
const
Vec3Py
&pt);
52
53
void
translateByPy
(
const
Vec3Py
&translation);
54
55
friend
class
ParticleCollectionPyPickleSuite
;
56
private
:
57
};
58
59
void
exportParticleCollection
();
60
}
61
}
62
63
#endif
Python
esys
lsm
geometry
ParticleCollectionPy.h
Generated on Mon May 6 2013 23:26:31 for ESyS-Particle by
1.8.3.1