using mesh quality to prevent certain errors
[engrid.git] / src / libengrid / libengrid.pro
blob6906641dd9b36956f2e53c8f5d881a8fe5d12607
1 TEMPLATE = lib
2 LANGUAGE = C++
3 TARGET = engrid
5 # Enable this if the VTK from the ParaView sources and
6 # installation want to be used
7 # Note: Currently only for Windows Compiles with MSVC
8 Use_VTK_Win_ParaView = yes
11 CONFIG += qt \
12 debug_and_release \
13 thread
15 QT += xml \
16 network \
17 opengl
19 win32-msvc* {
20 QMAKE_CXXFLAGS += -W3
21 DEFINES += LIBENGRID_EXPORTS
22 DEFINES += DLL_EXPORT
23 } win32-g++* {
24 CONFIG += console
25 DEFINES += LIBENGRID_EXPORTS
26 DEFINES += DLL_EXPORT
27 QMAKE_CXXFLAGS += -Wall
28 QMAKE_CXXFLAGS += -Wno-deprecated
29 QMAKE_CXXFLAGS += -Wl,--no-undefined
30 QMAKE_CXXFLAGS += -Wl,--enable-runtime-pseudo-reloc
31 } else {
32 QMAKE_CXXFLAGS += -Wall
33 QMAKE_CXXFLAGS += -Wno-deprecated
34 QMAKE_CXXFLAGS += -fno-omit-frame-pointer
35 QMAKE_CXXFLAGS += -g
39 INCLUDEPATH += ..
40 INCLUDEPATH += ./libengrid-build
41 INCLUDEPATH += ../netgen_svn/netgen-mesher/netgen/nglib
42 INCLUDEPATH += ../netgen_svn/netgen-mesher/netgen/libsrc/general
43 INCLUDEPATH += /nopt/brlcad/include
44 INCLUDEPATH += /nopt/brlcad/include/openNURBS
46 #INCLUDEPATH for VTK depends on the compiler
47 win32-msvc* {
48 DEFINES += _USE_MATH_DEFINES
50 !isEmpty(Use_VTK_Win_ParaView) {
51 include(../misc/engrid-vtk-win_paraview.pri)
52 } else {
53 INCLUDEPATH += $(VTKINCDIR)
55 } win32-g++* {
56 INCLUDEPATH += $(VTKINCDIR)
57 } else {
58 INCLUDEPATH += $(VTKINCDIR)
61 RESOURCES += engrid.qrc
63 HEADERS = boundarycondition.h \
64 celllayeriterator.h \
65 cellneighbouriterator.h \
66 cgnswriter.h \
67 containertricks.h \
68 correctsurfaceorientation.h \
69 createvolumemesh.h \
70 deletecells.h \
71 deletetetras.h \
72 deletepickedcell.h \
73 deletevolumegrid.h \
74 dialogoperation.h \
75 egvtkobject.h \
76 elements.h \
77 engrid.h \
78 error.h \
79 fixstl.h \
80 foamreader.h \
81 foamwriter.h \
82 geometrytools.h \
83 gmshiooperation.h \
84 gmshreader.h \
85 gmshwriter.h \
86 gridsmoother.h \
87 iooperation.h \
88 iterator.h \
89 layeriterator.h \
90 meshpartition.h \
91 neutralwriter.h \
92 nodelayeriterator.h \
93 operation.h \
94 optimisation.h \
95 physicalboundarycondition.h \
96 polydatareader.h \
97 polymesh.h \
98 seedsimpleprismaticlayer.h \
99 setboundarycode.h \
100 simplefoamwriter.h \
101 sortablevector.h \
102 std_connections.h \
103 std_includes.h \
104 stlreader.h \
105 stlwriter.h \
106 plywriter.h \
107 uniquevector.h \
108 swaptriangles.h \
109 tvtkoperation.h \
110 volumedefinition.h \
111 vtkreader.h \
112 vtkEgBoundaryCodesFilter.h \
113 vtkEgEliminateShortEdges.h \
114 vtkEgExtractVolumeCells.h \
115 vtkEgGridFilter.h \
116 vtkEgNormalExtrusion.h \
117 vtkEgPolyDataToUnstructuredGridFilter.h \
118 vtkImplicitPolyData.h \
119 guicreateboundarylayer.h \
120 guicreatevolumemesh.h \
121 guideletebadaspecttris.h \
122 guidivideboundarylayer.h \
123 guieditboundaryconditions.h \
124 guiimproveaspectratio.h \
125 guimainwindow.h \
126 guinormalextrusion.h \
127 guiselectboundarycodes.h \
128 guisetboundarycode.h \
129 guicreatesurfacemesh.h \
130 guisettingstab.h \
131 guisettingsviewer.h \
132 guivolumedelegate.h \
133 guitransform.h \
134 vertexdelegate.h \
135 vertexmeshdensity.h \
136 smoothingutilities.h \
137 laplacesmoother.h \
138 deletepickedpoint.h \
139 text3d.h \
140 guipick.h \
141 egvtkinteractorstyle.h \
142 insertpoints.h \
143 removepoints.h \
144 reducedpolydatareader.h \
145 showinfo.h \
146 surfacemesher.h \
147 updatedesiredmeshdensity.h \
148 boxselect.h \
149 checksurfaceintegrity.h \
150 surfaceoperation.h \
151 surfaceprojection.h \
152 octree.h \
153 filetemplate.h \
154 openfoamcase.h \
155 multipagewidget.h \
156 tricoord.h \
157 updatesurfproj.h \
158 foamobject.h \
159 multipagewidgetpage.h \
160 xmlhandler.h \
161 openfoamtools.h \
162 checkforoverlap.h \
163 timer.h \
164 facefinder.h \
165 ../math/linsolve.h \
166 ../math/mathvector.h \
167 ../math/mathvector_methods.h \
168 ../math/mathvector_operators.h \
169 ../math/mathvector_structs.h \
170 ../math/smallsquarematrix.h \
171 pointfinder.h \
172 createboundarylayer.h \
173 guisurfacemesher.h \
174 guicreatehexcore.h \
175 createhexcore.h \
176 optimisenormalvector.h \
177 brlcadreader.h \
178 eghashset.h \
179 polymolecule.h \
180 su2writer.h \
181 dolfynwriter.h \
182 guibrlcadimportdialogue.h \
183 createcadtesselation.h \
184 brlcadinterface.h \
185 statistics.h \
186 surfacenodemovementcheck.h \
187 globalnodegraphinterface.h \
188 checkerboardgraphiterator.h \
189 localnodegraphinterface.h \
190 cadinterface.h \
191 triangularcadinterface.h \
192 meshqualityfaceorientation.h \
193 meshquality.h
195 SOURCES = boundarycondition.cpp \
196 celllayeriterator.cpp \
197 cellneighbouriterator.cpp \
198 cgnswriter.cpp \
199 correctsurfaceorientation.cpp \
200 createvolumemesh.cpp \
201 deletecells.cpp \
202 deletepickedcell.cpp \
203 deletetetras.cpp \
204 deletevolumegrid.cpp \
205 egvtkobject.cpp \
206 elements.cpp \
207 error.cpp \
208 fixstl.cpp \
209 foamreader.cpp \
210 foamwriter.cpp \
211 geometrytools.cpp \
212 gmshiooperation.cpp \
213 gmshreader.cpp \
214 gmshwriter.cpp \
215 gridsmoother.cpp \
216 iooperation.cpp \
217 iterator.cpp \
218 layeriterator.cpp \
219 meshpartition.cpp \
220 neutralwriter.cpp \
221 nodelayeriterator.cpp \
222 operation.cpp \
223 optimisation.cpp \
224 physicalboundarycondition.cpp \
225 polydatareader.cpp \
226 polymesh.cpp \
227 seedsimpleprismaticlayer.cpp \
228 setboundarycode.cpp \
229 simplefoamwriter.cpp \
230 stlreader.cpp \
231 stlwriter.cpp \
232 plywriter.cpp \
233 swaptriangles.cpp \
234 volumedefinition.cpp \
235 vtkreader.cpp \
236 vtkEgBoundaryCodesFilter.cxx \
237 vtkEgEliminateShortEdges.cxx \
238 vtkEgExtractVolumeCells.cxx \
239 vtkEgGridFilter.cxx \
240 vtkEgNormalExtrusion.cxx \
241 vtkEgPolyDataToUnstructuredGridFilter.cxx \
242 vtkImplicitPolyData.cpp \
243 guicreateboundarylayer.cpp \
244 guicreatevolumemesh.cpp \
245 guideletebadaspecttris.cpp \
246 guidivideboundarylayer.cpp \
247 guieditboundaryconditions.cpp \
248 guiimproveaspectratio.cpp \
249 guimainwindow.cpp \
250 guinormalextrusion.cpp \
251 guiselectboundarycodes.cpp \
252 guisetboundarycode.cpp \
253 guicreatesurfacemesh.cpp \
254 guisettingstab.cpp \
255 guisettingsviewer.cpp \
256 guivolumedelegate.cpp \
257 guitransform.cpp \
258 vertexdelegate.cpp \
259 vertexmeshdensity.cpp \
260 smoothingutilities.cpp \
261 laplacesmoother.cpp \
262 deletepickedpoint.cpp \
263 text3d.cpp \
264 guipick.cpp \
265 egvtkinteractorstyle.cpp \
266 insertpoints.cpp \
267 removepoints.cpp \
268 showinfo.cpp \
269 surfacemesher.cpp \
270 updatedesiredmeshdensity.cpp \
271 boxselect.cpp \
272 checksurfaceintegrity.cpp \
273 surfaceoperation.cpp \
274 surfaceprojection.cpp \
275 octree.cpp \
276 filetemplate.cpp \
277 openfoamcase.cpp \
278 multipagewidget.cpp \
279 tricoord.cpp \
280 updatesurfproj.cpp \
281 foamobject.cpp \
282 multipagewidgetpage.cpp \
283 xmlhandler.cpp \
284 reducedpolydatareader.cpp \
285 openfoamtools.cpp \
286 checkforoverlap.cpp \
287 timer.cpp \
288 facefinder.cpp \
289 pointfinder.cpp \
290 createboundarylayer.cpp \
291 guisurfacemesher.cpp \
292 guicreatehexcore.cpp \
293 createhexcore.cpp \
294 optimisenormalvector.cpp \
295 brlcadreader.cpp \
296 polymolecule.cpp \
297 su2writer.cpp \
298 dolfynwriter.cpp \
299 guibrlcadimportdialogue.cpp \
300 createcadtesselation.cpp \
301 brlcadinterface.cpp \
302 surfacenodemovementcheck.cpp \
303 triangularcadinterface.cpp \
304 cadinterface.cpp \
305 meshqualityfaceorientation.cpp \
306 meshquality.cpp
308 FORMS = guicreateboundarylayer.ui \
309 guideletebadaspecttris.ui \
310 guidivideboundarylayer.ui \
311 guieditboundaryconditions.ui \
312 guimainwindow.ui \
313 guiimproveaspectratio.ui \
314 guinormalextrusion.ui \
315 guiselectboundarycodes.ui \
316 guisetboundarycode.ui \
317 guicreatesurfacemesh.ui \
318 guitransform.ui \
319 guipick.ui \
320 guicreatevolumemesh.ui \
321 guisurfacemesher.ui \
322 guicreatehexcore.ui \
323 guibooleangeometryoperation.ui \
324 guibrlcadimportdialogue.ui
326 HEADERS += surfacealgorithm.h
327 SOURCES += surfacealgorithm.cpp
328 HEADERS += reducesurfacetriangulation.h
329 SOURCES += reducesurfacetriangulation.cpp
330 HEADERS += eliminatesmallbranches.h
331 SOURCES += eliminatesmallbranches.cpp
332 HEADERS += smoothandswapsurface.h
333 SOURCES += smoothandswapsurface.cpp
334 HEADERS += seligairfoilreader.h
335 SOURCES += seligairfoilreader.cpp
336 HEADERS += fixcadgeometry.h
337 SOURCES += fixcadgeometry.cpp
338 HEADERS += blenderreader.h
339 SOURCES += blenderreader.cpp
340 HEADERS += blenderwriter.h
341 SOURCES += blenderwriter.cpp
342 HEADERS += dialoglineedit.h
343 SOURCES += dialoglineedit.cpp
344 HEADERS += utilities.h
345 SOURCES += utilities.cpp
346 HEADERS += edgelengthsourcemanager.h \
347 edgelengthsource.h
348 SOURCES += edgelengthsourcemanager.cpp
349 FORMS += guiedgelengthsourcesphere.ui
350 HEADERS += guiedgelengthsourcesphere.h
351 SOURCES += guiedgelengthsourcesphere.cpp
352 HEADERS += triangle.h
353 SOURCES += triangle.cpp
354 HEADERS += mergenodes.h
355 SOURCES += mergenodes.cpp
356 FORMS += guiedgelengthsourcecone.ui
357 HEADERS += guiedgelengthsourcecone.h
358 SOURCES += guiedgelengthsourcecone.cpp
359 FORMS += guiedgelengthsourcebox.ui
360 HEADERS += guiedgelengthsourcebox.h
361 SOURCES += guiedgelengthsourcebox.cpp
362 FORMS += guimergevolumes.ui
363 HEADERS += guimergevolumes.h
364 SOURCES += guimergevolumes.cpp
365 HEADERS += deletestraynodes.h
366 SOURCES += deletestraynodes.cpp
367 HEADERS += guimirrormesh.h
368 SOURCES += guimirrormesh.cpp
369 FORMS += guimirrormesh.ui