Makefile.am 8.65 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
24
25
  parallel/ParMetisPartitioner.cc \
  parallel/PetscSolver.cc \
  parallel/StdMpi.cc \
  parallel/ZoltanPartitioner.cc
Thomas Witkowski's avatar
Thomas Witkowski committed
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
  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

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 \
210
211
212
213
214
215
216
217
218
219
220
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
221
222
223
224
225
226
227
228
229
230
231
232
233
234
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 \
235
io/ValueReader.h \
Thomas Witkowski's avatar
Thomas Witkowski committed
236
237
238
io/ValueWriter.h \
io/VtkWriter.h \
io/VtkWriter.hh \
239
240
itl/minres.hpp \
parallel/ElementObjectData.h \
Thomas Witkowski's avatar
Thomas Witkowski committed
241
parallel/InteriorBoundary.h \
242
243
244
245
246
247
248
249
250
251
parallel/MeshDistributor.h \
parallel/MeshManipulation.h \
parallel/MeshPartitioner.h \
parallel/MpiHelper.h \
parallel/ParallelDebug.h \
parallel/ParallelProblemStatBase.h \
parallel/ParMetisPartitioner.h \
parallel/PetscSolver.h \
parallel/StdMpi.h \
parallel/ZoltanPartitioner.h \
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
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
267
268
269
270
271
272
273
274
275
time/RosenbrockAdaptInstationary.h \
time/RosenbrockStationary.h \
time/RosenbrockMethod.h 

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



383
libcompositeFEM_la_CXXFLAGS = $(libamdis_la_CXXFLAGS)
Thomas Witkowski's avatar
Thomas Witkowski committed
384

385
386
387
388
389
390
391
392
393
394
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
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410

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