CMakeLists.txt 37.8 KB
Newer Older
Dominik Thoennes's avatar
Dominik Thoennes committed
1
2
waLBerla_link_files_to_builddir(*.msh)

3
## Convergence ##
Dominik Thoennes's avatar
Dominik Thoennes committed
4
waLBerla_compile_test(FILES convergence/P1CGConvergenceTest.cpp DEPENDS hyteg core)
5
waLBerla_execute_test(NAME P1CGConvergenceTest)
6
waLBerla_execute_test(NAME P1CGConvergenceTestMPI COMMAND $<TARGET_FILE:P1CGConvergenceTest> PROCESSES 2 )
7

Dominik Thoennes's avatar
Dominik Thoennes committed
8
waLBerla_compile_test(FILES convergence/P1CG3DConvergenceTest.cpp DEPENDS hyteg core)
Nils Kohl's avatar
Nils Kohl committed
9
waLBerla_execute_test(NAME P1CG3DConvergenceTest)
10
waLBerla_execute_test(NAME P1CG3DConvergenceTestMPI COMMAND $<TARGET_FILE:P1CG3DConvergenceTest> PROCESSES 2 )
11

Dominik Thoennes's avatar
Dominik Thoennes committed
12
waLBerla_compile_test(FILES convergence/P1GMGConvergenceTest.cpp DEPENDS hyteg core)
13
waLBerla_execute_test(NAME P1GMGConvergenceTest)
14
waLBerla_execute_test(NAME P1GMGConvergenceTestMPI COMMAND $<TARGET_FILE:P1GMGConvergenceTest> PROCESSES 2 )
15

Dominik Thoennes's avatar
Dominik Thoennes committed
16
waLBerla_compile_test(FILES convergence/P1FASConvergenceTest.cpp DEPENDS hyteg core)
Nils Kohl's avatar
Nils Kohl committed
17
18
19
waLBerla_execute_test(NAME P1FASConvergenceTest)
waLBerla_execute_test(NAME P1FASConvergenceTestMPI COMMAND $<TARGET_FILE:P1FASConvergenceTest> PROCESSES 2 )

Dominik Thoennes's avatar
Dominik Thoennes committed
20
waLBerla_compile_test(FILES convergence/P1TauExtrapolationConvergenceTest.cpp DEPENDS hyteg core)
21
22
23
waLBerla_execute_test(NAME P1TauExtrapolationConvergenceTest)
waLBerla_execute_test(NAME P1TauExtrapolationConvergenceTestMPI COMMAND $<TARGET_FILE:P1TauExtrapolationConvergenceTest> PROCESSES 2 )

Dominik Thoennes's avatar
Dominik Thoennes committed
24
waLBerla_compile_test(FILES convergence/P1GMG3DConvergenceTest.cpp DEPENDS hyteg core)
25
waLBerla_execute_test(NAME P1GMG3DConvergenceTest)
26
waLBerla_execute_test(NAME P1GMG3DConvergenceTestMPI COMMAND $<TARGET_FILE:P1GMG3DConvergenceTest> PROCESSES 2 )
27

28
29
30
31
waLBerla_compile_test(FILES convergence/P2GMGConvergenceTest.cpp DEPENDS hyteg core)
waLBerla_execute_test(NAME P2GMGConvergenceTest)
waLBerla_execute_test(NAME P2GMGConvergenceTestMPI COMMAND $<TARGET_FILE:P2GMG3DConvergenceTest> PROCESSES 2 )

Dominik Thoennes's avatar
Dominik Thoennes committed
32
waLBerla_compile_test(FILES convergence/P2GMG3DConvergenceTest.cpp DEPENDS hyteg core)
33
34
35
waLBerla_execute_test(NAME P2GMG3DConvergenceTest)
waLBerla_execute_test(NAME P2GMG3DConvergenceTestMPI COMMAND $<TARGET_FILE:P2GMG3DConvergenceTest> PROCESSES 2 )

Dominik Thoennes's avatar
Dominik Thoennes committed
36
waLBerla_compile_test(FILES convergence/P1StokesBlockCGTest.cpp DEPENDS hyteg core)
Dominik Thoennes's avatar
Dominik Thoennes committed
37
waLBerla_execute_test(NAME P1StokesBlockCGTest)
38

Dominik Thoennes's avatar
Dominik Thoennes committed
39
#waLBerla_compile_test(FILES convergence/P1CGTensorVarcoeffConvergenceTest.cpp DEPENDS hyteg core)
40
#waLBerla_execute_test(NAME P1CGTensorVarcoeffConvergenceTest)
41

Dominik Thoennes's avatar
Dominik Thoennes committed
42
#waLBerla_compile_test(FILES convergence/P1CGVarcoeffConvergenceTest.cpp DEPENDS hyteg core)
43
#waLBerla_execute_test(NAME P1CGVarcoeffConvergenceTest)
44

Dominik Thoennes's avatar
Dominik Thoennes committed
45
#waLBerla_compile_test(FILES convergence/P1CGVarcoordsConvergenceTest.cpp DEPENDS hyteg core)
46
#waLBerla_execute_test(NAME P1CGVarcoordsConvergenceTest)
47

Dominik Thoennes's avatar
Dominik Thoennes committed
48
waLBerla_compile_test(FILES convergence/P1GSConvergenceTest.cpp DEPENDS hyteg core)
49
50
waLBerla_execute_test(NAME P1GSConvergenceTest)

51
52
53
waLBerla_compile_test(FILES convergence/P1JacobiConvergenceTest.cpp DEPENDS hyteg core)
waLBerla_execute_test(NAME P1JacobiConvergenceTest)

Dominik Thoennes's avatar
Dominik Thoennes committed
54
waLBerla_compile_test(FILES convergence/P1MinResConvergenceTest.cpp DEPENDS hyteg core)
55
56
waLBerla_execute_test(NAME P1MinResConvergenceTest)

Dominik Thoennes's avatar
Dominik Thoennes committed
57
waLBerla_compile_test(FILES convergence/P1StokesMinResConvergenceTest.cpp DEPENDS hyteg core)
58
59
waLBerla_execute_test(NAME P1StokesMinResConvergenceTest)

60
61
62
63
64
if( HYTEG_BUILD_WITH_PETSC )
  waLBerla_compile_test(FILES convergence/P1P1StokesUzawaConvergenceTest.cpp DEPENDS hyteg core)
  waLBerla_execute_test(NAME P1P1StokesUzawaConvergenceTest)
endif()

65
if(NOT CMAKE_BUILD_TYPE STREQUAL "Debug")
Dominik Thoennes's avatar
Dominik Thoennes committed
66
  waLBerla_compile_test(FILES convergence/P1Stokes3DMinResConvergenceTest.cpp DEPENDS hyteg core)
67
  waLBerla_execute_test(NAME P1Stokes3DMinResConvergenceTest)
68

Dominik Thoennes's avatar
Dominik Thoennes committed
69
  waLBerla_compile_test(FILES convergence/P2P1Stokes3DMinResConvergenceTest.cpp DEPENDS hyteg core)
Dominik Thoennes's avatar
Dominik Thoennes committed
70
  waLBerla_execute_test(NAME P2P1Stokes3DMinResConvergenceTest)
Nils Kohl's avatar
Nils Kohl committed
71

Dominik Thoennes's avatar
Dominik Thoennes committed
72
  if( HYTEG_BUILD_WITH_PETSC )
Dominik Thoennes's avatar
Dominik Thoennes committed
73
    waLBerla_compile_test(FILES convergence/P1P1Stokes3DUzawaConvergenceTest.cpp DEPENDS hyteg core)
74
75
76
    waLBerla_execute_test(NAME P1P1Stokes3DUzawaConvergenceTest)
  endif()

Dominik Thoennes's avatar
Dominik Thoennes committed
77
  if( HYTEG_BUILD_WITH_PETSC )
Dominik Thoennes's avatar
Dominik Thoennes committed
78
    waLBerla_compile_test(FILES convergence/P2P1Stokes3DUzawaConvergenceTest.cpp DEPENDS hyteg core)
Nils Kohl's avatar
Nils Kohl committed
79
80
    waLBerla_execute_test(NAME P2P1Stokes3DUzawaConvergenceTest)
  endif()
81
82
endif()

Dominik Thoennes's avatar
Dominik Thoennes committed
83
waLBerla_compile_test(FILES convergence/P2CGConvergenceTest.cpp DEPENDS hyteg core)
84
waLBerla_execute_test(NAME P2CGConvergenceTest)
85
waLBerla_execute_test(NAME P2CGConvergenceTestMPI COMMAND $<TARGET_FILE:P2CGConvergenceTest> PROCESSES 2 )
Nils Kohl's avatar
Nils Kohl committed
86

87
88
89
90
waLBerla_compile_test(FILES convergence/P1ElementwiseCGConvergenceTest.cpp DEPENDS hyteg core)
waLBerla_execute_test(NAME P1ElementwiseCGConvergenceTest)
waLBerla_execute_test(NAME P1ElementwiseCGConvergenceTestMPI COMMAND $<TARGET_FILE:P1ElementwiseCGConvergenceTest> PROCESSES 2 )

Nils Kohl's avatar
Nils Kohl committed
91
92
93
waLBerla_compile_test(FILES convergence/P2ElementwiseCGConvergenceTest.cpp DEPENDS hyteg core)
waLBerla_execute_test(NAME P2ElementwiseCGConvergenceTest)
waLBerla_execute_test(NAME P2ElementwiseCGConvergenceTestMPI COMMAND $<TARGET_FILE:P2ElementwiseCGConvergenceTest> PROCESSES 2 )
94

95
waLBerla_compile_test(FILES convergence/ElementwiseDivKGradCGConvergenceTest.cpp DEPENDS hyteg core)
96
if(NOT CMAKE_BUILD_TYPE STREQUAL "Debug")
97
98
99
  waLBerla_execute_test(NAME ElementwiseDivKGradCGConvergenceTest)
endif()

100
waLBerla_compile_test(FILES convergence/ElementwiseEpsilonMinResConvergenceTest.cpp DEPENDS hyteg core)
101
if(NOT CMAKE_BUILD_TYPE STREQUAL "Debug")
102
103
104
105
  if( HYTEG_BUILD_WITH_PETSC )
    waLBerla_execute_test(NAME ElementwiseEpsilonMinResConvergenceTest)
    waLBerla_execute_test(NAME ElementwiseEpsilonMinResConvergenceTestLongrun COMMAND $<TARGET_FILE:ElementwiseEpsilonMinResConvergenceTest> --longrun LABELS longrun)
  endif()
106
107
endif()

Dominik Thoennes's avatar
Dominik Thoennes committed
108
waLBerla_compile_test(FILES convergence/P2SmoothConvergenceTest.cpp DEPENDS hyteg core)
109
waLBerla_execute_test(NAME P2SmoothConvergenceTest)
Dominik Thoennes's avatar
Dominik Thoennes committed
110

Dominik Thoennes's avatar
Dominik Thoennes committed
111
waLBerla_compile_test(FILES convergence/P23DSmoothConvergenceTest.cpp DEPENDS hyteg core)
Nils Kohl's avatar
Nils Kohl committed
112
113
waLBerla_execute_test(NAME P23DSmoothConvergenceTest)

Dominik Thoennes's avatar
Dominik Thoennes committed
114
waLBerla_compile_test(FILES convergence/P2JacobiConvergenceTest.cpp DEPENDS hyteg core)
115
116
waLBerla_execute_test(NAME P2JacobiConvergenceTest)

Dominik Thoennes's avatar
Dominik Thoennes committed
117
waLBerla_compile_test(FILES convergence/P2MinResConvergenceTest.cpp DEPENDS hyteg core)
118
walberla_execute_test(NAME P2MinResConvergenceTest)
119
waLBerla_execute_test(NAME P2MinResConvergenceTestMPI COMMAND $<TARGET_FILE:P2MinResConvergenceTest> PROCESSES 2 )
120

Dominik Thoennes's avatar
Dominik Thoennes committed
121
waLBerla_compile_test(FILES convergence/P2GMGHRefinementConvergenceTest.cpp DEPENDS hyteg core)
Dominik Thoennes's avatar
Dominik Thoennes committed
122
walberla_execute_test(NAME P2GMGHRefinementConvergenceTest)
123
waLBerla_execute_test(NAME P2GMGHRefinementConvergenceTestMPI COMMAND $<TARGET_FILE:P2GMGHRefinementConvergenceTest> PROCESSES 2 )
Dominik Thoennes's avatar
Dominik Thoennes committed
124

Dominik Thoennes's avatar
Dominik Thoennes committed
125
waLBerla_compile_test(FILES convergence/P2GMGPRefinementConvergenceTest.cpp DEPENDS hyteg core)
Dominik Thoennes's avatar
Dominik Thoennes committed
126
walberla_execute_test(NAME P2GMGPRefinementConvergenceTest)
127
waLBerla_execute_test(NAME P2GMGPRefinementConvergenceTestMPI COMMAND $<TARGET_FILE:P2GMGPRefinementConvergenceTest> PROCESSES 2 )
Dominik Thoennes's avatar
Dominik Thoennes committed
128

Dominik Thoennes's avatar
Dominik Thoennes committed
129
waLBerla_compile_test(FILES convergence/P2P1StokesMinResConvergenceTest.cpp DEPENDS hyteg core)
Dominik Thoennes's avatar
Dominik Thoennes committed
130
waLBerla_execute_test(NAME P2P1StokesMinResConvergenceTest)
131

132
if(NOT CMAKE_BUILD_TYPE STREQUAL "Debug")
Dominik Thoennes's avatar
Dominik Thoennes committed
133
  waLBerla_compile_test(FILES convergence/P2P1StokesSchurCGConvergenceTest.cpp DEPENDS hyteg core)
134
135
  waLBerla_execute_test(NAME P2P1StokesSchurCGConvergenceTest)
endif()
136

Dominik Thoennes's avatar
Dominik Thoennes committed
137
waLBerla_compile_test(FILES convergence/P2GSConvergenceTest.cpp DEPENDS hyteg core )
138
139
waLBerla_execute_test(NAME P2GSConvergenceTest)

140
141
142
waLBerla_compile_test(FILES convergence/P2P1ElementwiseUzawaConvergenceTest.cpp DEPENDS hyteg core )
waLBerla_execute_test(NAME P2P1ElementwiseUzawaConvergenceTest)

Dominik Thoennes's avatar
Dominik Thoennes committed
143
waLBerla_compile_test(FILES convergence/P2P1UzawaConvergenceTest.cpp DEPENDS hyteg core )
Dominik Thoennes's avatar
Dominik Thoennes committed
144
waLBerla_execute_test(NAME P2P1UzawaConvergenceTest)
Dominik Thoennes's avatar
Dominik Thoennes committed
145

Andreas Wagner's avatar
Andreas Wagner committed
146
147
148
waLBerla_compile_test(FILES convergence/P1ChebyshevSmootherConvergenceTest.cpp DEPENDS hyteg core )
waLBerla_execute_test(NAME P1ChebyshevSmootherConvergenceTest)

149
150
151
waLBerla_compile_test(FILES convergence/P2UnsteadyDiffusion2DTest.cpp DEPENDS hyteg core )
waLBerla_execute_test(NAME P2UnsteadyDiffusion2DTest)

152
waLBerla_compile_test(FILES convergence/P2UnsteadyDiffusionBlending2DTest.cpp DEPENDS hyteg core )
153
if(NOT CMAKE_BUILD_TYPE STREQUAL "Debug")
154
155
156
157
  if (HYTEG_BUILD_WITH_PETSC)
    waLBerla_execute_test(NAME P2UnsteadyDiffusionBlending2DTest)
  endif()
endif()
158

159
waLBerla_compile_test(FILES convergence/StokesVarViscPopovTest.cpp DEPENDS hyteg core )
160
if(NOT CMAKE_BUILD_TYPE STREQUAL "Debug")
161
162
163
  if (HYTEG_BUILD_WITH_PETSC)
    waLBerla_execute_test(NAME StokesVarViscPopovTest)
  endif()
164
165
endif()

166
167
168
## convection ##

waLBerla_compile_test(FILES convection/Upwind2DCircularConvectionTest.cpp DEPENDS hyteg core)
169
waLBerla_compile_test(FILES convection/AlgebraicUpwind3DCircularConvectionTest.cpp DEPENDS hyteg core)
170

171
172
173
174
175
## dataexport ##

waLBerla_compile_test(FILES dataexport/VTKOutputTest.cpp DEPENDS hyteg core)
waLBerla_execute_test(NAME VTKOutputTest)

176
177
178
179
180
## Forms ##

waLBerla_compile_test(FILES forms/P2LinearCombinationFormTest.cpp DEPENDS hyteg core)
waLBerla_execute_test(NAME P2LinearCombinationFormTest)

Marcus Mohr's avatar
Marcus Mohr committed
181
182
waLBerla_compile_test(FILES forms/RowSumTest.cpp DEPENDS hyteg core)
waLBerla_execute_test(NAME RowSumTest)
Nils Kohl's avatar
Nils Kohl committed
183

184
## Indexing ##
185

Dominik Thoennes's avatar
Dominik Thoennes committed
186
waLBerla_compile_test(FILES Indexing/CommonIndexingTest.cpp DEPENDS hyteg core)
187
188
waLBerla_execute_test(NAME CommonIndexingTest)

Dominik Thoennes's avatar
Dominik Thoennes committed
189
waLBerla_compile_test(FILES Indexing/IndexBasisConversionTest.cpp DEPENDS hyteg core)
190
191
waLBerla_execute_test(NAME IndexBasisConversionTest)

Dominik Thoennes's avatar
Dominik Thoennes committed
192
waLBerla_compile_test(FILES Indexing/P1EdgeIndexingTest.cpp DEPENDS hyteg core)
193
194
waLBerla_execute_test(NAME P1EdgeIndexingTest)

Dominik Thoennes's avatar
Dominik Thoennes committed
195
waLBerla_compile_test(FILES Indexing/P1FaceIndexingTest.cpp DEPENDS hyteg core)
196
waLBerla_execute_test(NAME P1FaceIndexingTest)
197

Dominik Thoennes's avatar
Dominik Thoennes committed
198
waLBerla_compile_test(FILES Indexing/VertexDoFMacroCellIndexingTest.cpp DEPENDS hyteg core)
199
200
waLBerla_execute_test(NAME VertexDoFMacroCellIndexingTest)

201
202
203
waLBerla_compile_test(FILES Indexing/MicroCellIterationAndIndexingTest.cpp DEPENDS hyteg core)
waLBerla_execute_test(NAME MicroCellIterationAndIndexingTest)

Dominik Thoennes's avatar
Dominik Thoennes committed
204
waLBerla_compile_test(FILES Indexing/EdgeDoFOnMacroEdgeIndexingTest.cpp DEPENDS hyteg core)
205
206
waLBerla_execute_test(NAME EdgeDoFOnMacroEdgeIndexingTest)

Dominik Thoennes's avatar
Dominik Thoennes committed
207
waLBerla_compile_test(FILES Indexing/EdgeDoFOnMacroFaceIndexingTest.cpp DEPENDS hyteg core)
208
209
waLBerla_execute_test(NAME EdgeDoFOnMacroFaceIndexingTest)

Dominik Thoennes's avatar
Dominik Thoennes committed
210
waLBerla_compile_test(FILES Indexing/DGIndexingTest.cpp DEPENDS hyteg core)
Dominik Thoennes's avatar
Dominik Thoennes committed
211
waLBerla_execute_test(NAME DGIndexingTest)
212

Dominik Thoennes's avatar
Dominik Thoennes committed
213
waLBerla_compile_test(FILES Indexing/EdgeDoFOrientationConversionTest.cpp DEPENDS hyteg core)
214
215
waLBerla_execute_test(NAME EdgeDoFOrientationConversionTest)

216
if( HYTEG_BUILD_WITH_PETSC )
217
218
219
  waLBerla_compile_test(FILES Indexing/CouplingCountTest.cpp DEPENDS hyteg core)
  waLBerla_execute_test(NAME CouplingCountTest COMMAND $<TARGET_FILE:CouplingCountTest> )
  waLBerla_execute_test(NAME ParallelCouplingCountTest3 COMMAND $<TARGET_FILE:CouplingCountTest> PROCESSES 3 )
220
221
endif()

222
#if(NOT CMAKE_BUILD_TYPE STREQUAL "Debug")
223
#  if(NOT WALBERLA_CXX_COMPILER_IS_MSVC )
Dominik Thoennes's avatar
Dominik Thoennes committed
224
#    waLBerla_compile_test(FILES Indexing/ConstexprIndexTest.cpp DEPENDS hyteg core)
225
226
#    waLBerla_execute_test(NAME ConstexprIndexTest)
#  endif()
227
#endif(
228

229
230
231
232
233
## Math ##

waLBerla_compile_test(FILES math/IntersectionTest.cpp DEPENDS hyteg core)
waLBerla_execute_test(NAME IntersectionTest)

234
## meshes ##
235
236
237
238
239
waLBerla_compile_test(FILES meshes/RefineCoarseMeshCGTest.cpp DEPENDS hyteg core)
waLBerla_execute_test(NAME RefineCoarseMeshCGTest)

waLBerla_compile_test(FILES meshes/RefineCoarseMeshComparisonTest.cpp DEPENDS hyteg core)
waLBerla_execute_test(NAME RefineCoarseMeshComparisonTest)
240

241
242
## VertexDoFSpace ##

Dominik Thoennes's avatar
Dominik Thoennes committed
243
waLBerla_compile_test(FILES vertexdofspace/VertexDoFFunctionTest.cpp DEPENDS hyteg core)
244
245
waLBerla_execute_test(NAME VertexDoFFunctionTest)

Dominik Thoennes's avatar
Dominik Thoennes committed
246
waLBerla_compile_test(FILES vertexdofspace/VertexDoFMacroCellPackInfoTest.cpp DEPENDS hyteg core)
247
248
waLBerla_execute_test(NAME VertexDoFMacroCellPackInfoTest)

Dominik Thoennes's avatar
Dominik Thoennes committed
249
waLBerla_compile_test(FILES vertexdofspace/VertexDoFMemoryTest.cpp DEPENDS hyteg core)
250
251
waLBerla_execute_test(NAME VertexDoFMemoryTest)

Dominik Thoennes's avatar
Dominik Thoennes committed
252
waLBerla_compile_test(FILES vertexdofspace/VertexDoFBasicFunctionsTest.cpp DEPENDS hyteg core)
253
254
waLBerla_execute_test(NAME VertexDoFBasicFunctionsTest)

Dominik Thoennes's avatar
Dominik Thoennes committed
255
waLBerla_compile_test(FILES vertexdofspace/VertexDoFStencilAssemblyTest.cpp DEPENDS hyteg core)
256
257
waLBerla_execute_test(NAME VertexDoFStencilAssemblyTest)

Dominik Thoennes's avatar
Dominik Thoennes committed
258
waLBerla_compile_test(FILES vertexdofspace/VertexDoFAdditiveCommunicationTest.cpp DEPENDS hyteg core)
Nils Kohl's avatar
Nils Kohl committed
259
260
waLBerla_execute_test(NAME VertexDoFAdditiveCommunicationTest)

Dominik Thoennes's avatar
Dominik Thoennes committed
261
waLBerla_compile_test(FILES vertexdofspace/VertexDoFLinearProlongation3DTest.cpp DEPENDS hyteg core)
Nils Kohl's avatar
Nils Kohl committed
262
waLBerla_execute_test(NAME VertexDoFLinearProlongation3DTest)
263

Dominik Thoennes's avatar
Dominik Thoennes committed
264
waLBerla_compile_test(FILES vertexdofspace/VertexDoFQuadraticProlongation3DTest.cpp DEPENDS hyteg core)
265
266
waLBerla_execute_test(NAME VertexDoFQuadraticProlongation3DTest)

267
## EdgeDoFSpace ##
268

Dominik Thoennes's avatar
Dominik Thoennes committed
269
waLBerla_compile_test(FILES edgedofspace/EdgeDoFAdditiveCommunicationTest.cpp DEPENDS hyteg core)
270
271
waLBerla_execute_test(NAME EdgeDoFAdditiveCommunicationTest)

Dominik Thoennes's avatar
Dominik Thoennes committed
272
waLBerla_compile_test(FILES edgedofspace/EdgeDoFMemoryTest.cpp DEPENDS hyteg core)
273
waLBerla_execute_test(NAME EdgeDoFMemoryTest)
Dominik Test2's avatar
Dominik Test2 committed
274

Dominik Thoennes's avatar
Dominik Thoennes committed
275
waLBerla_compile_test(FILES edgedofspace/EdgeDoFFunctionTest.cpp DEPENDS hyteg core)
276
277
waLBerla_execute_test(NAME EdgeDoFFunctionTest)

Dominik Thoennes's avatar
Dominik Thoennes committed
278
waLBerla_compile_test(FILES edgedofspace/EdgeDoFEnumerateTest.cpp DEPENDS hyteg core)
Dominik Thoennes's avatar
Dominik Thoennes committed
279
280
waLBerla_execute_test(NAME EdgeDoFEnumerateTest)

Dominik Thoennes's avatar
Dominik Thoennes committed
281
waLBerla_compile_test(FILES edgedofspace/EdgeDoFCommTest.cpp DEPENDS hyteg core)
Dominik Thoennes's avatar
Dominik Thoennes committed
282
283
waLBerla_execute_test(NAME EdgeDoFCommTest)

Dominik Thoennes's avatar
Dominik Thoennes committed
284
waLBerla_compile_test(FILES edgedofspace/EdgeDoFInterpolationTest.cpp DEPENDS hyteg core)
285
286
waLBerla_execute_test(NAME EdgeDoFInterpolationTest)

Dominik Thoennes's avatar
Dominik Thoennes committed
287
waLBerla_compile_test(FILES edgedofspace/EdgeDoFFunction3DTest.cpp DEPENDS hyteg core)
288
waLBerla_execute_test(NAME EdgeDoFFunction3DTest)
289

290
291
## Operators ##

Dominik Thoennes's avatar
Dominik Thoennes committed
292
waLBerla_compile_test(FILES operators/EdgeDoFToVertexDoFOperatorTest.cpp DEPENDS hyteg core)
293
294
waLBerla_execute_test(NAME EdgeDoFToVertexDoFOperatorTest)

Dominik Thoennes's avatar
Dominik Thoennes committed
295
waLBerla_compile_test(FILES operators/EdgeDoFToEdgeDoFOperatorTest.cpp DEPENDS hyteg core)
296
297
waLBerla_execute_test(NAME EdgeDoFToEdgeDoFOperatorTest)

Dominik Thoennes's avatar
Dominik Thoennes committed
298
waLBerla_compile_test(FILES operators/SimpleVertexDoFToEdgeDoFOperatorTest.cpp DEPENDS hyteg core)
299
300
waLBerla_execute_test(NAME SimpleVertexDoFToEdgeDoFOperatorTest)

301
waLBerla_compile_test(FILES operators/MassOperatorTest.cpp DEPENDS hyteg core)
302
if(NOT CMAKE_BUILD_TYPE STREQUAL "Debug")
303
304
305
  waLBerla_execute_test(NAME MassOperatorTest )
  waLBerla_execute_test(NAME MassOperatorTestMPI COMMAND $<TARGET_FILE:MassOperatorTest> PROCESSES 2 )
endif()
306

307
308
309
waLBerla_compile_test(FILES operators/DivergenceOperatorTest.cpp DEPENDS hyteg core)
waLBerla_execute_test(NAME DivergenceOperatorTest )

310
311
312
waLBerla_compile_test(FILES operators/ElementwiseOperatorAdditiveApplyTest.cpp DEPENDS hyteg core)
waLBerla_execute_test(NAME ElementwiseOperatorAdditiveApplyTest)

313
314
315
waLBerla_compile_test(FILES operators/DiagonalNonConstantOperatorTest.cpp DEPENDS hyteg core)
waLBerla_execute_test(NAME DiagonalNonConstantOperatorTest)

Benjamin Mann's avatar
Benjamin Mann committed
316
317
318
319
if( HYTEG_BUILD_WITH_EIGEN )
  waLBerla_compile_test(FILES operators/P1SurrogateOperatorTest.cpp DEPENDS hyteg core)
  waLBerla_execute_test(NAME P1SurrogateOperatorTest)
endif()
320
321
322
323

waLBerla_compile_test(FILES operators/ViscousOperatorsTest.cpp DEPENDS hyteg core)
waLBerla_execute_test(NAME ViscousOperatorsTest)

324
#################### P1 ####################
325

Dominik Thoennes's avatar
Dominik Thoennes committed
326
waLBerla_compile_test(FILES P1/P1LaplaceOperator3DTest.cpp DEPENDS hyteg core)
327
328
waLBerla_execute_test(NAME P1LaplaceOperator3DTest)

Dominik Thoennes's avatar
Dominik Thoennes committed
329
waLBerla_compile_test(FILES P1/P1InterpolateTest.cpp DEPENDS hyteg core)
330
331
waLBerla_execute_test(NAME P1InterpolateTest)

Dominik Thoennes's avatar
Dominik Thoennes committed
332
waLBerla_compile_test(FILES P1/P1CommTest.cpp DEPENDS hyteg core)
333
334
waLBerla_execute_test(NAME P1CommTest)

Dominik Thoennes's avatar
Dominik Thoennes committed
335
waLBerla_compile_test(FILES P1/P1DataHandlingTest.cpp DEPENDS hyteg core)
336
337
waLBerla_execute_test(NAME P1DataHandlingTest)

Dominik Thoennes's avatar
Dominik Thoennes committed
338
waLBerla_compile_test(FILES P1/P1EvaluateTest.cpp DEPENDS hyteg core)
339
340
waLBerla_execute_test(NAME P1EvaluateTest)

Dominik Thoennes's avatar
Dominik Thoennes committed
341
waLBerla_compile_test(FILES P1/P1PointwiseOperatorTest.cpp DEPENDS hyteg core)
Nils Kohl's avatar
Nils Kohl committed
342
343
waLBerla_execute_test(NAME P1PointwiseOperatorTest)

Dominik Thoennes's avatar
Dominik Thoennes committed
344
if( HYTEG_BUILD_WITH_PETSC )
Dominik Thoennes's avatar
Dominik Thoennes committed
345
  waLBerla_compile_test(FILES P1/P1PetscApplyTest.cpp DEPENDS hyteg core)
346
347
348
349
  waLBerla_execute_test(NAME P1PetscApplyTest1 COMMAND $<TARGET_FILE:P1PetscApplyTest> )
  waLBerla_execute_test(NAME P1PetscApplyTest2 COMMAND $<TARGET_FILE:P1PetscApplyTest> PROCESSES 2)
  waLBerla_execute_test(NAME P1PetscApplyTest8 COMMAND $<TARGET_FILE:P1PetscApplyTest> PROCESSES 8)
endif()
350

Dominik Thoennes's avatar
Dominik Thoennes committed
351
if( HYTEG_BUILD_WITH_PETSC )
Dominik Thoennes's avatar
Dominik Thoennes committed
352
  waLBerla_compile_test(FILES P1/P1PetscSolveTest.cpp DEPENDS hyteg core )
Nils Kohl's avatar
Nils Kohl committed
353
354
355
356
357
  waLBerla_execute_test(NAME P1PetscSolveTest1 COMMAND $<TARGET_FILE:P1PetscSolveTest> PROCESSES 1)
  waLBerla_execute_test(NAME P1PetscSolveTest2 COMMAND $<TARGET_FILE:P1PetscSolveTest> PROCESSES 2)
  waLBerla_execute_test(NAME P1PetscSolveTest3 COMMAND $<TARGET_FILE:P1PetscSolveTest> PROCESSES 8)
endif()

358
359
############################################

360
361
## P2 ##

Dominik Thoennes's avatar
Dominik Thoennes committed
362
waLBerla_compile_test(FILES P2/P2GSTest.cpp DEPENDS hyteg core)
363
364
waLBerla_execute_test(NAME P2GSTest)

Dominik Thoennes's avatar
Dominik Thoennes committed
365
waLBerla_compile_test(FILES P2/P2SimpleSmoothTest.cpp DEPENDS hyteg core)
Dominik Thoennes's avatar
Dominik Thoennes committed
366
waLBerla_execute_test(NAME P2SimpleSmoothTest)
Dominik Thoennes's avatar
Dominik Thoennes committed
367

368
369
waLBerla_compile_test(FILES P2/P2JacobiGSSmoothTest.cpp DEPENDS hyteg core)
waLBerla_execute_test(NAME P2JacobiGSSmoothTest)
370

Dominik Thoennes's avatar
Dominik Thoennes committed
371
waLBerla_compile_test(FILES P2/P2P1TransferTest.cpp DEPENDS hyteg core )
Daniel Drzisga's avatar
Daniel Drzisga committed
372
373
waLBerla_execute_test(NAME P2P1TransferTest)

Dominik Thoennes's avatar
Dominik Thoennes committed
374
waLBerla_compile_test(FILES P2/P2VertexInterpolateTest.cpp DEPENDS hyteg core )
Daniel Drzisga's avatar
Daniel Drzisga committed
375
376
waLBerla_execute_test(NAME P2VertexInterpolateTest)

Dominik Thoennes's avatar
Dominik Thoennes committed
377
waLBerla_compile_test(FILES P2/P2RestrictTest.cpp DEPENDS hyteg core )
378
379
waLBerla_execute_test(NAME P2RestrictTest)

Dominik Thoennes's avatar
Dominik Thoennes committed
380
waLBerla_compile_test(FILES P2/P2ProlongateTest.cpp DEPENDS hyteg core )
Dominik Thoennes's avatar
Dominik Thoennes committed
381
waLBerla_execute_test(NAME P2ProlongateTest)
Dominik Thoennes's avatar
Dominik Thoennes committed
382

Dominik Thoennes's avatar
Dominik Thoennes committed
383
waLBerla_compile_test(FILES P2/P2QuadraticRestriction3DTest.cpp DEPENDS hyteg core )
384
385
waLBerla_execute_test(NAME P2QuadraticRestriction3DTest)

Dominik Thoennes's avatar
Dominik Thoennes committed
386
waLBerla_compile_test(FILES P2/P2QuadraticProlongation3DTest.cpp DEPENDS hyteg core )
387
388
waLBerla_execute_test(NAME P2QuadraticProlongation3DTest)

Dominik Thoennes's avatar
Dominik Thoennes committed
389
waLBerla_compile_test(FILES P2/P2BasicFunctionsTest.cpp DEPENDS hyteg core )
390
391
waLBerla_execute_test(NAME P2BasicFunctionsTest)

Dominik Thoennes's avatar
Dominik Thoennes committed
392
waLBerla_compile_test(FILES P2/P2SwapTest.cpp DEPENDS hyteg core )
Nils Kohl's avatar
Nils Kohl committed
393
394
waLBerla_execute_test(NAME P2SwapTest)

Dominik Thoennes's avatar
Dominik Thoennes committed
395
waLBerla_compile_test(FILES P2/P2FunctionTest.cpp DEPENDS hyteg core)
Dominik Thoennes's avatar
Dominik Thoennes committed
396
397
waLBerla_execute_test(NAME P2FunctionTest)

398
399
400
401
waLBerla_compile_test(FILES P2/P2Level0Test.cpp DEPENDS hyteg core)
waLBerla_execute_test(NAME P2Level0Test1 COMMAND $<TARGET_FILE:P2Level0Test> PROCESSES 1)
waLBerla_execute_test(NAME P2Level0Test2 COMMAND $<TARGET_FILE:P2Level0Test> PROCESSES 2)

Dominik Thoennes's avatar
Dominik Thoennes committed
402
waLBerla_compile_test(FILES P2/P2EvaluateTest.cpp DEPENDS hyteg core)
403
404
waLBerla_execute_test(NAME P2EvaluateTest)

Dominik Thoennes's avatar
Dominik Thoennes committed
405
if( HYTEG_BUILD_WITH_PETSC )
Dominik Thoennes's avatar
Dominik Thoennes committed
406
  waLBerla_compile_test(FILES P2/P2LaplacePetscSymmetryTest.cpp DEPENDS hyteg core)
407
408
409
  waLBerla_execute_test(NAME P2LaplacePetscSymmetryTest)
endif()

410
411
waLBerla_compile_test(FILES P2/P2LaplaceOperator3DTest.cpp DEPENDS hyteg core)
waLBerla_execute_test(NAME P2LaplaceOperator3DTest)
Dominik Thoennes's avatar
Dominik Thoennes committed
412

Dominik Thoennes's avatar
Dominik Thoennes committed
413
if( HYTEG_BUILD_WITH_PETSC )
Dominik Thoennes's avatar
Dominik Thoennes committed
414
  waLBerla_compile_test(FILES P2/P2PetscSolveTest.cpp DEPENDS hyteg core )
415
  waLBerla_execute_test(NAME P2PetscSolveTest1 COMMAND $<TARGET_FILE:P2PetscSolveTest> PROCESSES 1)
416
  #waLBerla_execute_test(NAME P2PetscSolveTest2 COMMAND $<TARGET_FILE:P2PetscSolveTest> PROCESSES 2)
417
  waLBerla_execute_test(NAME P2PetscSolveTest3 COMMAND $<TARGET_FILE:P2PetscSolveTest> PROCESSES 8)
Dominik Thoennes's avatar
Dominik Thoennes committed
418
endif()
Dominik Thoennes's avatar
Dominik Thoennes committed
419

Dominik Thoennes's avatar
Dominik Thoennes committed
420
if( HYTEG_BUILD_WITH_PETSC )
Dominik Thoennes's avatar
Dominik Thoennes committed
421
  waLBerla_compile_test(FILES P2/P2PetscTest.cpp DEPENDS hyteg core)
422
423
424
425
426
  waLBerla_execute_test(NAME P2PetscTest1 COMMAND $<TARGET_FILE:P2PetscTest> )
  waLBerla_execute_test(NAME P2PetscTest2 COMMAND $<TARGET_FILE:P2PetscTest> PROCESSES 2)
  waLBerla_execute_test(NAME P2PetscTest8 COMMAND $<TARGET_FILE:P2PetscTest> PROCESSES 8)
endif()

Dominik Thoennes's avatar
Dominik Thoennes committed
427
if( HYTEG_BUILD_WITH_PETSC )
Dominik Thoennes's avatar
Dominik Thoennes committed
428
  waLBerla_compile_test(FILES P2/P2PetscApplyTest.cpp DEPENDS hyteg core)
429
430
431
432
433
  waLBerla_execute_test(NAME P2PetscApplyTest1 COMMAND $<TARGET_FILE:P2PetscApplyTest> )
  waLBerla_execute_test(NAME P2PetscApplyTest2 COMMAND $<TARGET_FILE:P2PetscApplyTest> PROCESSES 2)
  waLBerla_execute_test(NAME P2PetscApplyTest8 COMMAND $<TARGET_FILE:P2PetscApplyTest> PROCESSES 8)
endif()

Andreas Wagner's avatar
Andreas Wagner committed
434
435
436
waLBerla_compile_test(FILES composites/ConcatenatedOperator.cpp DEPENDS hyteg core )
waLBerla_execute_test(NAME ConcatenatedOperator )

437
## composites ##
Dominik Thoennes's avatar
Dominik Thoennes committed
438
if( HYTEG_BUILD_WITH_PETSC )
Dominik Thoennes's avatar
Dominik Thoennes committed
439
  waLBerla_compile_test(FILES composites/P1P1StokesPetscApplyTest.cpp DEPENDS hyteg core )
440
441
442
443
  waLBerla_execute_test(NAME P1P1StokesPetscApplyTest1 COMMAND $<TARGET_FILE:P1P1StokesPetscApplyTest> PROCESSES 1)
  waLBerla_execute_test(NAME P1P1StokesPetscApplyTest2 COMMAND $<TARGET_FILE:P1P1StokesPetscApplyTest> PROCESSES 2)
endif()

Dominik Thoennes's avatar
Dominik Thoennes committed
444
if( HYTEG_BUILD_WITH_PETSC )
Dominik Thoennes's avatar
Dominik Thoennes committed
445
  waLBerla_compile_test(FILES composites/P1P1Stokes2DPetscSolveTest.cpp DEPENDS hyteg core )
446
447
448
449
  waLBerla_execute_test(NAME P1P1Stokes2DPetscSolveTest1 COMMAND $<TARGET_FILE:P1P1Stokes2DPetscSolveTest> PROCESSES 1)
  waLBerla_execute_test(NAME P1P1Stokes2DPetscSolveTest2 COMMAND $<TARGET_FILE:P1P1Stokes2DPetscSolveTest> PROCESSES 2)
endif()

Dominik Thoennes's avatar
Dominik Thoennes committed
450
if( HYTEG_BUILD_WITH_PETSC )
Dominik Thoennes's avatar
Dominik Thoennes committed
451
  waLBerla_compile_test(FILES composites/P2P1StokesPetscApplyTest.cpp DEPENDS hyteg core )
452
453
454
455
  waLBerla_execute_test(NAME P2P1StokesPetscApplyTest1 COMMAND $<TARGET_FILE:P2P1StokesPetscApplyTest> PROCESSES 1)
  waLBerla_execute_test(NAME P2P1StokesPetscApplyTest2 COMMAND $<TARGET_FILE:P2P1StokesPetscApplyTest> PROCESSES 2)
endif()

Dominik Thoennes's avatar
Dominik Thoennes committed
456
if( HYTEG_BUILD_WITH_PETSC )
Dominik Thoennes's avatar
Dominik Thoennes committed
457
  waLBerla_compile_test(FILES composites/P2P1Stokes2DPetscSolveTest.cpp DEPENDS hyteg core )
458
459
460
461
  waLBerla_execute_test(NAME P2P1Stokes2DPetscSolveTest1 COMMAND $<TARGET_FILE:P2P1Stokes2DPetscSolveTest> PROCESSES 1)
  waLBerla_execute_test(NAME P2P1Stokes2DPetscSolveTest2 COMMAND $<TARGET_FILE:P2P1Stokes2DPetscSolveTest> PROCESSES 2)
endif()

Dominik Thoennes's avatar
Dominik Thoennes committed
462
if( HYTEG_BUILD_WITH_PETSC )
Dominik Thoennes's avatar
Dominik Thoennes committed
463
  waLBerla_compile_test(FILES composites/P1P1Stokes3DPetscSolveTest.cpp DEPENDS hyteg core )
Nils Kohl's avatar
Nils Kohl committed
464
465
466
467
  waLBerla_execute_test(NAME P1P1Stokes3DPetscSolveTest1 COMMAND $<TARGET_FILE:P1P1Stokes3DPetscSolveTest> PROCESSES 1)
  waLBerla_execute_test(NAME P1P1Stokes3DPetscSolveTest2 COMMAND $<TARGET_FILE:P1P1Stokes3DPetscSolveTest> PROCESSES 2)
endif()

Dominik Thoennes's avatar
Dominik Thoennes committed
468
if( HYTEG_BUILD_WITH_PETSC )
Dominik Thoennes's avatar
Dominik Thoennes committed
469
  waLBerla_compile_test(FILES composites/P2P1Stokes3DPetscSolveTest.cpp DEPENDS hyteg core )
Nils Kohl's avatar
Nils Kohl committed
470
471
472
473
  waLBerla_execute_test(NAME P2P1Stokes3DPetscSolveTest1 COMMAND $<TARGET_FILE:P2P1Stokes3DPetscSolveTest> PROCESSES 1)
  waLBerla_execute_test(NAME P2P1Stokes3DPetscSolveTest2 COMMAND $<TARGET_FILE:P2P1Stokes3DPetscSolveTest> PROCESSES 2)
endif()

Dominik Thoennes's avatar
Dominik Thoennes committed
474
if( HYTEG_BUILD_WITH_PETSC )
Dominik Thoennes's avatar
Dominik Thoennes committed
475
    waLBerla_compile_test(FILES composites/P2P1StokesPetscSymmetryTest.cpp DEPENDS hyteg core )
Nils Kohl's avatar
Nils Kohl committed
476
477
478
    waLBerla_execute_test(NAME P2P1StokesPetscSymmetryTest)
endif()

Dominik Thoennes's avatar
Dominik Thoennes committed
479
if( HYTEG_BUILD_WITH_PETSC )
Dominik Thoennes's avatar
Dominik Thoennes committed
480
  waLBerla_compile_test(FILES composites/P2P2Stokes2DPetscSolveTest.cpp DEPENDS hyteg core )
Nils Kohl's avatar
Nils Kohl committed
481
482
483
  waLBerla_execute_test(NAME P2P2Stokes2DPetscSolveTest)
endif()

Dominik Thoennes's avatar
Dominik Thoennes committed
484
if( HYTEG_BUILD_WITH_PETSC )
Dominik Thoennes's avatar
Dominik Thoennes committed
485
  waLBerla_compile_test(FILES composites/P2P2Stokes3DPetscSolveTest.cpp DEPENDS hyteg core )
486
487
488
  waLBerla_execute_test(NAME P2P2Stokes3DPetscSolveTest)
endif()

489
490
491
waLBerla_compile_test(FILES composites/P2P1ElementwiseStokesOperatorTest.cpp DEPENDS hyteg core )
waLBerla_execute_test(NAME P2P1ElementwiseStokesOperatorTest)

492
493
494
495
496
############################################

## VectorFunctions ##
waLBerla_compile_test(FILES VectorFunctions/VectorFunctionBasicTest.cpp DEPENDS hyteg core)
waLBerla_execute_test(NAME VectorFunctionBasicTest)
497
498
499
500
501
502

if( HYTEG_BUILD_WITH_PETSC )
  waLBerla_compile_test(FILES VectorFunctions/VectorFunctionPetscTest.cpp DEPENDS hyteg core)
  waLBerla_execute_test(NAME VectorFunctionPetscTest)
endif()

503
504
waLBerla_compile_test(FILES operators/VectorOperatorBasicTest.cpp DEPENDS hyteg core)
waLBerla_execute_test(NAME VectorOperatorBasicTest)
505

506
507
## Other ##

Dominik Thoennes's avatar
Dominik Thoennes committed
508
waLBerla_compile_test(FILES DGInterpolateTest.cpp DEPENDS hyteg core)
Dominik Thoennes's avatar
Dominik Thoennes committed
509
510
waLBerla_execute_test(NAME DGInterpolateTest)

511
512
513
waLBerla_compile_test(FILES DGAddTest.cpp DEPENDS hyteg core)
waLBerla_execute_test(NAME DGAddTest)

514
515
516
waLBerla_compile_test(FILES DGSwapTest.cpp DEPENDS hyteg core)
waLBerla_execute_test(NAME DGSwapTest)

517
518
519
waLBerla_compile_test(FILES DGDotTest.cpp DEPENDS hyteg core)
waLBerla_execute_test(NAME DGDotTest)

Dominik Thoennes's avatar
Dominik Thoennes committed
520
waLBerla_compile_test(FILES vCycleTest.cpp DEPENDS hyteg core)
521
522
waLBerla_execute_test(NAME vCycleTest1 COMMAND $<TARGET_FILE:vCycleTest> )

Andreas Wagner's avatar
Andreas Wagner committed
523
524
525
waLBerla_compile_test(FILES SmoothableTest.cpp DEPENDS hyteg core)
waLBerla_execute_test(NAME SmoothableTest)

Dominik Thoennes's avatar
Dominik Thoennes committed
526
waLBerla_compile_test(FILES DGCommTest.cpp DEPENDS hyteg core)
527
waLBerla_execute_test(NAME DGCommTest)
Dominik Test2's avatar
Dominik Test2 committed
528

Dominik Thoennes's avatar
Dominik Thoennes committed
529
waLBerla_compile_test(FILES DGEnumerateTest.cpp DEPENDS hyteg core)
530
waLBerla_execute_test(NAME DGEnumerateTest)
531

Dominik Thoennes's avatar
Dominik Thoennes committed
532
waLBerla_compile_test(FILES PrimitiveIDTest.cpp DEPENDS hyteg core)
533
534
waLBerla_execute_test(NAME PrimitiveIDTest)

Dominik Thoennes's avatar
Dominik Thoennes committed
535
waLBerla_compile_test(FILES PrimitiveDataTest.cpp DEPENDS hyteg core)
536
537
waLBerla_execute_test(NAME PrimitiveDataTest)

Dominik Thoennes's avatar
Dominik Thoennes committed
538
waLBerla_compile_test(FILES LevelinfoTest.cpp DEPENDS hyteg core)
539
540
waLBerla_execute_test(NAME LevelinfoTest)

Dominik Thoennes's avatar
Dominik Thoennes committed
541
waLBerla_compile_test(FILES PrimitiveStorageTest.cpp DEPENDS hyteg core)
Nils Kohl's avatar
Nils Kohl committed
542
waLBerla_execute_test(NAME PrimitiveStorageTest1 COMMAND $<TARGET_FILE:PrimitiveStorageTest> )
543
544
waLBerla_execute_test(NAME PrimitiveStorageTest3 COMMAND $<TARGET_FILE:PrimitiveStorageTest> PROCESSES 3 )
waLBerla_execute_test(NAME PrimitiveStorageTest8 COMMAND $<TARGET_FILE:PrimitiveStorageTest> PROCESSES 8 )
545

Dominik Thoennes's avatar
Dominik Thoennes committed
546
waLBerla_compile_test(FILES PrimitiveRelativeOrderingTest.cpp DEPENDS hyteg core)
547
548
waLBerla_execute_test(NAME PrimitiveRelativeOrderingTest)

Dominik Thoennes's avatar
Dominik Thoennes committed
549
waLBerla_compile_test(FILES BufferedCommunicationTest.cpp DEPENDS hyteg core)
Nils Kohl's avatar
Nils Kohl committed
550
waLBerla_execute_test(NAME BufferedCommunicationTest1 COMMAND $<TARGET_FILE:BufferedCommunicationTest> )
551
552
waLBerla_execute_test(NAME BufferedCommunicationTest3 COMMAND $<TARGET_FILE:BufferedCommunicationTest> PROCESSES 3 )
waLBerla_execute_test(NAME BufferedCommunicationTest8 COMMAND $<TARGET_FILE:BufferedCommunicationTest> PROCESSES 8 )
553

554
waLBerla_compile_test(FILES adaptivity/PrimitiveMigrationTest.cpp DEPENDS hyteg core)
Nils Kohl's avatar
Nils Kohl committed
555
waLBerla_execute_test(NAME PrimitiveMigrationTest1 COMMAND $<TARGET_FILE:PrimitiveMigrationTest> )
556
557
waLBerla_execute_test(NAME PrimitiveMigrationTest3 COMMAND $<TARGET_FILE:PrimitiveMigrationTest> PROCESSES 3 )
waLBerla_execute_test(NAME PrimitiveMigrationTest8 COMMAND $<TARGET_FILE:PrimitiveMigrationTest> PROCESSES 8 )
558

559
waLBerla_compile_test(FILES adaptivity/ParallelRoundRobinTest.cpp DEPENDS hyteg core)
560
561
562
563
waLBerla_execute_test(NAME ParallelRoundRobinTest1 COMMAND $<TARGET_FILE:ParallelRoundRobinTest> )
waLBerla_execute_test(NAME ParallelRoundRobinTest3 COMMAND $<TARGET_FILE:ParallelRoundRobinTest> PROCESSES 3 )
waLBerla_execute_test(NAME ParallelRoundRobinTest8 COMMAND $<TARGET_FILE:ParallelRoundRobinTest> PROCESSES 8 )

564
565
566
waLBerla_compile_test(FILES adaptivity/PrimitiveMigrationMatMulTest.cpp DEPENDS hyteg core)
waLBerla_execute_test(NAME PrimitiveMigrationMatMulTest1 COMMAND $<TARGET_FILE:PrimitiveMigrationMatMulTest> )
waLBerla_execute_test(NAME PrimitiveMigrationMatMulTest3 COMMAND $<TARGET_FILE:PrimitiveMigrationMatMulTest> PROCESSES 3 )
567
waLBerla_execute_test(NAME PrimitiveMigrationMatMulTest4 COMMAND $<TARGET_FILE:PrimitiveMigrationMatMulTest> PROCESSES 4 )
568
569
570
571

waLBerla_compile_test(FILES adaptivity/PrimitiveMigrationConvergenceTest.cpp DEPENDS hyteg core)
waLBerla_execute_test(NAME PrimitiveMigrationConvergenceTest1 COMMAND $<TARGET_FILE:PrimitiveMigrationConvergenceTest> )
waLBerla_execute_test(NAME PrimitiveMigrationConvergenceTest3 COMMAND $<TARGET_FILE:PrimitiveMigrationConvergenceTest> PROCESSES 3 )
572
waLBerla_execute_test(NAME PrimitiveMigrationConvergenceTest4 COMMAND $<TARGET_FILE:PrimitiveMigrationConvergenceTest> PROCESSES 4 )
573

Nils Kohl's avatar
Nils Kohl committed
574
575
576
577
578
waLBerla_compile_test(FILES adaptivity/PrimitiveStorageCopyTest.cpp DEPENDS hyteg core)
waLBerla_execute_test(NAME PrimitiveStorageCopyTest1 COMMAND $<TARGET_FILE:PrimitiveStorageCopyTest> )
waLBerla_execute_test(NAME PrimitiveStorageCopyTest3 COMMAND $<TARGET_FILE:PrimitiveStorageCopyTest> PROCESSES 3 )
waLBerla_execute_test(NAME PrimitiveStorageCopyTest8 COMMAND $<TARGET_FILE:PrimitiveStorageCopyTest> PROCESSES 8 )

579
580
581
582
waLBerla_compile_test(FILES adaptivity/AgglomerationMatMulTest.cpp DEPENDS hyteg core)
waLBerla_execute_test(NAME AgglomerationMatMulTest1 COMMAND $<TARGET_FILE:AgglomerationMatMulTest> )
waLBerla_execute_test(NAME AgglomerationMatMulTest2 COMMAND $<TARGET_FILE:AgglomerationMatMulTest> PROCESSES 2 )
waLBerla_execute_test(NAME AgglomerationMatMulTest3 COMMAND $<TARGET_FILE:AgglomerationMatMulTest> PROCESSES 3 )
583
#waLBerla_execute_test(NAME AgglomerationMatMulTest4 COMMAND $<TARGET_FILE:AgglomerationMatMulTest> PROCESSES 4 )
584
585
586
587
588

waLBerla_compile_test(FILES adaptivity/AgglomerationConvergenceTest.cpp DEPENDS hyteg core)
waLBerla_execute_test(NAME AgglomerationConvergenceTest1 COMMAND $<TARGET_FILE:AgglomerationConvergenceTest> )
waLBerla_execute_test(NAME AgglomerationConvergenceTest2 COMMAND $<TARGET_FILE:AgglomerationConvergenceTest> PROCESSES 2 )
waLBerla_execute_test(NAME AgglomerationConvergenceTest3 COMMAND $<TARGET_FILE:AgglomerationConvergenceTest> PROCESSES 3 )
589
#waLBerla_execute_test(NAME AgglomerationConvergenceTest4 COMMAND $<TARGET_FILE:AgglomerationConvergenceTest> PROCESSES 4 )
590

591
592
if( HYTEG_BUILD_WITH_PETSC )
  waLBerla_compile_test(FILES adaptivity/AgglomerationSupermanFactorizationTest.cpp DEPENDS hyteg core)
593
  #waLBerla_execute_test(NAME AgglomerationSupermanFactorizationTest4 COMMAND $<TARGET_FILE:AgglomerationSupermanFactorizationTest> PROCESSES 4 )
594
595
endif()

596
if( WALBERLA_BUILD_WITH_PARMETIS )
597
  waLBerla_compile_test(FILES adaptivity/ParMetisTestHyteg.cpp DEPENDS hyteg core)
Dominik Thoennes's avatar
Dominik Thoennes committed
598
599
600
  waLBerla_execute_test(NAME ParMetisTestHyteg1 COMMAND $<TARGET_FILE:ParMetisTestHyteg> )
  waLBerla_execute_test(NAME ParMetisTestHyteg3 COMMAND $<TARGET_FILE:ParMetisTestHyteg> PROCESSES 3 )
  waLBerla_execute_test(NAME ParMetisTestHyteg8 COMMAND $<TARGET_FILE:ParMetisTestHyteg> PROCESSES 8 )
601
602
endif()

Nils Kohl's avatar
Nils Kohl committed
603
604
605
606
607
608
waLBerla_compile_test(FILES PackageBufferSystemTest.cpp DEPENDS hyteg core)
waLBerla_execute_test(NAME PackageBufferSystemTest1 COMMAND $<TARGET_FILE:PackageBufferSystemTest> )
waLBerla_execute_test(NAME PackageBufferSystemTest2 COMMAND $<TARGET_FILE:PackageBufferSystemTest> PROCESSES 2 )
waLBerla_execute_test(NAME PackageBufferSystemTest3 COMMAND $<TARGET_FILE:PackageBufferSystemTest> PROCESSES 3 )
waLBerla_execute_test(NAME PackageBufferSystemTest4 COMMAND $<TARGET_FILE:PackageBufferSystemTest> PROCESSES 4 )

Dominik Thoennes's avatar
Dominik Thoennes committed
609
waLBerla_compile_test(FILES MeshInfoTest.cpp DEPENDS hyteg core)
Nils Kohl's avatar
Nils Kohl committed
610
waLBerla_execute_test(NAME MeshInfoTest1 COMMAND $<TARGET_FILE:MeshInfoTest> )
611
waLBerla_execute_test(NAME MeshInfoTest2 COMMAND $<TARGET_FILE:MeshInfoTest> PROCESSES 2 )
Dominik Thoennes's avatar
Dominik Thoennes committed
612
waLBerla_compile_test(FILES MeshGenTest.cpp DEPENDS hyteg core)
613
614
waLBerla_execute_test(NAME MeshInfoTest3 COMMAND $<TARGET_FILE:MeshGenTest> )
waLBerla_execute_test(NAME MeshInfoTest4 COMMAND $<TARGET_FILE:MeshGenTest> PROCESSES 2 )
615

616
617
618
619
620
waLBerla_compile_test(FILES FunctionMemoryAllocationTest.cpp DEPENDS hyteg core)
waLBerla_execute_test(NAME FunctionMemoryAllocationTest1 COMMAND $<TARGET_FILE:FunctionMemoryAllocationTest> )
waLBerla_execute_test(NAME FunctionMemoryAllocationTest2 COMMAND $<TARGET_FILE:FunctionMemoryAllocationTest> PROCESSES 2 )
waLBerla_execute_test(NAME FunctionMemoryAllocationTest8 COMMAND $<TARGET_FILE:FunctionMemoryAllocationTest> PROCESSES 8 )

Dominik Thoennes's avatar
Dominik Thoennes committed
621
waLBerla_compile_test(FILES FunctionSpaceDataTypesTest.cpp DEPENDS hyteg core)
622
623
waLBerla_execute_test(NAME FunctionSpaceDataTypesTest1 COMMAND $<TARGET_FILE:FunctionSpaceDataTypesTest> )

Dominik Thoennes's avatar
Dominik Thoennes committed
624
if( HYTEG_BUILD_WITH_PETSC )
Dominik Thoennes's avatar
Dominik Thoennes committed
625
  waLBerla_compile_test(FILES PetscTest.cpp DEPENDS hyteg core)
626
  waLBerla_execute_test(NAME PetscTest COMMAND $<TARGET_FILE:PetscTest> )
627
  waLBerla_execute_test(NAME PetscTest2 COMMAND $<TARGET_FILE:PetscTest> PROCESSES 2 )
628
629
endif()

Dominik Thoennes's avatar
Dominik Thoennes committed
630
waLBerla_compile_test(FILES FunctionIteratorTest.cpp DEPENDS hyteg core)
631
632
633
waLBerla_execute_test(NAME FunctionIteratorTest1 COMMAND $<TARGET_FILE:FunctionIteratorTest> )
waLBerla_execute_test(NAME FunctionIteratorTest2 COMMAND $<TARGET_FILE:FunctionIteratorTest> PROCESSES 2 )
waLBerla_execute_test(NAME FunctionIteratorTest8 COMMAND $<TARGET_FILE:FunctionIteratorTest> PROCESSES 8 )
634

Dominik Thoennes's avatar
Dominik Thoennes committed
635
waLBerla_compile_test(FILES FunctionMemorySerializationTest.cpp DEPENDS hyteg core)
636
637
waLBerla_execute_test(NAME FunctionMemorySerializationTest1 COMMAND $<TARGET_FILE:FunctionMemorySerializationTest> )
waLBerla_execute_test(NAME FunctionMemorySerializationTest2 COMMAND $<TARGET_FILE:FunctionMemorySerializationTest> PROCESSES 2 )
638
waLBerla_execute_test(NAME FunctionMemorySerializationTest8 COMMAND $<TARGET_FILE:FunctionMemorySerializationTest> PROCESSES 8 )
Daniel Drzisga's avatar
Daniel Drzisga committed
639

640
641
waLBerla_compile_test(FILES blending/AnnulusMapTest.cpp DEPENDS hyteg core)
waLBerla_execute_test(NAME AnnulusMapTest1 COMMAND $<TARGET_FILE:AnnulusMapTest> )
642

643
644
645
waLBerla_compile_test(FILES blending/IcosahedralShellMapTest.cpp DEPENDS hyteg core)
waLBerla_execute_test(NAME IcosahedralShellMapTest COMMAND $<TARGET_FILE:IcosahedralShellMapTest> )

646
waLBerla_compile_test(FILES blending/AffineMap3DTest.cpp DEPENDS hyteg core)
647
if(NOT CMAKE_BUILD_TYPE STREQUAL "Debug")
648
649
  waLBerla_execute_test(NAME AffineMap3DTest1 COMMAND $<TARGET_FILE:AffineMap3DTest> )
endif()
650

651
if(NOT CMAKE_BUILD_TYPE STREQUAL "Debug")
652
  if(NOT WALBERLA_CXX_COMPILER_IS_INTEL)
653
654
  waLBerla_compile_test(FILES blending/P2P1StokesElementwiseAnnulusBlendingTest.cpp DEPENDS hyteg core)
  waLBerla_execute_test(NAME P2P1StokesElementwiseAnnulusBlendingTest COMMAND   $<TARGET_FILE:P2P1StokesElementwiseAnnulusBlendingTest> )
655
  endif()
656
657
endif()

658
659
660
waLBerla_compile_test(FILES blending/TokamakMapTest.cpp DEPENDS hyteg core)
waLBerla_execute_test(NAME TokamakMapTest)

661
662
663
waLBerla_compile_test(FILES blending/PolygonDistanceTest.cpp DEPENDS hyteg core)
waLBerla_execute_test(NAME PolygonDistanceTest )

664
665
666
## Elementwise Operators ##
if( HYTEG_BUILD_WITH_PETSC )
  waLBerla_compile_test(FILES operators/ElementwiseOperatorPetscTest.cpp DEPENDS hyteg core)
Marcus Mohr's avatar
Marcus Mohr committed
667
668
  waLBerla_execute_test(NAME ElementwiseOperatorPetscTest COMMAND $<TARGET_FILE:ElementwiseOperatorPetscTest> )
  waLBerla_execute_test(NAME ElementwiseOperatorPetscTest2 COMMAND $<TARGET_FILE:ElementwiseOperatorPetscTest> PROCESSES 2 )
669
670
671
endif()


672
# Test some basic auxiliary stuff for application layer
Dominik Thoennes's avatar
Dominik Thoennes committed
673
waLBerla_compile_test(FILES FindMaxMinMagTest.cpp DEPENDS hyteg core)
674
675
waLBerla_execute_test(NAME FindMaxMinMagTest1 COMMAND $<TARGET_FILE:FindMaxMinMagTest> )
waLBerla_execute_test(NAME FindMaxMinMagTest2 COMMAND $<TARGET_FILE:FindMaxMinMagTest> PROCESSES 2 )
676

Dominik Thoennes's avatar
Dominik Thoennes committed
677
waLBerla_compile_test(FILES FunctionPropertiesTest.cpp DEPENDS hyteg core)
678
679
waLBerla_execute_test(NAME FunctionPropertiesTest)

680
681
682
waLBerla_compile_test(FILES FunctionMultElementwiseTest.cpp DEPENDS hyteg core)
waLBerla_execute_test(NAME FunctionMultElementwiseTest)

683
684
685
686
687
688
## numeric tools ##
if( HYTEG_BUILD_WITH_EIGEN )
waLBerla_compile_test(FILES numerictools/SpectrumEstimationTest.cpp DEPENDS hyteg core)
waLBerla_execute_test(NAME SpectrumEstimationTest )
waLBerla_execute_test(NAME SpectrumEstimationTestMPI COMMAND $<TARGET_FILE:SpectrumEstimationTest> PROCESSES 3 )
endif()
689

690
691
692
693
## Form Evaluation ##
waLBerla_compile_test(FILES forms/HytegVsFenicsFormTest.cpp DEPENDS hyteg core)
waLBerla_execute_test(NAME HytegVsFenicsFormTest )

694
695
696
waLBerla_compile_test(FILES forms/SingleRowIntegrationTest.cpp DEPENDS hyteg core)
waLBerla_execute_test(NAME SingleRowIntegrationTest )

697
698
699
700
## Floating point exceptions ##
waLBerla_compile_test(FILES fpe/invertElementwiseTest.cpp DEPENDS hyteg core)
waLBerla_execute_test(NAME invertElementwiseTest )
waLBerla_execute_test(NAME invertElementwiseTestMPI COMMAND $<TARGET_FILE:invertElementwiseTest> PROCESSES 3 )
701
702
703
704

waLBerla_compile_test(FILES fpe/CircularMapFPETest.cpp DEPENDS hyteg core)
waLBerla_execute_test(NAME CircularMapFPETest)
waLBerla_execute_test(NAME CircularMapFPETestMPI COMMAND $<TARGET_FILE:CircularMapFPETest> PROCESSES 2 )
705

706
## Free slip ##
Nils Kohl's avatar
Nils Kohl committed
707
708
709
710
if( HYTEG_BUILD_WITH_PETSC )
  waLBerla_compile_test(FILES freeslip/FreeslipPetscApplyTest.cpp DEPENDS hyteg core)
  waLBerla_execute_test(NAME FreeslipPetscApplyTest)
endif()
711

712
713
714
715
waLBerla_compile_test(FILES freeslip/FreeslipRectangularChannelTest.cpp DEPENDS hyteg core)
waLBerla_execute_test(NAME FreeslipRectangularChannelTest)
waLBerla_execute_test(NAME FreeslipRectangularChannelTestMPI COMMAND $<TARGET_FILE:FreeslipRectangularChannelTest> PROCESSES 2 )

716
717
718
waLBerla_compile_test(FILES freeslip/ProjectNormalTest.cpp DEPENDS hyteg core)
waLBerla_execute_test(NAME ProjectNormalTest)
waLBerla_execute_test(NAME ProjectNormalTestMPI COMMAND $<TARGET_FILE:ProjectNormalTest> PROCESSES 2 )
719

720
## Trilinos ##
721
if ( HYTEG_BUILD_WITH_TRILINOS )
Nils Kohl's avatar
Nils Kohl committed
722
waLBerla_compile_test(FILES trilinos/TrilinosVersionTest.cpp DEPENDS hyteg core)
723
724
waLBerla_execute_test(NAME TrilinosVersionTest)

725
726
727
waLBerla_compile_test(FILES trilinos/TrilinosVectorTest.cpp DEPENDS hyteg core)
waLBerla_execute_test(NAME TrilinosVectorTest)

728
729
waLBerla_compile_test(FILES trilinos/TrilinosSparseMatrixTest.cpp DEPENDS hyteg core)
waLBerla_execute_test(NAME TrilinosSparseMatrixTest)
730
731
732

waLBerla_compile_test(FILES trilinos/TrilinosDirectSolverTest.cpp DEPENDS hyteg core)
waLBerla_execute_test(NAME TrilinosDirectSolverTest)
Marcus Mohr's avatar
Marcus Mohr committed
733
endif()
734
735

waLBerla_compile_test(FILES meshes/TokamakLaplaceTest.cpp DEPENDS hyteg core)
736
737
if(NOT CMAKE_BUILD_TYPE STREQUAL "Debug")
  waLBerla_execute_test(NAME TokamakLaplaceTest)
738
  waLBerla_execute_test(NAME TokamakLaplaceTestLongrun COMMAND $<TARGET_FILE:TokamakLaplaceTest> --longrun LABELS longrun)
Marcus Mohr's avatar
Marcus Mohr committed
739
740
741
742
743
endif()

## BoundaryUID stuff ##
waLBerla_compile_test(FILES boundaryUID/BoundaryUIDTest.cpp DEPENDS hyteg core)
waLBerla_execute_test(NAME BoundaryUIDTest)
744

745
## BlockFunctions + BlockOperators ##
746
747
waLBerla_compile_test(FILES BlockFunctions/FunctionWrapperTest.cpp DEPENDS hyteg core)
waLBerla_execute_test(NAME FunctionWrapperTest)
748
749
750
751
waLBerla_execute_test(NAME FunctionWrapperTestMPI COMMAND $<TARGET_FILE:FunctionWrapperTest> PROCESSES 2 )

waLBerla_compile_test(FILES BlockFunctions/BlockFunctionBasicTest.cpp DEPENDS hyteg core)
waLBerla_execute_test(NAME BlockFunctionBasicTest)
752
753
754
755
756
757

waLBerla_compile_test(FILES operators/OperatorWrapperBasicTest.cpp DEPENDS hyteg core)
waLBerla_execute_test(NAME OperatorWrapperBasicTest)

waLBerla_compile_test(FILES operators/BlockOperatorBasicTest.cpp DEPENDS hyteg core)
waLBerla_execute_test(NAME BlockOperatorBasicTest)
758
759
760

waLBerla_compile_test(FILES operators/BlockOperatorGSSmoothableTest.cpp DEPENDS hyteg core)
waLBerla_execute_test(NAME BlockOperatorGSSmoothableTest)