CMakeLists.txt 2.44 KB
Newer Older
Thomas Fetzer's avatar
[CMake]    
Thomas Fetzer committed
1
2
add_input_file_links()

Christoph Grueninger's avatar
[CMake]    
Christoph Grueninger committed
3
# build target for the CO2 test problem
4
add_dumux_test(test_boxco2 test_boxco2 test_boxco2.cc
5
6
7
8
9
               python ${CMAKE_SOURCE_DIR}/bin/runtest.py
                 --script fuzzy
                 --files ${CMAKE_SOURCE_DIR}/test/references/co2box-reference.vtu
                         ${CMAKE_CURRENT_BINARY_DIR}/heterogeneousbox-00020.vtu
                 --command "${CMAKE_CURRENT_BINARY_DIR}/test_boxco2")
Christoph Grueninger's avatar
Christoph Grueninger committed
10

11
add_dumux_test(test_ccco2 test_ccco2 test_ccco2.cc
12
13
14
15
16
               python ${CMAKE_SOURCE_DIR}/bin/runtest.py
                 --script fuzzy
                 --files ${CMAKE_SOURCE_DIR}/test/references/co2cc-reference.vtu
                         ${CMAKE_CURRENT_BINARY_DIR}/heterogeneouscc-00019.vtu
                 --command "${CMAKE_CURRENT_BINARY_DIR}/test_ccco2")
Christoph Grueninger's avatar
Christoph Grueninger committed
17

18
add_dumux_test(test_restartco2 test_ccco2 test_ccco2.cc
19
20
21
22
23
               python ${CMAKE_SOURCE_DIR}/bin/runtest.py
                 --script fuzzy
                 --files ${CMAKE_SOURCE_DIR}/test/references/co2box-reference.vtu
                         ${CMAKE_CURRENT_BINARY_DIR}/heterogeneousbox-00020.vtu
                 --command "${CMAKE_CURRENT_BINARY_DIR}/test_boxco2 -ParameterFile ${CMAKE_CURRENT_SOURCE_DIR}/test_restartco2.input")
24

25
26
27
# the restart test has to run after the test that produces the restart file
set_tests_properties(test_restartco2 PROPERTIES DEPENDS test_ccco2)

28
29
  # build target for the CO2 non-isothermal test problem
add_dumux_test(test_boxco2ni test_boxco2ni test_boxco2ni.cc
30
31
32
33
34
               python ${CMAKE_SOURCE_DIR}/bin/runtest.py
                 --script fuzzy
                 --files ${CMAKE_SOURCE_DIR}/test/references/co2nibox-reference.vtu
                         ${CMAKE_CURRENT_BINARY_DIR}/heterogeneousboxni-00020.vtu
                 --command "${CMAKE_CURRENT_BINARY_DIR}/test_boxco2ni")
35
36

add_dumux_test(test_ccco2ni test_ccco2ni test_ccco2ni.cc
37
38
39
40
41
               python ${CMAKE_SOURCE_DIR}/bin/runtest.py
                 --script fuzzy
                 --files ${CMAKE_SOURCE_DIR}/test/references/co2nicc-reference.vtu
                         ${CMAKE_CURRENT_BINARY_DIR}/heterogeneousccni-00019.vtu
                 --command "${CMAKE_CURRENT_BINARY_DIR}/test_ccco2ni")
42
43


44
45
46
47
48
49
50
51
52
53
54
55

#install sources
install(FILES
heterogeneousco2tables.hh
heterogeneousproblem.hh
heterogeneousproblemni.hh
heterogeneousspatialparameters.hh
test_boxco2.cc
test_boxco2ni.cc
test_ccco2.cc
test_ccco2ni.cc
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/test/implicit/co2)