CMakeLists.txt 787 Bytes
Newer Older
1
dune_symlink_to_source_files(FILES "grids" "fracture_exercise.input" "plot.p")
Kai Wendel's avatar
Kai Wendel committed
2
3

# test for the exercise
Dennis's avatar
Dennis committed
4
dumux_add_test(NAME fracture_exercise
Kai Wendel's avatar
Kai Wendel committed
5
6
              CMAKE_GUARD "( dune-foamgrid_FOUND AND dune-alugrid_FOUND )"
              SOURCES fractures.cc
Holger Class's avatar
Holger Class committed
7
8
9
10
11
12
13
              COMMAND ${dumux_INCLUDE_DIRS}/bin/testing/runtest.py
              CMD_ARGS --script fuzzy
                 --files ${CMAKE_SOURCE_DIR}/lecture/references/fractures-matrix-reference.vtu
                         ${CMAKE_CURRENT_BINARY_DIR}/matrix-00018.vtu
                         ${CMAKE_SOURCE_DIR}/lecture/references/fractures-fractures-reference.vtp
                         ${CMAKE_CURRENT_BINARY_DIR}/fractures-00018.vtp
                 --command "${CMAKE_CURRENT_BINARY_DIR}/fracture_exercise -TimeLoop.TEnd 50")