~esys-p-dev/esys-particle/gengeo

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
#############################################################
##                                                         ##
## Copyright (c) 2007-2014 by The University of Queensland ##
## Centre for Geoscience Computing                         ##
## http://earth.uq.edu.au/centre-geoscience-computing      ##
##                                                         ##
## Primary Business: Brisbane, Queensland, Australia       ##
## Licensed under the Open Software License version 3.0    ##
## http://www.opensource.org/licenses/osl-3.0.php          ##
##                                                         ##
#############################################################

include $(top_srcdir)/config/Python.am

PYTHON_DLL_EXT = .so

ACLOCAL_AMFLAGS = -I m4
AM_CXXFLAGS = $(PYTHON_CPPFLAGS) $(BOOST_CPPFLAGS) -fPIC -O2 -Wall -pedantic
AM_CPPFLAGS += \
  -Iutil/ \
  -Isrc/ \
  -Igeometry/ \
  -Isphere_fitting/ \
  -Isphere_fitting/utils/

SUBDIRS = libltdl . Epydoc

gengeo_PYTHON = Python/__init__.py

gengeo_LTLIBRARIES = gengeo.la

gengeo_la_CPPFLAGS = $(AM_CPPFLAGS) $(BOOST_PYTHON_CPPFLAGS)
gengeo_la_LDFLAGS = -module -shared -shrext $(PYTHON_DLL_EXT) $(AM_LDFLAGS) $(BOOST_PYTHON_LDFLAGS)
gengeo_la_SOURCES = \
  geometry/AGeometricObject.h \
  geometry/Cylinder.h \
  geometry/Cylinder.cc \
  geometry/Line2D.h \
  geometry/Line2D.cc \
  geometry/LineSegment.h \
  geometry/LineSegment2D.h \
  geometry/LineSegment2D.cc \
  geometry/Plane.h \
  geometry/Plane.cc \
  geometry/Sphere.h \
  geometry/Sphere.cc \
  geometry/SphereIn.h \
  geometry/SphereIn.cc \
  geometry/Torus.h \
  geometry/Torus.cc \
  geometry/Triangle3D.h \
  geometry/Triangle3D.cc \
  Python/AVolume2DPy.h \
  Python/AVolume2DPy.cc \
  Python/AVolume3DPy.h \
  Python/AVolume3DPy.cc \
  Python/BoxWithLines2DPy.h \
  Python/BoxWithLines2DPy.cc \
  Python/BoxWithLines2DSubVolPy.h \
  Python/BoxWithLines2DSubVolPy.cc \
  Python/BoxWithPlanes3DPy.h \
  Python/BoxWithPlanes3DPy.cc \
  Python/BoxWithJointSetPy.h \
  Python/BoxWithJointSetPy.cc \
  Python/CircleVolPy.h \
  Python/CircleVolPy.cc \
  Python/CircMNTable2DPy.h \
  Python/CircMNTable2DPy.cc \
  Python/CircMNTableXY2DPy.h \
  Python/CircMNTableXY2DPy.cc \
  Python/CircMNTable3DPy.h \
  Python/CircMNTable3DPy.cc \
  Python/ClippedCircleVolPy.h \
  Python/ClippedCircleVolPy.cc \
  Python/ClippedSphereVolPy.h \
  Python/ClippedSphereVolPy.cc \
  Python/ConvexPolyhedronPy.h \
  Python/ConvexPolyhedronPy.cc \
  Python/CylinderVolPy.h \
  Python/CylinderVolPy.cc \
  Python/CylinderWithJointSetPy.h \
  Python/CylinderWithJointSetPy.cc \
  Python/DogBonePy.h \
  Python/DogBonePy.cc \
  Python/FullCircMNTable3DPy.h \
  Python/FullCircMNTable3DPy.cc \
  Python/ExportModuleUtil.cc \
  Python/HexAggregateInsertGenerator2DPy.h \
  Python/HexAggregateInsertGenerator2DPy.cc \
  Python/HexAggregateInsertGenerator3DPy.h \
  Python/HexAggregateInsertGenerator3DPy.cc \
  Python/HGrainGenerator2DPy.h \
  Python/HGrainGenerator2DPy.cc \
  Python/InsertGenerator2DPy.h \
  Python/InsertGenerator2DPy.cc \
  Python/InsertGenerator3DPy.h \
  Python/InsertGenerator3DPy.cc \
  Python/Line2DPy.h \
  Python/Line2DPy.cc \
  Python/LineSegment2DPy.h \
  Python/LineSegment2DPy.cc \
  Python/MeshVolumePy.h \
  Python/MeshVolumePy.cc \
  Python/MeshVolWithJointSetPy.h \
  Python/MeshVolWithJointSetPy.cc \
  Python/MNTable2DPy.h \
  Python/MNTable2DPy.cc \
  Python/MNTable3DPy.h \
  Python/MNTable3DPy.cc \
  Python/PlanePy.h \
  Python/PlanePy.cc \
  Python/PolygonWithLines2DPy.h \
  Python/PolygonWithLines2DPy.cc \
  Python/ShapePy.h \
  Python/ShapePy.cc \
  Python/ShapeListPy.h \
  Python/ShapeListPy.cc \
  Python/SpherePy.h \
  Python/SpherePy.cc \
  Python/SphereSectionVolPy.h \
  Python/SphereSectionVolPy.cc \
  Python/SphereVolPy.h \
  Python/SphereVolPy.cc \
  Python/SphereVolWithJointSetPy.h \
  Python/SphereVolWithJointSetPy.cc \
  Python/UnionVolPy.h \
  Python/UnionVolPy.cc \
  Python/IntersectionVolPy.h \
  Python/IntersectionVolPy.cc \
  Python/DifferenceVolPy.h \
  Python/DifferenceVolPy.cc \
  Python/EllipsoidVolPy.h \
  Python/EllipsoidVolPy.cc \
  Python/TriBoxPy.h \
  Python/TriBoxPy.cc \
  Python/TriPatchSetPy.h \
  Python/TriPatchSetPy.cc \
  Python/TriWithLines2DPy.h \
  Python/TriWithLines2DPy.cc \
  Python/Vector3Py.h \
  Python/Vector3Py.cc \
  sphere_fitting/fit_2d_sphere.h \
  sphere_fitting/fit_2d_sphere.cc \
  sphere_fitting/fit_3d_sphere.h \
  sphere_fitting/fit_3d_sphere.cc \
  sphere_fitting/Sphere2DFitter.h \
  sphere_fitting/Sphere2DFitter.cc \
  sphere_fitting/Sphere3DFitter.h \
  sphere_fitting/Sphere3DFitter.cc \
  sphere_fitting/fit_functions/fit_2d_sphere_line.h \
  sphere_fitting/fit_functions/fit_2d_sphere_line.cc \
  sphere_fitting/fit_functions/fit_2d_sphere_2lines.h \
  sphere_fitting/fit_functions/fit_2d_sphere_2lines.cc \
  sphere_fitting/fit_functions/fit_3d_1sphere_3lines.h \
  sphere_fitting/fit_functions/fit_3d_1sphere_3lines.cc \
  sphere_fitting/fit_functions/fit_3d_2spheres_2lines.h \
  sphere_fitting/fit_functions/fit_3d_2spheres_2lines.cc \
  sphere_fitting/fit_functions/fit_3d_3spheres_1line.h \
  sphere_fitting/fit_functions/fit_3d_3spheres_1line.cc \
  sphere_fitting/utils/nfunction.h \
  sphere_fitting/utils/nvector.h \
  sphere_fitting/utils/simplex.h \
  sphere_fitting/utils/nvector.hh \
  sphere_fitting/utils/simplex.hh \
  src/AGenerator2D.h \
  src/AGenerator3D.h \
  src/AVolume.h \
  src/AVolume2D.h \
  src/AVolume2D.cc \
  src/AVolume3D.h \
  src/BoxWithLines2D.h \
  src/BoxWithLines2D.cc \
  src/BoxWithLines2DSubVol.h \
  src/BoxWithLines2DSubVol.cc \
  src/BoxWithPlanes3D.h \
  src/BoxWithPlanes3D.cc \
  src/BoxWithJointSet.h \
  src/BoxWithJointSet.cc \
  src/CircleVol.h \
  src/CircleVol.cc \
  src/CircMNTable2D.h \
  src/CircMNTable2D.cc \
  src/CircMNTableXY2D.h \
  src/CircMNTableXY2D.cc \
  src/CircMNTable3D.h \
  src/CircMNTable3D.cc \
  src/ClippedCircleVol.h \
  src/ClippedCircleVol.cc \
  src/ClippedSphereVol.h \
  src/ClippedSphereVol.cc \
  src/ConvexPolyhedron.h \
  src/ConvexPolyhedron.cc \
  src/CylinderVol.h \
  src/CylinderVol.cc \
  src/CylinderWithJointSet.h \
  src/CylinderWithJointSet.cc \
  src/DogBone.h \
  src/DogBone.cc \
  src/FullCircMNTable3D.h \
  src/FullCircMNTable3D.cc \
  src/GenericShape.h \
  src/GenericShape.cc \
  src/HexAggregateInsertGenerator2D.h \
  src/HexAggregateInsertGenerator2D.cc \
  src/HexAggregateInsertGenerator2DRand.h \
  src/HexAggregateInsertGenerator2DRand.cc \
  src/HexAggregateInsertGenerator3D.h \
  src/HexAggregateInsertGenerator3D.cc \
  src/HexAggregateShape.h \
  src/HexAggregateShape.cc \
  src/HGrainGenerator.h \
  src/HGrainGenerator.cc \
  src/InsertGenerator2D.h \
  src/InsertGenerator2D.cc \
  src/InsertGenerator3D.h \
  src/InsertGenerator3D.cc \
  src/JointSet.h \
  src/MeshVolume.h \
  src/MeshVolume.cc \
  src/MeshVolWithJointSet.h \
  src/MeshVolWithJointSet.cc \
  src/MNTable2D.h \
  src/MNTable2D.cc \
  src/MNTable3D.h \
  src/MNTable3D.cc \
  src/MNTCell.h \
  src/MNTCell.cc \
  src/MNTCell3D.h \
  src/PolygonWithLines2D.h \
  src/PolygonWithLines2D.cc \
  src/Shape.h \
  src/Shape.cc \
  src/ShapeList.h \
  src/ShapeList.cc \
  src/SphereObj.h \
  src/SphereObj.cc \
  src/SphereSectionVol.h \
  src/SphereSectionVol.cc \
  src/SphereVol.h \
  src/SphereVol.cc \
  src/SphereVolWithJointSet.h \
  src/SphereVolWithJointSet.cc \
  src/UnionVol.h \
  src/UnionVol.cc \
  src/IntersectionVol.h \
  src/IntersectionVol.cc \
  src/DifferenceVol.h \
  src/DifferenceVol.cc \
  src/EllipsoidVol.h \
  src/EllipsoidVol.cc \
  src/TriBox.h \
  src/TriBox.cc \
  src/TriPatchSet.h \
  src/TriPatchSet.cc \
  src/TriWithLines2D.h \
  src/TriWithLines2D.cc \
  util/vector3.h \
  util/vector3.hh \
  util/vector3.cc
gengeo_la_LIBADD = $(BOOST_FILESYSTEM_LIBS) $(BOOST_PYTHON_LIBS) $(BOOST_REGEX_LIBS)