ESyS-Particle  2.2
GougeConfigPy.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_LSM_GOUGEBLOCKPY_H
15 #define ESYS_LSM_GOUGEBLOCKPY_H
16 
17 #include <boost/python.hpp>
18 #include "Foundation/console.h"
19 #include "Geometry/GougeConfig.h"
23 
24 namespace esys
25 {
26  namespace lsm
27  {
28  class GougeConfigPrmsPy;
29  class GougeConfigPy :
30  public GougeConfig<GrainRandomBoxPackerPy,RandomBoxPackerPy,TaggedIdConnectionPy>
31  {
32  public:
33  typedef
36 
37  GougeConfigPy(const GougeConfigPrmsPy &prms);
38 
39  void writeVtkXml(const std::string &fileName);
40 
41  boost::python::list getCircDimList() const;
42 
44 
46 
47  boost::python::list getConnectionList() const;
48 
50  {
51  public:
52  BBoxVisitor();
53 
54  BoundingBoxPy getBBox() const;
55 
56  template <typename TmplParticle>
57  void visitSimpleParticle(TmplParticle &particle);
58 
59  private:
62  };
63 
64  private:
65  };
66 
67  void exportGougeConfig();
68  }
69 }
70 
71 #endif