-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCMakeLists.txt
1347 lines (1045 loc) · 61.3 KB
/
CMakeLists.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
# ========================================================
# ==================== CMake =============================
# ========================================================
cmake_minimum_required (VERSION 2.6)
project (cupcfd LANGUAGES Fortran CXX C)
#enable_testing()
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake/Modules/")
# ====================================================================================================================================
# The following sections can be edited if desired for build configuration purposes.
# ====================================================================================================================================
# ====================================================================================================================================
# ====================================================== Build Config ================================================================
# ====================================================================================================================================
# ======================================
# ======= Set Program Version ==========
# ======================================
# Version Number
set (cupcfd_VERSION_MAJOR 1)
set (cupcfd_VERSION_MINOR 0)
# ========================================
# ==== Override Header Defined Values ====
# ========================================
# Pad/Increase the size of the CupCfdAoSMeshBoundary class in an AoS Mesh beyond that of the required values
# This is to measure the impact of the class size in an AoS setting.
# CUPCFD_AOS_MESH_BOUNDARY_PADDING
# Pad/Increase the size of the CupCfdAoSMeshCell class in an AoS Mesh beyond that of the required values
# This is to measure the impact of the class size in an AoS setting.
# CUPCFD_AOS_MESH_CELL_PADDING
# Pad/Increase the size of the CupCfdAoSMeshFace class in an AoS Mesh beyond that of the required values
# This is to measure the impact of the class size in an AoS setting.
# CUPCFD_AOS_MESH_FACE_PADDING
# Pad/Increase the size of the CupCfdAoSMeshRegion class in an AoS Mesh beyond that of the required values
# This is to measure the impact of the class size in an AoS setting.
# CUPCFD_AOS_MESH_REGION_PADDING
# Pad/Increase the size of the CupCfdAoSMeshVertex class in an AoS Mesh beyond that of the required values
# This is to measure the impact of the class size in an AoS setting.
# CUPCFD_AOS_MESH_VERTEX_PADDING
# ======================================
# ======== Set Compile Flags ===========
# ======================================
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_CXX_EXTENSIONS OFF)
# Use the default CXX compiler if the user hasn't set a COMPILER option
if (NOT DEFINED ${COMPILER} OR ${COMPILER} STREQUAL "")
string(TOLOWER ${CMAKE_CXX_COMPILER_ID} COMPILER)
endif()
if ( "${CMAKE_BUILD_TYPE}" STREQUAL "Debug" )
if("${COMPILER}" STREQUAL "intel")
set(CMAKE_CXX_FLAGS "-DDEBUG -O0 -g -pg -mkl")
elseif ("${COMPILER}" STREQUAL "clang")
#set(CMAKE_CXX_FLAGS "-DDEBUG -O0 -g -pg -Wfatal-errors -Wunused -Wno-narrowing -Wno-undefined-var-template -Wno-delete-abstract-non-virtual-dtor -Wno-pointer-bool-conversion -Wno-dynamic-class-memaccess -Werror")
#set(CMAKE_CXX_FLAGS "-DDEBUG -O0 -g -pg -Wfatal-errors -Wunused -Wextra -Wno-narrowing -Wno-undefined-var-template -Wno-delete-abstract-non-virtual-dtor -Wno-pointer-bool-conversion -Wno-dynamic-class-memaccess -Werror")
#set(CMAKE_CXX_FLAGS "-DDEBUG -O0 -g -pg -Wfatal-errors -Wall -Wextra -Wunused -Werror")
#set(CMAKE_CXX_FLAGS "-DDEBUG -O0 -g -pg -Wfatal-errors -Weverything -Werror")
set(CMAKE_CXX_FLAGS "-DDEBUG -O0 -g -pg -Wfatal-errors -Wunused -Wunused-value -Wunused-parameter -Wunused-variable -Werror")
elseif ("${COMPILER}" STREQUAL "gnu")
#set(CMAKE_CXX_FLAGS "-DDEBUG -O0 -g -pg -Wfatal-errors -Werror -Wno-narrowing")
#set(CMAKE_CXX_FLAGS "-DDEBUG -O0 -g -pg -Wfatal-errors -Werror -Wno-narrowing -Wunused")
set(CMAKE_CXX_FLAGS "-DDEBUG -O0 -g -pg -Wfatal-errors -Werror -Wno-narrowing -Wunused -Wextra")
if (CMAKE_CXX_COMPILER_VERSION VERSION_GREATER 9)
# Using GCC 10.3.0 on CI and many things are currently erroring!
# Also DOMPI_SKIP_MPICXX must be set when using OpenMPI and not wanting CXX bindings (as on CI runner)
set(CMAKE_CXX_FLAGS "-DDEBUG -O0 -g -pg -Wfatal-errors -Werror -Wno-narrowing -Wunused -Wextra -DOMPI_SKIP_MPICXX -Wno-error=deprecated-copy -Wno-error=maybe-uninitialized -Wno-error=extra -Wno-error=unused-but-set-variable -fpermissive -Wno-error=sign-compare -Wno-error=deprecated-declarations")
endif()
else()
message(FATAL_ERROR "Unrecognised value for COMPILER - '${COMPILER}'" )
endif()
elseif ( "${CMAKE_BUILD_TYPE}" STREQUAL "Release" )
if("${COMPILER}" STREQUAL "intel")
set(CMAKE_CXX_FLAGS "-O2 -g -mkl")
elseif ("${COMPILER}" STREQUAL "clang")
set(CMAKE_CXX_FLAGS "-O2 -g -Wfatal-errors")
elseif ("${COMPILER}" STREQUAL "gnu")
set(CMAKE_CXX_FLAGS "-O2 -g -Wfatal-errors")
else()
message(FATAL_ERROR "Unrecognised value for COMPILER - '${COMPILER}'" )
endif()
else()
message(FATAL_ERROR "Unrecognised value for CMAKE_BUILD_TYPE - '${CMAKE_BUILD_TYPE}'" )
endif()
# ====================================================================================================================================
# ====================================================== Options =====================================================================
# ====================================================================================================================================
# === File Input/Output Options ===
option(USE_HDF5 "Enable HDF5 input/output" ON)
# Needs HDF5_ROOT
# === Partitioning Options ===
option(USE_METIS "Enable METIS Partioning" ON)
# Needs METIS_ROOT
option(USE_PARMETIS "Enable ParMETIS Partitioning" ON)
# Needs PARMETIS_ROOT
option(USE_PTSCOTCH "Enable PTScotch Partitioning" OFF)
# Needs PTSCOTCH_ROOT
# === Linear Solver Options ===
option(USE_PETSC "Enable use of PETSc Linear Solver" ON)
# Needs PETSC_ROOT
# === Build Options (Testing etc) ===
# option (USE_UNIT_TESTS "Enable Unit Tests" ON)
# Needs an MPI run command for parallel tests
# ToDo - Enable Serial and Parallel Unit Tests separately
find_program(SRUN "srun")
if(SRUN)
set(MPIRUN_EXEC srun)
else()
find_program(MPIRUN "mpirun")
if (MPIRUN)
set(MPIRUN_EXEC mpirun)
endif()
endif()
# ====================================================================================================================================
# ================================================= External Libraries ===============================================================
# ====================================================================================================================================
cmake_policy(SET CMP0074 NEW)
find_package(MPI REQUIRED COMPONENTS Fortran)
# === File Input/Output Options ===
if(USE_HDF5)
set(HDF5_USE_STATIC_LIBRARIES 1)
set(HDF5_PREFER_PARALLEL 1)
find_package(HDF5 REQUIRED)
endif(USE_HDF5)
# === Partitioning Options ===
if(USE_METIS)
find_package(METIS REQUIRED)
endif(USE_METIS)
if(USE_PARMETIS)
find_package(PARMETIS REQUIRED)
endif(USE_PARMETIS)
# === Linear Solver Options ===
if(USE_PETSC)
find_package(PETSC REQUIRED)
endif(USE_PETSC)
# === Timer Library ===
# Currently default to always needing this
# Should set via CMake Line but can be set here if needed
#set(SQLITE_LIBS /path/to/sqlite3/lib/libsqlite3.so)
#set(TREETIMER_LIBS /path/to/warwick-hpsc/treetimer/libtt.so)
#set(TREETIMER_INCLUDE /path/to/warwick-hpscetreetimer/include/timing_library/interface)
# ====================================================================================================================================
# ============================================== Third-Party Libraries ===============================================================
# ====================================================================================================================================
# === File Input/Output Options ===
if(USE_HDF5)
include_directories(${HDF5_INCLUDE_DIRS})
#set(CORE_INCLUDE ${CORE_INCLUDE} ${HDF5_INCLUDE_DIRS})
endif(USE_HDF5)
# === Partitioning Options ===
if(USE_METIS)
#include_directories(${METIS_INCLUDE_DIRS})
set(CORE_INCLUDE ${CORE_INCLUDE} ${METIS_INCLUDE_DIRS})
endif(USE_METIS)
if(USE_PARMETIS)
#include_directories(${PARMETIS_INCLUDE_DIRS})
set(CORE_INCLUDE ${CORE_INCLUDE} ${PARMETIS_INCLUDE_DIRS})
endif(USE_PARMETIS)
# === Linear Solver Options ===
if(USE_PETSC)
include_directories(${PETSC_INCLUDE_DIRS})
#set(CORE_INCLUDE ${CORE_INCLUDE} ${PETSC_INCLUDE_DIRS})
endif(USE_PETSC)
# === Timer Library Include ===
set(CORE_INCLUDE ${CORE_INCLUDE} ${TREETIMER_INCLUDE})
# ====================================================================================================================================
# The following sections should not be edited if only configuring for build purposes.
# ====================================================================================================================================
# ====================================================================================================================================
# ================================================= Internal Includes ================================================================
# ====================================================================================================================================
set(CORE_INCLUDE ${CORE_INCLUDE} ${PROJECT_BINARY_DIR}/src)
# ===================================================
# ================== Utility ========================
# Files pertaining to common functionality across multiple categories
# E.g. array manipulation etc
# ===================================================
set(CORE_INCLUDE ${CORE_INCLUDE} include/utility/implementation/component)
set(CORE_INCLUDE ${CORE_INCLUDE} include/utility/interface/component)
# ===================================================
# =============== Error Handling ====================
# ===================================================
# Currently this is just a header of error codes
# ===================================================
set(CORE_INCLUDE ${CORE_INCLUDE} include/error)
# ===================================================
# =============== Configuration =====================
# ===================================================
#set(CORE_INCLUDE ${CORE_INCLUDE} include/config/cmake)
#set(CORE_INCLUDE ${CORE_INCLUDE} include/config/run)
# ===================================================
# ============== Network Communication ==============
# ===================================================
# Files that pertain to network communication during
# computationE.g. MPI operations, interfaces
# =================================
set(CORE_INCLUDE ${CORE_INCLUDE} include/comm/implementation/component)
set(CORE_INCLUDE ${CORE_INCLUDE} include/comm/implementation/config)
set(CORE_INCLUDE ${CORE_INCLUDE} include/comm/implementation/source)
set(CORE_INCLUDE ${CORE_INCLUDE} include/comm/interface/component)
set(CORE_INCLUDE ${CORE_INCLUDE} include/comm/interface/config)
set(CORE_INCLUDE ${CORE_INCLUDE} include/comm/interface/source)
# ===================================================
# ================= Distributions ===================
# ===================================================
# Files pertaining to generating values from
# probabilistic distributions
# ===================================================
set(CORE_INCLUDE ${CORE_INCLUDE} include/distributions/implementation/component)
set(CORE_INCLUDE ${CORE_INCLUDE} include/distributions/implementation/config)
set(CORE_INCLUDE ${CORE_INCLUDE} include/distributions/implementation/source)
set(CORE_INCLUDE ${CORE_INCLUDE} include/distributions/interface/component)
set(CORE_INCLUDE ${CORE_INCLUDE} include/distributions/interface/config)
set(CORE_INCLUDE ${CORE_INCLUDE} include/distributions/interface/source)
# ===================================================
# ================ Data Structures ==================
# ===================================================
# Abstract Data Structures
# ===================================================
set(CORE_INCLUDE ${CORE_INCLUDE} include/data_structures/implementation/component)
set(CORE_INCLUDE ${CORE_INCLUDE} include/data_structures/implementation/config)
set(CORE_INCLUDE ${CORE_INCLUDE} include/data_structures/implementation/source)
set(CORE_INCLUDE ${CORE_INCLUDE} include/data_structures/interface/component)
set(CORE_INCLUDE ${CORE_INCLUDE} include/data_structures/interface/config)
set(CORE_INCLUDE ${CORE_INCLUDE} include/data_structures/interface/source)
# ===================================================
# ================ I/O (Interfaces) =================
# ===================================================
# Files that pertain to generic I/O operations
# I.e. manage I/O output but are generic in some way
# ===================================================
set(CORE_INCLUDE ${CORE_INCLUDE} include/io/implementation/component)
# ===================================================
# =================== Geometry ======================
# ===================================================
# Files that pertain to simulation geometry
# E.g. Mesh data structures, Euclidean space etc.
# ===================================================
# ======== Euclidean Base Geometry (Point, Vectors) ========
set(CORE_INCLUDE ${CORE_INCLUDE} include/geometry/euclidean/implementation/component)
# ======== Mesh Geometry ========
set(CORE_INCLUDE ${CORE_INCLUDE} include/geometry/mesh/implementation/component)
set(CORE_INCLUDE ${CORE_INCLUDE} include/geometry/mesh/implementation/config)
set(CORE_INCLUDE ${CORE_INCLUDE} include/geometry/mesh/implementation/source)
set(CORE_INCLUDE ${CORE_INCLUDE} include/geometry/mesh/interface/component)
set(CORE_INCLUDE ${CORE_INCLUDE} include/geometry/mesh/interface/config)
set(CORE_INCLUDE ${CORE_INCLUDE} include/geometry/mesh/interface/source)
# ======== Shapes (2D, 3D) ========
set(CORE_INCLUDE ${CORE_INCLUDE} include/geometry/shapes/implementation/component)
set(CORE_INCLUDE ${CORE_INCLUDE} include/geometry/shapes/implementation/config)
set(CORE_INCLUDE ${CORE_INCLUDE} include/geometry/shapes/implementation/source)
set(CORE_INCLUDE ${CORE_INCLUDE} include/geometry/shapes/interface/component)
set(CORE_INCLUDE ${CORE_INCLUDE} include/geometry/shapes/interface/config)
set(CORE_INCLUDE ${CORE_INCLUDE} include/geometry/shapes/interface/source)
# ===================================================
# =================== Data ==========================
# ===================================================
# Files that pertain to accessing data from
# non-internal sources (e.g. file I/O, command line
# rather than data structures)
# ===================================================
# ===================================================
# ============= Finite Volume Method ================
# ===================================================
# Files that pertain to finite volume computation
# ===================================================
#set(CORE_INCLUDE ${CORE_INCLUDE} include/fvm/gradient)
#set(CORE_INCLUDE ${CORE_INCLUDE} include/fvm/mass)
#set(CORE_INCLUDE ${CORE_INCLUDE} include/fvm/scalar)
#set(CORE_INCLUDE ${CORE_INCLUDE} include/fvm/uvw)
#set(CORE_INCLUDE ${CORE_INCLUDE} include/fvm/viscosity)
set(CORE_INCLUDE ${CORE_INCLUDE} include/fvm/implementation/component)
# ===================================================
# ================= Partitioners ====================
# ===================================================
# Files that pertain to graph partitioning
# ===================================================
set(CORE_INCLUDE ${CORE_INCLUDE} include/partitioner/implementation/component)
set(CORE_INCLUDE ${CORE_INCLUDE} include/partitioner/implementation/config)
set(CORE_INCLUDE ${CORE_INCLUDE} include/partitioner/implementation/source)
set(CORE_INCLUDE ${CORE_INCLUDE} include/partitioner/interface/component)
set(CORE_INCLUDE ${CORE_INCLUDE} include/partitioner/interface/config)
set(CORE_INCLUDE ${CORE_INCLUDE} include/partitioner/interface/source)
# ===================================================
# ================ Linear Solvers ===================
# ===================================================
# Files that pertain to the use of linear solvers
# ===================================================
set(CORE_INCLUDE ${CORE_INCLUDE} include/linearsolvers/implementation/component)
set(CORE_INCLUDE ${CORE_INCLUDE} include/linearsolvers/implementation/config)
set(CORE_INCLUDE ${CORE_INCLUDE} include/linearsolvers/implementation/source)
set(CORE_INCLUDE ${CORE_INCLUDE} include/linearsolvers/interface/component)
set(CORE_INCLUDE ${CORE_INCLUDE} include/linearsolvers/interface/config)
set(CORE_INCLUDE ${CORE_INCLUDE} include/linearsolvers/interface/source)
# ===================================================
# =============== Particle Systems ==================
# ===================================================
# Files that pertain to particle systems
# ===================================================
set(CORE_INCLUDE ${CORE_INCLUDE} include/particles/implementation/component)
set(CORE_INCLUDE ${CORE_INCLUDE} include/particles/implementation/config)
set(CORE_INCLUDE ${CORE_INCLUDE} include/particles/implementation/source)
set(CORE_INCLUDE ${CORE_INCLUDE} include/particles/interface/component)
set(CORE_INCLUDE ${CORE_INCLUDE} include/particles/interface/config)
set(CORE_INCLUDE ${CORE_INCLUDE} include/particles/interface/source)
# ===================================================
# ================= Benchmarks ======================
# ===================================================
# Files pertaining to running benchmarks
# ===================================================
set(CORE_INCLUDE ${CORE_INCLUDE} include/benchmarks/interface/component)
set(CORE_INCLUDE ${CORE_INCLUDE} include/benchmarks/interface/config)
set(CORE_INCLUDE ${CORE_INCLUDE} include/benchmarks/interface/source)
set(CORE_INCLUDE ${CORE_INCLUDE} include/benchmarks/implementation/component)
set(CORE_INCLUDE ${CORE_INCLUDE} include/benchmarks/implementation/config)
set(CORE_INCLUDE ${CORE_INCLUDE} include/benchmarks/implementation/source)
# ===================================================
# ================== Structure ======================
# ===================================================
set(CORE_INCLUDE ${CORE_INCLUDE} include/structure/interface/component)
set(CORE_INCLUDE ${CORE_INCLUDE} include/structure/interface/config)
set(CORE_INCLUDE ${CORE_INCLUDE} include/structure/interface/source)
set(CORE_INCLUDE ${CORE_INCLUDE} include/structure/implementation/component)
set(CORE_INCLUDE ${CORE_INCLUDE} include/structure/implementation/config)
set(CORE_INCLUDE ${CORE_INCLUDE} include/structure/implementation/source)
# Include selected headers
include_directories(${CORE_INCLUDE})
# ====================================================================================================================================
# ================================================= Internal Source Files ============================================================
# ====================================================================================================================================
# ===================================================
# ================== Utility ========================
# ===================================================
# All functionality currently in header/tpp files
set(utility_source_files
)
# ===================================================
# =============== Configuration =====================
# ===================================================
set(config_source_files
# src/config/cmake/BuildConfig.cpp
)
# ===================================================
# ============== Network Communication ==============
# ===================================================
set(comm_source_files
src/comm/interface/component/CustomMPIType.cpp
src/comm/implementation/component/MPIUtility.cpp
src/comm/interface/component/ExchangePattern.cpp
src/comm/implementation/component/ExchangePatternOneSidedNonBlocking.cpp
src/comm/implementation/component/ExchangePatternTwoSidedNonBlocking.cpp
src/comm/implementation/config/ExchangePatternConfig.cpp
src/comm/interface/source/ExchangePatternConfigSource.cpp
src/comm/implementation/source/ExchangePatternConfigSourceJSON.cpp
src/comm/interface/component/Communicator.cpp
)
# ===================================================
# ================= Distributions ===================
# ===================================================
set(distributions_source_files
src/distributions/interface/component/Distribution.cpp
src/distributions/implementation/component/DistributionUniform.cpp
src/distributions/implementation/component/DistributionNormal.cpp
src/distributions/implementation/component/DistributionFixed.cpp
)
# ===================================================
# ================ Data Structures ==================
# ===================================================
set(data_structures_source_files
src/data_structures/interface/component/AdjacencyList.cpp
src/data_structures/interface/component/SparseMatrix.cpp
src/data_structures/interface/config/SparseMatrixSourceConfig.cpp
src/data_structures/interface/source/SparseMatrixSource.cpp
src/data_structures/interface/source/SparseMatrixSourceConfigSource.cpp
src/data_structures/interface/source/SparseMatrixSourceFileConfigSource.cpp
src/data_structures/interface/source/SparseMatrixSourceMeshGenConfigSource.cpp
src/data_structures/interface/config/VectorSourceConfig.cpp
src/data_structures/interface/source/VectorSource.cpp
src/data_structures/interface/source/VectorSourceConfigSource.cpp
src/data_structures/implementation/component/AdjacencyListCSR.cpp
src/data_structures/implementation/component/AdjacencyListVector.cpp
src/data_structures/implementation/component/DistributedAdjacencyList.cpp
src/data_structures/implementation/component/SparseMatrixCOO.cpp
src/data_structures/implementation/component/SparseMatrixCSR.cpp
src/data_structures/implementation/config/SparseMatrixSourceFileConfig.cpp
src/data_structures/implementation/config/SparseMatrixSourceMeshGenConfig.cpp
src/data_structures/implementation/source/SparseMatrixSourceHDF5.cpp
src/data_structures/implementation/source/SparseMatrixSourceMeshGen.cpp
src/data_structures/implementation/source/SparseMatrixSourceFileConfigJSON.cpp
src/data_structures/implementation/source/SparseMatrixSourceMeshGenConfigJSON.cpp
src/data_structures/implementation/config/VectorSourceFileConfig.cpp
src/data_structures/implementation/source/VectorSourceHDF5.cpp
src/data_structures/implementation/source/VectorSourceFileConfigJSON.cpp
)
# ===================================================
# ================ I/O (Interfaces) =================
# ===================================================
set(io_source_files
src/io/implementation/component/CommandLine.cpp
src/io/implementation/component/jsoncpp.cpp
)
if(USE_HDF5)
set(io_source_files
${io_source_files}
src/io/implementation/component/HDF5Access.cpp
src/io/implementation/component/HDF5Properties.cpp
src/io/implementation/component/HDF5Record.cpp
)
endif(USE_HDF5)
# ===================================================
# =================== Geometry ======================
# ===================================================
set(geometry_source_files
src/geometry/euclidean/implementation/component/EuclideanPoint.cpp
src/geometry/euclidean/implementation/component/EuclideanVector.cpp
src/geometry/euclidean/implementation/component/EuclideanVector2D.cpp
src/geometry/euclidean/implementation/component/EuclideanVector3D.cpp
src/geometry/euclidean/implementation/component/LineSegment3D.cpp
src/geometry/euclidean/implementation/component/Matrix.cpp
src/geometry/euclidean/implementation/component/EuclideanPlane3D.cpp
src/geometry/mesh/interface/component/UnstructuredMeshProperties.cpp
src/geometry/mesh/interface/component/UnstructuredMeshInterface.cpp
src/geometry/mesh/interface/config/MeshSourceConfig.cpp
src/geometry/mesh/interface/source/MeshSource.cpp
src/geometry/mesh/interface/source/MeshSourceConfigSource.cpp
src/geometry/mesh/implementation/component/CupCfdAoSMeshBoundary.cpp
src/geometry/mesh/implementation/component/CupCfdAoSMeshCell.cpp
src/geometry/mesh/implementation/component/CupCfdAoSMeshFace.cpp
src/geometry/mesh/implementation/component/CupCfdAoSMeshRegion.cpp
src/geometry/mesh/implementation/component/CupCfdAoSMeshVertex.cpp
src/geometry/mesh/implementation/component/CupCfdAoSMesh.cpp
src/geometry/mesh/implementation/component/CupCfdSoAMesh.cpp
src/geometry/mesh/implementation/config/MeshSourceFileConfig.cpp
src/geometry/mesh/implementation/config/MeshSourceStructGenConfig.cpp
src/geometry/mesh/implementation/config/MeshConfig.cpp
src/geometry/mesh/implementation/source/MeshHDF5Source.cpp
src/geometry/mesh/implementation/source/MeshStructGenSource.cpp
src/geometry/mesh/implementation/source/MeshSourceFileConfigJSON.cpp
src/geometry/mesh/implementation/source/MeshSourceStructGenConfigJSON.cpp
src/geometry/mesh/implementation/source/MeshConfigSourceJSON.cpp
src/geometry/shapes/interface/component/Polygon.cpp
src/geometry/shapes/interface/component/Polygon2D.cpp
src/geometry/shapes/interface/component/Polygon3D.cpp
src/geometry/shapes/implementation/component/Triangle.cpp
src/geometry/shapes/implementation/component/Triangle2D.cpp
src/geometry/shapes/implementation/component/Triangle3D.cpp
src/geometry/shapes/implementation/component/Quadrilateral3D.cpp
src/geometry/shapes/interface/component/Polyhedron.cpp
src/geometry/shapes/implementation/component/Pyramid.cpp
src/geometry/shapes/implementation/component/Tetrahedron.cpp
src/geometry/shapes/implementation/component/QuadPyramid.cpp
src/geometry/shapes/implementation/component/Hexahedron.cpp
src/geometry/shapes/implementation/component/TriPrism.cpp
)
# ===================================================
# ============= Finite Volume Method ================
# ===================================================
set(fvm_source_files
# Kernel definitions are currently all in .ipp header definition files
)
# ===================================================
# ================= Partitioners ====================
# ===================================================
set(partitioner_source_files
src/partitioner/interface/component/PartitionerInterface.cpp
src/partitioner/interface/config/PartitionerConfig.cpp
src/partitioner/interface/source/PartitionerConfigSource.cpp
src/partitioner/interface/source/PartitionerNaiveConfigSource.cpp
src/partitioner/implementation/component/PartitionerNaive.cpp
src/partitioner/implementation/config/PartitionerNaiveConfig.cpp
src/partitioner/implementation/source/PartitionerNaiveConfigSourceJSON.cpp
)
if(USE_PARMETIS)
set(partitioner_source_files
${partitioner_source_files}
src/partitioner/interface/source/PartitionerParmetisConfigSource.cpp
src/partitioner/interface/source/PartitionerMetisConfigSource.cpp
src/partitioner/implementation/component/PartitionerMetis.cpp
src/partitioner/implementation/component/PartitionerParmetis.cpp
src/partitioner/implementation/config/PartitionerMetisConfig.cpp
src/partitioner/implementation/config/PartitionerParmetisConfig.cpp
src/partitioner/implementation/source/PartitionerParmetisConfigSourceJSON.cpp
src/partitioner/implementation/source/PartitionerMetisConfigSourceJSON.cpp
)
elseif(USE_METIS)
set(partitioner_source_files
${partitioner_source_files}
src/partitioner/interface/source/PartitionerMetisConfigSource.cpp
src/partitioner/implementation/component/PartitionerMetis.cpp
src/partitioner/implementation/config/PartitionerMetisConfig.cpp
src/partitioner/implementation/source/PartitionerMetisConfigSourceJSON.cpp
)
endif(USE_PARMETIS)
# ===================================================
# ================ Linear Solvers ===================
# ===================================================
set(linearsolver_source_files
src/linearsolvers/interface/component/LinearSolverInterface.cpp
src/linearsolvers/interface/config/LinearSolverConfig.cpp
src/linearsolvers/interface/source/LinearSolverConfigSource.cpp
)
if(USE_PETSC)
set(linearsolver_source_files
${linearsolver_source_files}
src/linearsolvers/implementation/component/LinearSolverPETScAlgorithm.cpp
src/linearsolvers/implementation/component/LinearSolverPETSc.cpp
src/linearsolvers/implementation/config/LinearSolverConfigPETSc.cpp
src/linearsolvers/implementation/source/LinearSolverConfigPETScJSON.cpp
)
endif(USE_PETSC)
# ===================================================
# =============== Particle Systems ==================
# ===================================================
set(particle_source_files
src/particles/interface/component/Particle.cpp
src/particles/interface/component/ParticleEmitter.cpp
src/particles/interface/config/ParticleEmitterConfig.cpp
src/particles/interface/config/ParticleSystemConfig.cpp
src/particles/interface/config/ParticleSourceConfig.cpp
src/particles/interface/source/ParticleEmitterConfigSource.cpp
src/particles/interface/source/ParticleSystemConfigSource.cpp
src/particles/interface/source/ParticleSource.cpp
src/particles/interface/source/ParticleSourceConfigSource.cpp
src/particles/implementation/component/ParticleSimple.cpp
src/particles/implementation/component/ParticleEmitterSimple.cpp
src/particles/implementation/component/ParticleSystemSimple.cpp
src/particles/implementation/config/ParticleEmitterSimpleConfig.cpp
src/particles/implementation/config/ParticleSystemSimpleConfig.cpp
src/particles/implementation/config/ParticleSimpleSourceFileConfig.cpp
src/particles/implementation/source/ParticleEmitterSimpleConfigJSON.cpp
src/particles/implementation/source/ParticleSystemSimpleConfigJSON.cpp
src/particles/implementation/source/ParticleSimpleSourceHDF5.cpp
src/particles/implementation/source/ParticleSimpleSourceFileConfigJSON.cpp
)
# ===================================================
# ================= Benchmarks ======================
# ===================================================
set(bench_source_files
src/benchmarks/interface/component/Benchmark.cpp
src/benchmarks/interface/config/BenchmarkConfig.cpp
src/benchmarks/implementation/component/BenchmarkKernels.cpp
src/benchmarks/implementation/component/BenchmarkExchange.cpp
src/benchmarks/implementation/component/BenchmarkLinearSolver.cpp
src/benchmarks/implementation/component/BenchmarkParticleSystemSimple.cpp
src/benchmarks/implementation/config/BenchmarkConfigKernels.cpp
src/benchmarks/implementation/config/BenchmarkConfigExchange.cpp
src/benchmarks/implementation/config/BenchmarkConfigLinearSolver.cpp
src/benchmarks/implementation/config/BenchmarkConfigParticleSystemSimple.cpp
src/benchmarks/implementation/source/BenchmarkConfigKernelsJSON.cpp
src/benchmarks/implementation/source/BenchmarkConfigExchangeJSON.cpp
src/benchmarks/implementation/source/BenchmarkConfigLinearSolverJSON.cpp
src/benchmarks/implementation/source/BenchmarkConfigParticleSystemSimpleJSON.cpp
)
# ===================================================
# ================== Structure ======================
# ===================================================
set(structure_source_files
src/structure/implementation/source/SystemConfigJSON.cpp
src/structure/implementation/component/CupCfd.cpp
)
# ===================================================
# ================== Error Checking =================
# ===================================================
set(error_source_files
src/error/Error.cpp
)
# ===================================================
# ================= Set Libraries ===================
# ===================================================
add_library(cupcfd_lib ${bench_source_files}
${comm_source_files}
${distributions_source_files}
${config_source_files}
${data_structures_source_files}
${fvm_source_files}
${geometry_source_files}
${io_source_files}
${linearsolver_source_files}
${particle_source_files}
${partitioner_source_files}
${structure_source_files}
${error_source_files}
${utility_source_files}
)
if(USE_HDF5)
set(CORE_LIBS ${HDF5_C_LIBRARIES} z ${CORE_LIBS})
else(true)
set(CORE_LIBS ${CORE_LIBS})
endif(USE_HDF5)
if(USE_PARMETIS)
# Parmetis also includes metis
set(CORE_LIBS ${PARMETIS_LIBRARIES} ${METIS_LIBRARIES} ${CORE_LIBS})
elseif(USE_METIS)
# Metis only
set(CORE_LIBS ${METIS_LIBRARIES} ${CORE_LIBS})
else(true)
# Neither Parmetis nor Metis
set(CORE_LIBS ${CORE_LIBS})
endif(USE_PARMETIS)
if(USE_PETSC)
#ToDo: We only want X11 if it is linked against PETSc.....
set(CORE_LIBS -lX11 ${PETSC_LIBRARIES} ${CORE_LIBS})
else(true)
set(CORE_LIBS ${CORE_LIBS})
endif(USE_PETSC)
# ===================================================
# ============== Timer Libraries ====================
# ===================================================
# Timer Libraries
set(ALL_LIBS ${CORE_LIBS} ${SQLITE_LIBS})
if(COMPILER STREQUAL "intel")
set(ALL_LIBS ${CORE_LIBS} ${TREETIMER_LIBS} ifcore)
else()
set(ALL_LIBS ${CORE_LIBS} ${TREETIMER_LIBS})
endif()
# On the CI Runner node, the openmpi HFD5 static lib still needs dlopen (libdl.so)
# and HDF5 also needs the compression libs (sz)
set(ALL_LIBS dl sz ${ALL_LIBS})
set(ALL_LIBS cupcfd_lib ${ALL_LIBS})
# ========================================================
# ========= Construct Build Settings Header ==============
# ========================================================
# Header File to pass CMake settings to source code
configure_file (
"${PROJECT_SOURCE_DIR}/src/cmake_settings.h.in"
"${PROJECT_BINARY_DIR}/src/cmake_settings.h"
)
# ========================================================
# ================= Main Executable =========================
# ========================================================
add_executable(cupcfd src/structure/main.cpp)
# ========================================================
# ================== Link Stage ==========================
# ========================================================
target_link_libraries (cupcfd ${ALL_LIBS} dl sz)
# ====================================================================================================================================
# ================================================= Unit Tests =======================================================================
# ====================================================================================================================================
function(addCupCfdTest testName testSrcFile)
# ========= Set Executable Name ===========
add_executable(${testName} ${testSrcFile})
# === Includes ===
target_include_directories(${testName} PRIVATE ${Boost_INCLUDE_DIRS}) # Boost is always added
target_include_directories(${testName} PRIVATE ${CORE_INCLUDE})
# === Libraries ===
target_link_libraries(${testName} ${Boost_UNIT_TEST_FRAMEWORK_LIBRARY})
target_link_libraries(${testName} ${ALL_LIBS} sz dl)
target_compile_definitions(${testName} PRIVATE "BOOST_TEST_DYN_LINK=1") # Dynamic Library
# === Add Test to CMake ===
add_test(NAME ${testName} COMMAND ${testName})
endfunction(addCupCfdTest)
function(addCupCfdMPITest testName testSrcFile nRanks)
# ========= Set Executable Name ===========
add_executable(${testName} ${testSrcFile})
# === Includes ===
target_include_directories(${testName} PRIVATE ${Boost_INCLUDE_DIRS}) # Boost is always added
target_include_directories(${testName} PRIVATE ${CORE_INCLUDE})
# === Libraries ===
target_link_libraries(${testName} ${Boost_UNIT_TEST_FRAMEWORK_LIBRARY})
target_link_libraries(${testName} ${ALL_LIBS} dl sz)
target_compile_definitions(${testName} PRIVATE "BOOST_TEST_DYN_LINK=1") # Dynamic Library
# === Add Test to CMake ===
add_test(NAME ${testName} COMMAND ${MPIRUN_EXEC} -n ${nRanks} ${testName})
endfunction(addCupCfdMPITest)
if (USE_UNIT_TESTS)
# Boost Library is needed for unit tests
# Not required for full build, but will have to turn unit testing off
find_package(Boost REQUIRED COMPONENTS unit_test_framework)
# =====================================================================================================================
# ================================================ Utility ============================================================
# =====================================================================================================================
# ===========================
# ===== Implementations =====
# ===========================
# === Components ===
addCupCfdTest(utility_arithmetic_kernels_tests tests/utility/implementation/component/ArithmeticKernelTests.cpp)
addCupCfdTest(utility_array_kernels_tests tests/utility/implementation/component/ArrayKernelTests.cpp)
addCupCfdTest(utility_sort_kernels_tests tests/utility/implementation/component/SortKernelTests.cpp)
addCupCfdTest(utility_search_kernels_tests tests/utility/implementation/component/SearchKernelTests.cpp)
addCupCfdTest(utility_statistics_kernels_tests tests/utility/implementation/component/StatisticsKernelTests.cpp)
# ======================
# ===== Interfaces =====
# ======================
# === Components ===
addCupCfdTest(utility_array_drivers_tests tests/utility/interface/component/ArrayDriverTests.cpp)
addCupCfdTest(utility_sort_drivers_tests tests/utility/interface/component/SortDriverTests.cpp)
addCupCfdTest(utility_search_drivers_tests tests/utility/interface/component/SearchDriverTests.cpp)
addCupCfdTest(utility_statistics_drivers_tests tests/utility/interface/component/StatisticsDriverTests.cpp)
# =====================================================================================================================
# ======================================= Network Communication =======================================================
# =====================================================================================================================
# ===========================
# ===== Implementations =====
# ===========================
# === Config ===
addCupCfdTest(comm_exchangepattern_config_tests tests/comm/implementation/config/ExchangePatternConfigTests.cpp)
# === Source ===
#addCupCfdTest(comm_exchangepattern_config_source_json_tests tests/comm/implementation/source/ExchangePatternConfigSourceJSONTests.cpp)
# === Components ===
addCupCfdMPITest(comm_class_custommpitype_tests tests/comm/implementation/component/CustomMPITypeTests.cpp 4)
addCupCfdMPITest(comm_mpi_utility_tests tests/comm/implementation/component/MPIUtilityTests.cpp 4)
addCupCfdMPITest(comm_alltoallmpi_tests tests/comm/implementation/component/AllToAllMPITests.cpp 4)
addCupCfdMPITest(comm_mpi_barrier_tests tests/comm/implementation/component/BarrierMPITests.cpp 4)
addCupCfdMPITest(comm_mpi_broadcast_tests tests/comm/implementation/component/BroadcastMPITests.cpp 4)
addCupCfdMPITest(comm_mpi_exchange_tests tests/comm/implementation/component/ExchangeMPITests.cpp 12)
addCupCfdMPITest(comm_mpi_gather_tests tests/comm/implementation/component/GatherMPITests.cpp 4)
addCupCfdMPITest(comm_mpi_reduce_tests tests/comm/implementation/component/ReduceMPITests.cpp 4)
addCupCfdMPITest(comm_mpi_scatter_tests tests/comm/implementation/component/ScatterMPITests.cpp 4)
addCupCfdMPITest(comm_mpi_waitall_tests tests/comm/implementation/component/WaitallMPITests.cpp 4)
addCupCfdMPITest(comm_exchangepattern_nonblocking_onesided_tests tests/comm/implementation/component/ExchangePatternOneSidedNonBlockingTests.cpp 4)
addCupCfdMPITest(comm_exchangepattern_nonblocking_twosided_tests tests/comm/implementation/component/ExchangePatternTwoSidedNonBlockingTests.cpp 4)
# ======================
# ===== Interfaces =====
# ======================
# === Config ===
# === Source ===
addCupCfdTest(comm_exchangepattern_config_source_tests tests/comm/interface/source/ExchangePatternConfigSourceTests.cpp)
# === Components ===
addCupCfdMPITest(comm_class_communicator_tests tests/comm/interface/component/CommunicatorTests.cpp 4)
addCupCfdMPITest(comm_interface_alltoall_tests tests/comm/interface/component/AllToAllTests.cpp 4)
addCupCfdMPITest(comm_interface_barrier_tests tests/comm/interface/component/BarrierTests.cpp 4)
addCupCfdMPITest(comm_interface_broadcast_tests tests/comm/interface/component/BroadcastTests.cpp 4)
addCupCfdMPITest(comm_interface_gather_tests tests/comm/interface/component/GatherTests.cpp 4)
addCupCfdMPITest(comm_interface_reduce_tests tests/comm/interface/component/ReduceTests.cpp 4)
addCupCfdMPITest(comm_interface_scatter_tests tests/comm/interface/component/ScatterTests.cpp 4)
addCupCfdMPITest(comm_exchangepattern_tests tests/comm/interface/component/ExchangePatternTests.cpp 4)
# === Classes ===
#addCupCfdMPITest(comm_class_communicators_tests tests/comm/classes/CommunicatorsTests.cpp 4)
# =====================================================================================================================
# ================= Distributions ===================
# =====================================================================================================================
# ===========================
# ===== Implementations =====
# ===========================
# === Components ===
addCupCfdTest(distributions_distribution_uniform_tests tests/distributions/implementation/component/DistributionUniformTests.cpp)
addCupCfdTest(distributions_distribution_normal_tests tests/distributions/implementation/component/DistributionNormalTests.cpp)
addCupCfdTest(distributions_distribution_fixed_tests tests/distributions/implementation/component/DistributionFixedTests.cpp)
# === Config ===
addCupCfdTest(distributions_distribution_config_normal_tests tests/distributions/implementation/config/DistributionConfigNormalTests.cpp)
addCupCfdTest(distributions_distribution_config_uniform_tests tests/distributions/implementation/config/DistributionConfigUniformTests.cpp)
addCupCfdTest(distributions_distribution_config_fixed_tests tests/distributions/implementation/config/DistributionConfigFixedTests.cpp)
# === Source ===
addCupCfdTest(distributions_distribution_config_source_fixed_json_tests tests/distributions/implementation/source/DistributionConfigSourceFixedJSONTests.cpp)
addCupCfdTest(distributions_distribution_config_source_normal_json_tests tests/distributions/implementation/source/DistributionConfigSourceNormalJSONTests.cpp)
addCupCfdTest(distributions_distribution_config_source_uniform_json_tests tests/distributions/implementation/source/DistributionConfigSourceUniformJSONTests.cpp)
# ===========================
# ===== Interface =====
# ===========================
# === Components ===
addCupCfdTest(distributions_distribution_tests tests/distributions/interface/component/DistributionTests.cpp)
# === Config ===
addCupCfdTest(distributions_distribution_config_tests tests/distributions/interface/config/DistributionConfigTests.cpp)
# === Source ===
# =====================================================================================================================
# ================ Data Structures ==================
# =====================================================================================================================
# ===========================
# ===== Implementations =====
# ===========================
# === Components ===
addCupCfdTest(data_structures_adjacency_list_csr_tests tests/data_structures/implementation/component/AdjacencyListCSRTests.cpp)
addCupCfdTest(data_structures_adjacency_list_vector_tests tests/data_structures/implementation/component/AdjacencyListVectorTests.cpp)
addCupCfdMPITest(data_structures_distributed_adjacency_list_tests tests/data_structures/implementation/component/DistributedAdjacencyListTests.cpp 4)
addCupCfdTest(data_structures_sparse_matrix_coo_tests tests/data_structures/implementation/component/SparseMatrixCOOTests.cpp)
addCupCfdTest(data_structures_sparse_matrix_csr_tests tests/data_structures/implementation/component/SparseMatrixCSRTests.cpp)
# === Config ===
addCupCfdTest(data_structures_sparse_matrix_source_file_config_tests tests/data_structures/implementation/config/SparseMatrixSourceFileConfigTests.cpp)
# === Source ===
addCupCfdTest(data_structures_sparse_matrix_source_hdf5_tests tests/data_structures/implementation/source/SparseMatrixSourceHDF5Tests.cpp)
# ===========================
# ===== Interface =====
# ===========================
# === Components ===
addCupCfdTest(data_structures_adjacency_list_tests tests/data_structures/interface/component/AdjacencyListTests.cpp)
addCupCfdTest(data_structures_sparse_matrix_abstract_tests tests/data_structures/interface/component/SparseMatrixTests.cpp)
# === Config ===
addCupCfdTest(data_structures_sparse_matrix_source_config_tests tests/data_structures/interface/config/SparseMatrixSourceConfigTests.cpp)
# === Source ===
addCupCfdTest(data_structures_sparse_matrix_source_tests tests/data_structures/interface/source/SparseMatrixSourceTests.cpp)
# === Sparse Matrices ===
# Configs
#addCupCfdTest(data_structures_sparse_matrix_config_tests tests/data_structures/SparseMatrix/config/SparseMatrixConfigTests.cpp)
#addCupCfdTest(data_structures_sparse_matrix_config_from_file_tests tests/data_structures/SparseMatrix/config/SparseMatrixConfigFromFileTests.cpp)
#addCupCfdTest(data_structures_sparse_matrix_config_gen_tests tests/data_structures/SparseMatrix/config/SparseMatrixConfigGenTests.cpp)
#addCupCfdTest(data_structures_sparse_matrix_config_builder tests/data_structures/SparseMatrix/config/SparseMatrixConfigBuilderTests.cpp)
# Sources
#addCupCfdTest(data_structures_sparse_matrix_source_config_tests tests/data_structures/SparseMatrix/source/SparseMatrixConfigSourceTests.cpp)
#addCupCfdTest(data_structures_sparse_matrix_source_config_json_tests tests/data_structures/SparseMatrix/source/SparseMatrixConfigSourceJSONTests.cpp)
# === AdjacencyLists ===
# Classes
# =====================================================================================================================
# ============================================= I/O (Interfaces) ======================================================
# =====================================================================================================================
# ===========================
# ===== Interfaces =====
# ===========================
# === Components ===
# === Sources ===
# === Configs ===
# ===========================
# ===== Implementations =====
# ===========================
# === Components ===
addCupCfdTest(io_cmdline_interface_tests tests/io/implementation/component/CommandLineTests.cpp)
if(USE_HDF5)
addCupCfdTest(io_hdf5_interface_tests tests/io/implementation/component/HDF5InterfaceTests.cpp)
endif(USE_HDF5)
# === Sources ===
# === Configs ===
# =====================================================================================================================
# ================================================= Geometry ==========================================================
# =====================================================================================================================
# ========================================================
# ====================== Euclidean =======================
# ========================================================
# ======================
# ===== Interfaces =====
# ======================
# === Components ===
# === Sources ===