Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
dumux
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
dumux-repositories
dumux
Commits
e545f49a
Commit
e545f49a
authored
7 years ago
by
Kilian Weishaupt
Browse files
Options
Downloads
Patches
Plain Diff
[NavierStokesNC][test] Use dune macro in CMakeLists.txt
parent
317360a4
No related branches found
No related tags found
Loading
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
test/freeflow/staggerednc/CMakeLists.txt
+39
-39
39 additions, 39 deletions
test/freeflow/staggerednc/CMakeLists.txt
with
39 additions
and
39 deletions
test/freeflow/staggerednc/CMakeLists.txt
+
39
−
39
View file @
e545f49a
add_input_file_links
()
add_input_file_links
()
add_dumux_test
(
test_densitydrivenflow test_densitydrivenflow test_densitydrivenflow.cc
dune_add_test
(
NAME test_densitydrivenflow
python
${
CMAKE_SOURCE_DIR
}
/bin/testing/runtest.py
SOURCES test_densitydrivenflow.cc
--script fuzzy
COMMAND
${
CMAKE_SOURCE_DIR
}
/bin/testing/runtest.py
--files
${
CMAKE_SOURCE_DIR
}
/test/references/stokes2c-densitydriven-reference.vtu
CMD_ARGS --script fuzzy
${
CMAKE_CURRENT_BINARY_DIR
}
/test_densitydrivenflow-00025.vtu
--files
${
CMAKE_SOURCE_DIR
}
/test/references/stokes2c-densitydriven-reference.vtu
--command
"
${
CMAKE_CURRENT_BINARY_DIR
}
/test_densitydrivenflow"
)
${
CMAKE_CURRENT_BINARY_DIR
}
/test_densitydrivenflow-00025.vtu
--command
"
${
CMAKE_CURRENT_BINARY_DIR
}
/test_densitydrivenflow"
)
add_dumux_test
(
test_purediffusion test_channel test_channel.cc
add_executable
(
test_stokes2c test_channel.cc
)
python
${
CMAKE_SOURCE_DIR
}
/bin/testing/runtest.py
--script fuzzy
--files
${
CMAKE_SOURCE_DIR
}
/test/references/stokes2c-purediffusion.vtu
${
CMAKE_CURRENT_BINARY_DIR
}
/test_purediffusion-00013.vtu
--command
"
${
CMAKE_CURRENT_BINARY_DIR
}
/test_channel test_purediffusion.input"
--zeroThreshold {
"velocity_liquid
\(
m/s
\)
"
:1e-22}
)
add_dumux_test
(
test_advection test_channel test_channel.cc
dune_add_test
(
NAME test_purediffusion
python
${
CMAKE_SOURCE_DIR
}
/bin/testing/runtest.py
TARGET test_stokes2c
--script fuzzy
COMMAND
${
CMAKE_SOURCE_DIR
}
/bin/testing/runtest.py
--files
${
CMAKE_SOURCE_DIR
}
/test/references/stokes2c-advection.vtu
CMD_ARGS --script fuzzy
${
CMAKE_CURRENT_BINARY_DIR
}
/test_advection-00009.vtu
--files
${
CMAKE_SOURCE_DIR
}
/test/references/stokes2c-purediffusion.vtu
--command
"
${
CMAKE_CURRENT_BINARY_DIR
}
/test_channel test_advection.input"
)
${
CMAKE_CURRENT_BINARY_DIR
}
/test_purediffusion-00013.vtu
--command
"
${
CMAKE_CURRENT_BINARY_DIR
}
/test_stokes2c test_purediffusion.input"
--zeroThreshold {
"velocity_H2O
\(
m/s
\)
"
:1e-22}
)
add_dumux_test
(
test_stokes2cni_advection test_stokes2cni test_channel.cc
dune_add_test
(
NAME test_advection
python
${
CMAKE_SOURCE_DIR
}
/bin/testing/runtest.py
TARGET test_stokes2c
--script fuzz
y
COMMAND
${
CMAKE_SOURCE_DIR
}
/bin/testing/runtest.p
y
--files
${
CMAKE_SOURCE_DIR
}
/test/references/stokes2cni-advection.vtu
CMD_ARGS --script fuzzy
${
CMAKE_CURRENT_BINARY_DIR
}
/test_
stokes2c
ni_
advection
-00009
.vtu
--files
${
CMAKE_SOURCE_DIR
}
/test/references/
stokes2c
-
advection.vtu
--command
"
${
CMAKE_CURRENT_BINARY_DIR
}
/test_
stokes2cni test_stokes2cni_advection.input"
)
${
CMAKE_CURRENT_BINARY_DIR
}
/test_
advection-00009.vtu
target_compile_definitions
(
test_stokes2cni PUBLIC
"NONISOTHERMAL=1
"
)
--command
"
${
CMAKE_CURRENT_BINARY_DIR
}
/test_stokes2c test_advection.input
"
)
add_dumux_test
(
test_stokes2cni_diffusion test_stokes2cni test_channel.cc
add_executable
(
test_stokes2cni test_channel.cc
)
python
${
CMAKE_SOURCE_DIR
}
/bin/testing/runtest.py
target_compile_definitions
(
test_stokes2cni PUBLIC
"NONISOTHERMAL=1"
)
--script fuzzy
--files
${
CMAKE_SOURCE_DIR
}
/test/references/stokes2cni-diffusion.vtu
${
CMAKE_CURRENT_BINARY_DIR
}
/test_stokes2cni_diffusion-00014.vtu
--command
"
${
CMAKE_CURRENT_BINARY_DIR
}
/test_stokes2cni test_stokes2cni_diffusion.input"
)
dune_add_test
(
NAME test_stokes2cni_advection
TARGET test_stokes2cni
COMMAND
${
CMAKE_SOURCE_DIR
}
/bin/testing/runtest.py
CMD_ARGS --script fuzzy
--files
${
CMAKE_SOURCE_DIR
}
/test/references/stokes2cni-advection.vtu
${
CMAKE_CURRENT_BINARY_DIR
}
/test_stokes2cni_advection-00009.vtu
--command
"
${
CMAKE_CURRENT_BINARY_DIR
}
//test_stokes2cni test_stokes2cni_advection.input"
)
#install sources
dune_add_test
(
NAME test_stokes2cni_diffusion
install
(
FILES
TARGET test_stokes2cni
test_densitydrivenflow.cc
COMMAND
${
CMAKE_SOURCE_DIR
}
/bin/testing/runtest.py
densityflowproblem.hh
CMD_ARGS --script fuzzy
test_channel.cc
--files
${
CMAKE_SOURCE_DIR
}
/test/references/stokes2cni-diffusion.vtu
channeltestproblem.hh
${
CMAKE_CURRENT_BINARY_DIR
}
/test_stokes2cni_diffusion-00014.vtu
DESTINATION
${
CMAKE_INSTALL_INCLUDEDIR
}
/dumux/test/freeflow/staggerednc
)
--command
"
${
CMAKE_CURRENT_BINARY_DIR
}
//test_stokes2cni test_stokes2cni_diffusion.input"
)
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment