ESyS-Particle  2.3.4
GrainPy.h
Go to the documentation of this file.
1 // //
3 // Copyright (c) 2003-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 // //
12 
13 
14 #ifndef ESYS_LSMGRAINPY_H
15 #define ESYS_LSMGRAINPY_H
16 
17 #include "Geometry/Grain.h"
19 
20 namespace boost
21 {
22  namespace python
23  {
24  class tuple;
25  }
26 }
27 namespace esys
28 {
29  namespace lsm
30  {
31  class GrainPy : public Grain<ParticleCollectionPy>
32  {
33  public:
36  typedef Inherited::Id Id;
37 
38  GrainPy();
39 
40  GrainPy(Id id);
41 
42  GrainPy(ParticlePoolPtr particlePoolPtr);
43 
44  GrainPy(Id id, ParticlePoolPtr particlePoolPtr);
45 
46  boost::python::tuple
47  getinitargs();
48 
49  private:
50  };
51 
52  void exportGrain();
53  }
54 }
55 
56 #endif
esys::lsm::GrainPy
Definition: GrainPy.h:32
esys::lsm::Grain< ParticleCollectionPy >::getId
Id getId() const
Definition: Grain.hpp:67
esys::lsm::ParticleCollectionPy::ParticlePoolPtr
Inherited::ParticlePoolPtr ParticlePoolPtr
Definition: ParticleCollectionPy.h:32
esys::lsm::exportGrain
void exportGrain()
Definition: GrainPy.cpp:52
console.h
boost
Definition: BondInteractionGroupPy.h:20
esys::lsm::GrainPy::ParticlePoolPtr
Inherited::ParticlePoolPtr ParticlePoolPtr
Definition: GrainPy.h:35
Grain.h
SimpleSpherePy.h
esys::lsm::GrainPy::getinitargs
boost::python::tuple getinitargs()
Definition: GrainPy.cpp:46
esys::lsm::Grain< ParticleCollectionPy >::setId
void setId(Id id)
Definition: Grain.hpp:73
esys
Definition: CheckPointable.cpp:17
esys::lsm::GrainPy::GrainPy
GrainPy()
Definition: GrainPy.cpp:25
esys::lsm::Grain< ParticleCollectionPy >::Id
long Id
Definition: Grain.h:36
esys::lsm::Grain< ParticleCollectionPy >
esys::lsm::GrainPy::Inherited
Grain< ParticleCollectionPy > Inherited
Definition: GrainPy.h:34
ParticleCollectionPy.h
esys::lsm::GrainPy::Id
Inherited::Id Id
Definition: GrainPy.h:36
GrainPy.h