ESyS-Particle
2.2
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
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
"
20
#include "
Python/esys/lsm/geometry/PackerPy.h
"
21
#include "
Python/esys/lsm/util/BoundingBoxPy.h
"
22
#include "
Python/esys/lsm/geometry/TaggedIdConnectionPy.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
34
GougeConfig<GrainRandomBoxPackerPy,RandomBoxPackerPy,TaggedIdConnectionPy>
35
Inherited
;
36
37
GougeConfigPy
(
const
GougeConfigPrmsPy
&prms);
38
39
void
writeVtkXml
(
const
std::string &fileName);
40
41
boost::python::list
getCircDimList
()
const
;
42
43
BoundingBoxPy
getParticleBoundingBox
();
44
45
BoundingBoxPy
getDomainBoundingBox
();
46
47
boost::python::list
getConnectionList
()
const
;
48
49
class
BBoxVisitor
50
{
51
public
:
52
BBoxVisitor
();
53
54
BoundingBoxPy
getBBox
()
const
;
55
56
template
<
typename
TmplParticle>
57
void
visitSimpleParticle
(TmplParticle &particle);
58
59
private
:
60
Vec3
m_minPt
;
61
Vec3
m_maxPt
;
62
};
63
64
private
:
65
};
66
67
void
exportGougeConfig
();
68
}
69
}
70
71
#endif
Python
esys
lsm
geometry
GougeConfigPy.h
Generated on Mon May 6 2013 23:26:31 for ESyS-Particle by
1.8.3.1