ESyS-Particle
2.2
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
GrainCollectionPy.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_LSMGRAINCOLLECTIONPY_H
15
#define ESYS_LSMGRAINCOLLECTIONPY_H
16
17
#include "
Foundation/console.h
"
18
19
#include "
Geometry/GrainCollection.h
"
20
#include "
Python/esys/lsm/geometry/GrainPy.h
"
21
#include "
Python/esys/lsm/geometry/ParticleCollectionPy.h
"
22
23
namespace
esys
24
{
25
namespace
lsm
26
{
27
class
GrainCollectionPy
:
public
GrainCollection
<GrainPy>
28
{
29
public
:
30
typedef
GrainCollection<GrainPy>
Inherited
;
31
typedef
IteratorPy<Inherited::GrainIterator>
GrainIteratorPy
;
32
typedef
Inherited::ParticlePoolPtr
ParticlePoolPtr
;
33
typedef
Inherited::GrainPoolPtr
GrainPoolPtr
;
34
35
GrainCollectionPy
();
36
37
GrainCollectionPy
(
ParticlePoolPtr
particlePoolPtr);
38
39
GrainCollectionPy
(
40
ParticlePoolPtr
particlePoolPtr,
41
GrainPoolPtr
grainPoolPtr
42
);
43
44
GrainIteratorPy
getGrainIteratorPy
();
45
46
GrainPy
&
createGrainPy
();
47
48
GrainPy
&
createGrainWithIdPy
(
GrainPy::Id
id
);
49
50
private
:
51
};
52
53
void
exportGrainCollection
();
54
}
55
}
56
57
#endif
Python
esys
lsm
geometry
GrainCollectionPy.h
Generated on Mon May 6 2013 23:26:31 for ESyS-Particle by
1.8.3.1