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

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 \
Thomas Witkowski's avatar
Thomas Witkowski committed
252
253
254
255
256
257
258
259
260
time/RosenbrockAdaptInstationary.h \
time/RosenbrockStationary.h \
time/RosenbrockMethod.h 

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



368
libcompositeFEM_la_CXXFLAGS = $(libamdis_la_CXXFLAGS)
Thomas Witkowski's avatar
Thomas Witkowski committed
369

370
371
372
373
374
375
376
377
378
379
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