Makefile.am 8.84 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
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 \
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 \
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 \
Triangle.h \
UmfPackSolver.h \
VertexInfo.h \
VertexVector.h \
ZeroOrderAssembler.h \
ZeroOrderTerm.h \
218
219
220
221
222
223
224
225
226
227
228
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
229
230
231
232
233
234
235
236
237
238
239
240
241
242
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 \
243
io/ValueReader.h \
Thomas Witkowski's avatar
Thomas Witkowski committed
244
245
246
io/ValueWriter.h \
io/VtkWriter.h \
io/VtkWriter.hh \
247
itl/minres.hpp \
248
parallel/CheckerPartitioner.h \
249
parallel/ElementObjectData.h \
Thomas Witkowski's avatar
Thomas Witkowski committed
250
parallel/InteriorBoundary.h \
251
252
253
254
255
256
257
parallel/MeshDistributor.h \
parallel/MeshManipulation.h \
parallel/MeshPartitioner.h \
parallel/MpiHelper.h \
parallel/ParallelDebug.h \
parallel/ParallelProblemStatBase.h \
parallel/ParMetisPartitioner.h \
258
parallel/PetscProblemStat.h \
259
260
261
parallel/PetscSolver.h \
parallel/StdMpi.h \
parallel/ZoltanPartitioner.h \
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
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
277
278
279
280
281
282
283
284
285
time/RosenbrockAdaptInstationary.h \
time/RosenbrockStationary.h \
time/RosenbrockMethod.h 

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



392
libcompositeFEM_la_CXXFLAGS = $(libamdis_la_CXXFLAGS)
Thomas Witkowski's avatar
Thomas Witkowski committed
393

394
395
396
397
398
399
400
401
402
403
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
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419

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