Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
dumux-repositories
dumux-lecture
Commits
90e0fcd1
Commit
90e0fcd1
authored
Nov 30, 2018
by
Timo Koch
Browse files
[cmake] add_dumux_test -> dune_add_test
parent
e7a33d45
Changes
12
Hide whitespace changes
Inline
Side-by-side
lecture/mm/buckleyleverett/CMakeLists.txt
View file @
90e0fcd1
add_input_file_links
()
add_dumux_test
(
buckleyleverettexercise buckleyleverettexercise buckleyleverettexercise.cc
python
${
dumux_INCLUDE_DIRS
}
/bin/testing/runtest.py
dune_add_test
(
NAME buckleyleverettexercise
SOURCES buckleyleverettexercise.cc
COMMAND python
CMD_ARGS
${
dumux_INCLUDE_DIRS
}
/bin/testing/runtest.py
--script fuzzy
--files
${
CMAKE_SOURCE_DIR
}
/lecture/references/buckleyleverett-reference.vtu
${
CMAKE_CURRENT_BINARY_DIR
}
/buckleyleverett-00062.vtu
...
...
lecture/mm/fuelcell/CMakeLists.txt
View file @
90e0fcd1
add_input_file_links
()
add_dumux_test
(
fuelcell fuelcell fuelcell.cc
python
${
dumux_INCLUDE_DIRS
}
/bin/testing/runtest.py
--script fuzzy
--files
${
CMAKE_SOURCE_DIR
}
/lecture/references/fuelcell-reference.vtu
${
CMAKE_CURRENT_BINARY_DIR
}
/fuelcell-00017.vtu
--command
"
${
CMAKE_CURRENT_BINARY_DIR
}
/fuelcell -TimeManager.TEnd 10"
)
dune_add_test
(
NAME fuelcell
SOURCES fuelcell.cc
COMMAND
${
dumux_INCLUDE_DIRS
}
/bin/testing/runtest.py
CMD_ARGS --script fuzzy
--files
${
CMAKE_SOURCE_DIR
}
/lecture/references/fuelcell-reference.vtu
${
CMAKE_CURRENT_BINARY_DIR
}
/fuelcell-00017.vtu
--command
"
${
CMAKE_CURRENT_BINARY_DIR
}
/fuelcell -TimeManager.TEnd 10"
)
# headers for installation and headercheck
install
(
FILES
...
...
lecture/mm/heatpipe/CMakeLists.txt
View file @
90e0fcd1
add_input_file_links
()
add_dumux_test
(
heatpipe heatpipe heatpipe.cc
python
${
dumux_INCLUDE_DIRS
}
/bin/testing/runtest.py
--script fuzzy
--files
${
CMAKE_SOURCE_DIR
}
/lecture/references/heatpipe-reference.vtu
${
CMAKE_CURRENT_BINARY_DIR
}
/heatpipe-00022.vtu
--command
"
${
CMAKE_CURRENT_BINARY_DIR
}
/heatpipe "
)
dune_add_test
(
NAME heatpipe
SOURCES heatpipe.cc
COMMAND
${
dumux_INCLUDE_DIRS
}
/bin/testing/runtest.py
CMD_ARGS --script fuzzy
--files
${
CMAKE_SOURCE_DIR
}
/lecture/references/heatpipe-reference.vtu
${
CMAKE_CURRENT_BINARY_DIR
}
/heatpipe-00022.vtu
--command
"
${
CMAKE_CURRENT_BINARY_DIR
}
/heatpipe "
)
# headers for installation and headercheck
install
(
FILES
...
...
lecture/mm/heavyoil/sagd/CMakeLists.txt
View file @
90e0fcd1
# headers for installation and headercheck
add_dumux_test
(
sagd sagd sagd.cc
"
${
CMAKE_CURRENT_BINARY_DIR
}
/sagd"
"-TimeLoop.TEnd"
"43200"
"-TimeLoop.MaxTimeStepSize"
"21600"
)
dune_add_test
(
NAME sagd
SOURCES sagd.cc
COMMAND
${
CMAKE_CURRENT_BINARY_DIR
}
/sagd
CMD_ARGS -TimeLoop.TEnd 43200 -TimeLoop.MaxTimeStepSize 21600
)
install
(
FILES
sagdproblem.hh
sagdspatialparams.hh
...
...
lecture/mm/heavyoil/sagdcyclic/CMakeLists.txt
View file @
90e0fcd1
# headers for installation and headercheck
add_dumux_test
(
sagd_cyclic sagd_cyclic sagd_cyclic.cc
"
${
CMAKE_CURRENT_BINARY_DIR
}
/sagd_cyclic"
"-TimeLoop.TEnd"
"43200"
"-TimeLoop.MaxTimeStepSize"
"21600"
)
dune_add_test
(
NAME sagd_cyclic
SOURCES sagd_cyclic.cc
COMMAND
${
CMAKE_CURRENT_BINARY_DIR
}
/sagd_cyclic
CMD_ARGS -TimeLoop.TEnd 43200 -TimeLoop.MaxTimeStepSize21600
)
install
(
FILES
problem.hh
...
...
lecture/mm/heavyoil/sagdcyclichyst/CMakeLists.txt
View file @
90e0fcd1
# headers for installation and headercheck
add_dumux_test
(
sagd_cyclic_hyst sagd_cyclic_hyst sagd_cyclic_hyst.cc
"
${
CMAKE_CURRENT_BINARY_DIR
}
/sagd_cyclic_hyst"
"-TimeLoop.TEnd"
"43200"
"-TimeLoop.MaxTimeStepSize"
"21600"
)
dune_add_test
(
NAME sagd_cyclic_hyst
SOURCES sagd_cyclic_hyst.cc
COMMAND
${
CMAKE_CURRENT_BINARY_DIR
}
/sagd_cyclic_hyst
CMD_ARGS -TimeLoop.TEnd 43200 -TimeLoop.MaxTimeStepSize 21600
)
install
(
FILES
problem.hh
...
...
lecture/mm/henryproblem/henry1p2c/CMakeLists.txt
View file @
90e0fcd1
add_input_file_links
()
add_dumux_test
(
henry1p2c henry1p2c henry1p2c.cc
python
${
dumux_INCLUDE_DIRS
}
/bin/testing/runtest.py
--script fuzzy
--files
${
CMAKE_SOURCE_DIR
}
/lecture/references/Henry1p2c-reference.vtu
${
CMAKE_CURRENT_BINARY_DIR
}
/Henry1p2c-00056.vtu
--command
"
${
CMAKE_CURRENT_BINARY_DIR
}
/henry1p2c -ParameterFile
${
CMAKE_CURRENT_SOURCE_DIR
}
/henry1p2c.input -Grid.File
${
CMAKE_CURRENT_SOURCE_DIR
}
/grids/henry.dgf"
)
dune_add_test
(
NAME henry1p2c
SOURCES henry1p2c.cc
COMMAND
${
dumux_INCLUDE_DIRS
}
/bin/testing/runtest.py
CMD_ARGS --script fuzzy
--files
${
CMAKE_SOURCE_DIR
}
/lecture/references/Henry1p2c-reference.vtu
${
CMAKE_CURRENT_BINARY_DIR
}
/Henry1p2c-00056.vtu
--command
"
${
CMAKE_CURRENT_BINARY_DIR
}
/henry1p2c -ParameterFile
${
CMAKE_CURRENT_SOURCE_DIR
}
/henry1p2c.input -Grid.File
${
CMAKE_CURRENT_SOURCE_DIR
}
/grids/henry.dgf"
)
# headers for installation and headercheck
install
(
FILES
...
...
lecture/mm/henryproblem/henry2p/CMakeLists.txt
View file @
90e0fcd1
add_input_file_links
()
add_dumux_test
(
henry2p henry2p henry2p.cc
python
${
dumux_INCLUDE_DIRS
}
/bin/testing/runtest.py
--script fuzzy
--files
${
CMAKE_SOURCE_DIR
}
/lecture/references/Henry2p-reference.vtu
${
CMAKE_CURRENT_BINARY_DIR
}
/Henry2p-01001.vtu
--command
"
${
CMAKE_CURRENT_BINARY_DIR
}
/henry2p -ParameterFile
${
CMAKE_CURRENT_SOURCE_DIR
}
/henry2p.input -Grid.File
${
CMAKE_CURRENT_SOURCE_DIR
}
/grids/henry.dgf"
)
dune_add_test
(
NAME henry2p
SOURCES henry2p.cc
COMMAND
${
dumux_INCLUDE_DIRS
}
/bin/testing/runtest.py
CMD_ARGS --script fuzzy
--files
${
CMAKE_SOURCE_DIR
}
/lecture/references/Henry2p-reference.vtu
${
CMAKE_CURRENT_BINARY_DIR
}
/Henry2p-01001.vtu
--command
"
${
CMAKE_CURRENT_BINARY_DIR
}
/henry2p -ParameterFile
${
CMAKE_CURRENT_SOURCE_DIR
}
/henry2p.input -Grid.File
${
CMAKE_CURRENT_SOURCE_DIR
}
/grids/henry.dgf"
)
# headers for installation and headercheck
install
(
FILES
...
...
lecture/mm/mcwhorter/CMakeLists.txt
View file @
90e0fcd1
add_input_file_links
()
add_dumux_test
(
mcwhorterexercise mcwhorterexercise mcwhorterexercise.cc
python
${
dumux_INCLUDE_DIRS
}
/bin/testing/runtest.py
--script fuzzy
--files
${
CMAKE_SOURCE_DIR
}
/lecture/references/McWhorter-reference.vtu
${
CMAKE_CURRENT_BINARY_DIR
}
/McWhorter-00098.vtu
--command ./mcwhorterexercise
)
dune_add_test
(
NAME mcwhorterexercise
SOURCES mcwhorterexercise.cc
COMMAND
${
dumux_INCLUDE_DIRS
}
/bin/testing/runtest.py
CMD_ARGS --script fuzzy
--files
${
CMAKE_SOURCE_DIR
}
/lecture/references/McWhorter-reference.vtu
${
CMAKE_CURRENT_BINARY_DIR
}
/McWhorter-00098.vtu
--command ./mcwhorterexercise
)
# headers for installation and headercheck
install
(
FILES
...
...
lecture/mm/naplinfiltration/3p/CMakeLists.txt
View file @
90e0fcd1
add_input_file_links
()
# for the test only simulate one week
add_dumux_test
(
naplinfiltration3p naplinfiltration3p naplinfiltration3p.cc
python
${
dumux_INCLUDE_DIRS
}
/bin/testing/runtest.py
--script fuzzy
--files
${
CMAKE_SOURCE_DIR
}
/lecture/references/naplinfiltration3p-reference.vtu
${
CMAKE_CURRENT_BINARY_DIR
}
/naplinfiltration3p-00003.vtu
--command
"
${
CMAKE_CURRENT_BINARY_DIR
}
/naplinfiltration3p -TimeLoop.TEnd 604800 -TimeLoop.EpisodeLength 302400"
)
dune_add_test
(
NAME naplinfiltration3p
SOURCES naplinfiltration3p.cc
COMMAND
${
dumux_INCLUDE_DIRS
}
/bin/testing/runtest.py
CMD_ARGS --script fuzzy
--files
${
CMAKE_SOURCE_DIR
}
/lecture/references/naplinfiltration3p-reference.vtu
${
CMAKE_CURRENT_BINARY_DIR
}
/naplinfiltration3p-00003.vtu
--command
"
${
CMAKE_CURRENT_BINARY_DIR
}
/naplinfiltration3p -TimeLoop.TEnd 604800 -TimeLoop.EpisodeLength 302400"
)
# headers for installation and headercheck
install
(
FILES
...
...
lecture/mm/naplinfiltration/3p3c/CMakeLists.txt
View file @
90e0fcd1
add_input_file_links
()
# for the test only simulate one week
add_dumux_test
(
naplinfiltration3p3c naplinfiltration3p3c naplinfiltration3p3c.cc
python
${
dumux_INCLUDE_DIRS
}
/bin/testing/runtest.py
--script fuzzy
dune_add_test
(
NAME naplinfiltration3p3c
SOURCES naplinfiltration3p3c.cc
COMMAND
${
dumux_INCLUDE_DIRS
}
/bin/testing/runtest.py
CMD_ARGS --script fuzzy
--files
${
CMAKE_SOURCE_DIR
}
/lecture/references/naplinfiltration3p3c-reference.vtu
${
CMAKE_CURRENT_BINARY_DIR
}
/naplinfiltration3p3c-00003.vtu
--zeroThreshold {
"Sn"
:5e-7,
"x^mesitylene_g"
:1e-8,
"x^mesitylene_n"
:1e-5,
"x^mesitylene_w"
:5e-11}
...
...
lecture/mm/remediationscenarios/CMakeLists.txt
View file @
90e0fcd1
add_input_file_links
(
remediationscenariosexercise.input
)
dune_add_test
(
NAME remediationscenariosexercise
SOURCES remediationscenariosexercise.cc
COMMAND
${
dumux_INCLUDE_DIRS
}
/bin/testing/runtest.py
CMD_ARGS --script fuzzy
--files
${
CMAKE_SOURCE_DIR
}
/lecture/references/remediation-steam-reference.vtu
SOURCES remediationscenariosexercise.cc
COMMAND
${
dumux_INCLUDE_DIRS
}
/bin/testing/runtest.py
CMD_ARGS --script fuzzy
--files
${
CMAKE_SOURCE_DIR
}
/lecture/references/remediation-steam-reference.vtu
${
CMAKE_CURRENT_BINARY_DIR
}
/remediation-steam-00018.vtu
--command
"
${
CMAKE_CURRENT_BINARY_DIR
}
/remediationscenariosexercise -TimeLoop.DtInitial 40 -TimeLoop.TEnd 2000 -TimeLoop.MaxTimeStepSize 50"
)
--command
"
${
CMAKE_CURRENT_BINARY_DIR
}
/remediationscenariosexercise -TimeLoop.DtInitial 40 -TimeLoop.TEnd 2000 -TimeLoop.MaxTimeStepSize 50"
)
# headers for installation and headercheck
install
(
FILES
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment