Makefile.am 8.82 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
16
17
18
19
20
  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
21
  parallel/ParallelProblemStatBase.cc \
22
23
  parallel/ParMetisPartitioner.cc \
  parallel/PetscSolver.cc \
24
  parallel/PetscSolverSchur.cc \
Thomas Witkowski's avatar
Thomas Witkowski committed
25
  parallel/StdMpi.cc
Thomas Witkowski's avatar
Thomas Witkowski committed
26
27
28
29
30
31
  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
32
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
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
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 \
216
217
218
219
220
221
222
223
224
225
226
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
227
228
229
230
231
232
233
234
235
236
237
238
239
240
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 \
241
io/ValueReader.h \
Thomas Witkowski's avatar
Thomas Witkowski committed
242
243
244
io/ValueWriter.h \
io/VtkWriter.h \
io/VtkWriter.hh \
245
246
itl/minres.hpp \
parallel/ElementObjectData.h \
Thomas Witkowski's avatar
Thomas Witkowski committed
247
parallel/InteriorBoundary.h \
248
249
250
251
252
253
254
255
parallel/MeshDistributor.h \
parallel/MeshManipulation.h \
parallel/MeshPartitioner.h \
parallel/MpiHelper.h \
parallel/ParallelDebug.h \
parallel/ParallelProblemStatBase.h \
parallel/ParMetisPartitioner.h \
parallel/PetscSolver.h \
256
parallel/PetscSolverSchur.h \
257
258
parallel/StdMpi.h \
parallel/ZoltanPartitioner.h \
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
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
274
275
276
277
278
279
280
281
282
time/RosenbrockAdaptInstationary.h \
time/RosenbrockStationary.h \
time/RosenbrockMethod.h 

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



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

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

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