Makefile.am 8.96 KB
Newer Older
1
lib_LTLIBRARIES = libamdis.la libcompositeFEM.la libreinit.la
Thomas Witkowski's avatar
Thomas Witkowski committed
2
3
4
5

LIB_DIR = ../lib
PARALLEL_DIR = $(SOURCE_DIR)
PARMETIS_DIR = ../lib/ParMetis-3.1
6
AMDIS_INCLUDES =
Thomas Witkowski's avatar
Thomas Witkowski committed
7
8
9
10
11
12
13
14

libamdis_la_CXXFLAGS = 

PARALLEL_AMDIS_SOURCES = 
PARALLEL_INCLUDES =

if USE_PARALLEL_DOMAIN_AMDIS
  PARALLEL_AMDIS_SOURCES += \
15
  parallel/CheckerPartitioner.cc \
16
17
18
19
20
21
  parallel/ElementObjectData.cc \
  parallel/MeshDistributor.cc \
  parallel/MeshManipulation.cc \
  parallel/MeshPartitioner.cc \
  parallel/MpiHelper.cc \
  parallel/ParallelDebug.cc \
Thomas Witkowski's avatar
Thomas Witkowski committed
22
  parallel/ParallelProblemStatBase.cc \
23
  parallel/ParMetisPartitioner.cc \
24
  parallel/PetscProblemStat.cc \
25
  parallel/PetscSolver.cc \
Thomas Witkowski's avatar
Thomas Witkowski committed
26
  parallel/StdMpi.cc
Thomas Witkowski's avatar
Thomas Witkowski committed
27
28
29
30
31
32
  libamdis_la_CXXFLAGS += -DHAVE_PARALLEL_DOMAIN_AMDIS=1
  AMDIS_INCLUDES += -I$(PARMETIS_DIR)
  AMDIS_INCLUDES += -I$(PETSC_DIR)/include -I$(PETSC_DIR)/$(PETSC_ARCH)/include
  AMDIS_INCLUDES += -I$(LIB_DIR)/zoltan_build/include
endif

Thomas Witkowski's avatar
Thomas Witkowski committed
33
34
35
36
37
if USE_ZOLTAN
  libamdis_la_CXXFLAGS += -DHAVE_ZOLTAN
  PARALLEL_AMDIS_SOURCES += parallel/ZoltanPartitioner.cc
endif

Thomas Witkowski's avatar
Thomas Witkowski committed
38
39
40
41
if USE_PETSC_DEV
  libamdis_la_CXXFLAGS += -DHAVE_PETSC_DEV
endif

Thomas Witkowski's avatar
Thomas Witkowski committed
42

Thomas Witkowski's avatar
Thomas Witkowski committed
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
if ENABLE_UMFPACK
  libamdis_la_CXXFLAGS += -DHAVE_UMFPACK=1 -DMTL_HAS_UMFPACK
  AMDIS_INCLUDES += -I$(LIB_DIR)/UFconfig \
	            -I$(LIB_DIR)/AMD/Include \
                    -I$(LIB_DIR)/UMFPACK/Include  
endif

if ENABLE_MKL
  libamdis_la_CXXFLAGS += -DHAVE_MKL=1 -I${MKL_INC}
endif

if ENABLE_DUNE
  libamdis_la_CXXFLAGS += -DHAVE_DUNE=1
  AMDIS_INCLUDES += -I$(DUNE_DIR)
endif

if ENABLE_BOOST
  libamdis_la_CXXFLAGS += -DHAVE_BOOST=1
endif

TEMPLATE_INCLUDES = -I../lib/mtl4 

INCLUDES = $(AMDIS_INCLUDES) $(PARALLEL_INCLUDES) $(TEMPLATE_INCLUDES)

if AMDIS_DEBUG
  libamdis_la_CXXFLAGS += -g -O0 -Wall -DDEBUG=1 $(OPENMP_FLAG) $(INCLUDES) #-pedantic
else
  libamdis_la_CXXFLAGS += -O3 -Wall -DDEBUG=0 -DNDEBUG $(OPENMP_FLAG) -ftemplate-depth-100 $(INCLUDES) #-pedantic
endif

nobase_include_HEADERS = \
AMDiS.h \
AMDiS_fwd.h \
AbstractFunction.h \
AdaptBase.h \
AdaptInfo.h \
AdaptInstationary.h \
AdaptStationary.h \
Assembler.h \
BallProject.h \
BasisFunction.h \
Boundary.h \
BoundaryCondition.h \
BoundaryManager.h \
Cholesky.h \
CoarseningManager.h \
CoarseningManager1d.h \
CoarseningManager2d.h \
CoarseningManager3d.h \
ComponentTraverseInfo.h \
CouplingTimeInterface.h \
CreatorInterface.h \
CreatorMap.h \
CreatorMap.hh \
CylinderProject.h \
DOFAdmin.h \
DOFContainer.h \
DOFIndexed.h \
DOFIterator.h \
DOFMatrix.h \
DOFVector.h \
DOFVector.hh \
Debug.h \
DirichletBC.h \
DualTraverse.h \
ElInfo.h \
ElInfo1d.h \
ElInfo2d.h \
ElInfo3d.h \
ElInfoStack.h \
Element.h \
Element.hh \
ElementData.h \
ElementDofIterator.h \
ElementFunction.h \
ElementInfo.h \
ElementRegion_ED.h \
EmptyElementData.h \
Error.h \
Error.hh \
Estimator.h \
FiniteElemSpace.h \
FirstOrderAssembler.h \
FirstOrderTerm.h \
FixVec.h \
FixVec.hh \
FixVecConvert.h \
Flag.h \
Global.h \
GlobalDOFNumbering.h \
GlobalElementNumbering.h \
ITL_OEMSolver.h \
ITL_Preconditioner.h \
ITL_Solver.h \
Lagrange.h \
LeafData.h \
Line.h \
MacroElement.h \
Marker.h \
MathFunctions.h \
MatrixVector.h \
Mesh.h \
MeshStructure.h \
MeshStructure_ED.h \
Newton.h \
Newton.hh \
NewtonS.h \
NewtonS.hh \
NonLinSolver.h \
NonLinSolver.hh \
NonLinUpdater.h \
OEMSolver.h \
OpenMP.h \
Operator.h \
Operator.hh \
OperatorTerm.h \
OperatorTerm.hh \
Parameters.h \
Parametric.h \
PeriodicBC.h \
PeriodicConnection.h \
PeriodicInfo.h \
PeriodicMap.h \
ProblemImplicit.h \
ProblemInstat.h \
ProblemInterpolScal.h \
ProblemInterpolVec.h \
ProblemIterationInterface.h \
ProblemNonLin.h \
ProblemScal.h \
ProblemStatBase.h \
ProblemTimeInterface.h \
ProblemVec.h \
ProblemVecDbg.h \
Projection.h \
QPInfo.h \
QPsiPhi.h \
Quadrature.h \
Quadrature.hh \
RCNeighbourList.h \
Recovery.h \
RecoveryEstimator.h \
RefinementManager.h \
RefinementManager1d.h \
RefinementManager2d.h \
RefinementManager3d.h \
ResidualEstimator.h \
ResidualParallelEstimator.h \
RobinBC.h \
RobinBC.hh \
ScalableQuadrature.h \
SecondOrderAssembler.h \
SecondOrderTerm.h \
Serializable.h \
Serializer.h \
SolutionDataStorage.h \
SolutionDataStorage.hh \
SolverMatrix.h \
StandardProblemIteration.h \
SubAssembler.h \
SubAssembler.hh \
SubElInfo.h \
SubQuadrature.h \
SurfaceAssembler.h \
SurfaceOperator.h \
SurfaceQuadrature.h \
SurfaceRegion_ED.h \
SystemVector.h \
Tetrahedron.h \
TimedObject.h \
Traverse.h \
TraverseParallel.h \
Triangle.h \
UmfPackSolver.h \
VertexInfo.h \
VertexVector.h \
ZeroOrderAssembler.h \
ZeroOrderTerm.h \
221
222
223
224
225
226
227
228
229
230
231
compositeFEM/CFE_Integration.h \
compositeFEM/CFE_NormAndErrorFcts.h \
compositeFEM/CompositeFEMMethods.h \
compositeFEM/CompositeFEMOperator.h \
compositeFEM/ElementLevelSet.h \
compositeFEM/LevelSetAdaptMesh.h \
compositeFEM/PenaltyOperator.h \
compositeFEM/SubElementAssembler.h \
compositeFEM/SubPolytope.h \
compositeFEM/TranslateLsFct.h \
compositeFEM/compositeFEM.h \
Thomas Witkowski's avatar
Thomas Witkowski committed
232
233
234
235
236
237
238
239
240
241
242
243
244
245
io/ArhReader.h \
io/ArhWriter.h \
io/DataCollector.h \
io/DofWriter.h \
io/ElementFileWriter.h \
io/FileWriter.h \
io/GNUPlotWriter.h \
io/GridWriter.h \
io/GridWriter.hh \
io/MacroInfo.h \
io/MacroReader.h \
io/MacroWriter.h \
io/PngWriter.h \
io/PovrayWriter.h \
246
io/ValueReader.h \
Thomas Witkowski's avatar
Thomas Witkowski committed
247
248
249
io/ValueWriter.h \
io/VtkWriter.h \
io/VtkWriter.hh \
250
itl/minres.hpp \
251
parallel/CheckerPartitioner.h \
252
parallel/ElementObjectData.h \
Thomas Witkowski's avatar
Thomas Witkowski committed
253
parallel/InteriorBoundary.h \
254
255
256
257
258
259
260
parallel/MeshDistributor.h \
parallel/MeshManipulation.h \
parallel/MeshPartitioner.h \
parallel/MpiHelper.h \
parallel/ParallelDebug.h \
parallel/ParallelProblemStatBase.h \
parallel/ParMetisPartitioner.h \
261
parallel/PetscProblemStat.h \
262
263
264
parallel/PetscSolver.h \
parallel/StdMpi.h \
parallel/ZoltanPartitioner.h \
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
reinit/BoundaryElementDist.h \
reinit/BoundaryElementEdgeDist.h \
reinit/BoundaryElementLevelSetDist.h \
reinit/BoundaryElementNormalDist.h \
reinit/BoundaryElementTopDist.h \
reinit/ElementLevelSet.h \
reinit/ElementUpdate.h \
reinit/ElementUpdate_2d.h \
reinit/ElementUpdate_3d.h \
reinit/HL_SignedDist.h \
reinit/HL_SignedDistBornemann.h \
reinit/HL_SignedDistTraverse.h \
reinit/NormEps.h \
reinit/VelocityExt.h \
reinit/VelocityExtFromVelocityField.h \
Thomas Witkowski's avatar
Thomas Witkowski committed
280
281
282
283
284
285
286
287
288
time/RosenbrockAdaptInstationary.h \
time/RosenbrockStationary.h \
time/RosenbrockMethod.h 

libamdis_la_SOURCES =  \
$(PARALLEL_AMDIS_SOURCES) \
AdaptBase.cc \
AdaptInfo.cc \
AdaptInstationary.cc \
289
290
AdaptStationary.cc \
Assembler.cc \
Thomas Witkowski's avatar
Thomas Witkowski committed
291
292
BasisFunction.cc \
Boundary.cc \
293
294
BoundaryManager.cc \
Cholesky.cc \
Thomas Witkowski's avatar
Thomas Witkowski committed
295
296
297
298
CoarseningManager.cc \
CoarseningManager1d.cc \
CoarseningManager2d.cc \
CoarseningManager3d.cc \
299
300
ComponentTraverseInfo.cc \
CreatorMap.cc \
Thomas Witkowski's avatar
Thomas Witkowski committed
301
DOFAdmin.cc \
302
DOFIndexed.cc \
Thomas Witkowski's avatar
Thomas Witkowski committed
303
DOFMatrix.cc \
304
305
306
307
308
DOFVector.cc \
Debug.cc \
DirichletBC.cc \
DualTraverse.cc \
ElInfo.cc \
Thomas Witkowski's avatar
Thomas Witkowski committed
309
310
311
ElInfo1d.cc \
ElInfo2d.cc \
ElInfo3d.cc \
312
313
314
315
316
ElInfoStack.cc \
Element.cc \
ElementData.cc \
ElementDofIterator.cc \
Estimator.cc \
Thomas Witkowski's avatar
Thomas Witkowski committed
317
FiniteElemSpace.cc \
318
319
FirstOrderAssembler.cc \
FirstOrderTerm.cc \
Thomas Witkowski's avatar
Thomas Witkowski committed
320
321
FixVec.cc \
Global.cc \
322
323
GlobalDOFNumbering.cc \
GlobalElementNumbering.cc \
Thomas Witkowski's avatar
Thomas Witkowski committed
324
Lagrange.cc \
325
LeafData.cc \
Thomas Witkowski's avatar
Thomas Witkowski committed
326
327
Line.cc \
MacroElement.cc \
328
329
330
331
332
333
Marker.cc \
Mesh.cc \
MeshStructure.cc \
NonLinUpdater.cc \
Operator.cc \
OperatorTerm.cc \
Thomas Witkowski's avatar
Thomas Witkowski committed
334
335
Parameters.cc \
Parametric.cc \
336
337
338
339
340
341
342
343
344
345
346
347
PeriodicBC.cc \
ProblemImplicit.cc \
ProblemInstat.cc \
ProblemInterpolScal.cc \
ProblemInterpolVec.cc \
ProblemNonLin.cc \
ProblemScal.cc \
ProblemVec.cc \
ProblemVecDbg.cc \
Projection.cc \
QPInfo.cc \
QPsiPhi.cc \
Thomas Witkowski's avatar
Thomas Witkowski committed
348
349
Quadrature.cc \
RCNeighbourList.cc \
350
351
Recovery.cc \
RecoveryEstimator.cc \
Thomas Witkowski's avatar
Thomas Witkowski committed
352
353
354
355
RefinementManager.cc \
RefinementManager1d.cc \
RefinementManager2d.cc \
RefinementManager3d.cc \
356
357
358
359
360
361
362
363
364
365
366
367
ResidualEstimator.cc \
ResidualParallelEstimator.cc \
RobinBC.cc \
ScalableQuadrature.cc \
SecondOrderAssembler.cc \
SecondOrderTerm.cc \
Serializer.cc \
StandardProblemIteration.cc \
SubAssembler.cc \
SubElInfo.cc \
SubQuadrature.cc \
SurfaceQuadrature.cc \
Thomas Witkowski's avatar
Thomas Witkowski committed
368
369
370
371
Tetrahedron.cc \
Traverse.cc \
TraverseParallel.cc \
Triangle.cc \
372
373
374
375
376
377
VertexVector.cc \
ZeroOrderAssembler.cc \
ZeroOrderTerm.cc \
io/ArhReader.cc \
io/ArhWriter.cc \
io/DataCollector.cc \
Thomas Witkowski's avatar
Thomas Witkowski committed
378
io/DofWriter.cc \
379
380
381
382
383
384
io/ElementFileWriter.cc \
io/FileWriter.cc \
io/GNUPlotWriter.cc \
io/MacroInfo.cc \
io/MacroReader.cc \
io/MacroWriter.cc \
Thomas Witkowski's avatar
Thomas Witkowski committed
385
386
io/PngWriter.cc \
io/PovrayWriter.cc \
387
388
389
io/ValueReader.cc \
io/ValueWriter.cc \
io/VtkWriter.cc \
390
parallel/InteriorBoundary.cc \
Thomas Witkowski's avatar
Thomas Witkowski committed
391
time/RosenbrockAdaptInstationary.cc \
392
393
time/RosenbrockMethod.cc \
time/RosenbrockStationary.cc
Thomas Witkowski's avatar
Thomas Witkowski committed
394
395
396



397
libcompositeFEM_la_CXXFLAGS = $(libamdis_la_CXXFLAGS)
Thomas Witkowski's avatar
Thomas Witkowski committed
398

399
400
401
402
403
404
405
406
407
408
libcompositeFEM_la_SOURCES = \
compositeFEM/CFE_Integration.cc \
compositeFEM/CFE_NormAndErrorFcts.cc \
compositeFEM/CompositeFEMMethods.cc \
compositeFEM/CompositeFEMOperator.cc \
compositeFEM/ElementLevelSet.cc \
compositeFEM/LevelSetAdaptMesh.cc \
compositeFEM/PenaltyOperator.cc \
compositeFEM/SubElementAssembler.cc \
compositeFEM/SubPolytope.cc
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424

libreinit_la_CXXFLAGS = $(libamdis_la_CXXFLAGS)
libreinit_la_SOURCES = \
reinit/BoundaryElementDist.cc \
reinit/BoundaryElementEdgeDist.cc \
reinit/BoundaryElementLevelSetDist.cc \
reinit/BoundaryElementNormalDist.cc \
reinit/BoundaryElementTopDist.cc \
reinit/ElementLevelSet.cc \
reinit/ElementUpdate_2d.cc \
reinit/ElementUpdate_3d.cc \
reinit/HL_SignedDist.cc \
reinit/HL_SignedDistTraverse.cc \
reinit/NormEps.cc \
reinit/VelocityExt.cc \
reinit/VelocityExtFromVelocityField.cc