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
6b2bf836
Commit
6b2bf836
authored
6 years ago
by
Timo Koch
Browse files
Options
Downloads
Patches
Plain Diff
[test][richards] Compare parallel vtu with sequential reference vtu
parent
95456eac
No related branches found
No related tags found
1 merge request
!185
Fix/gridcreator gmsh parameters
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
test/porousmediumflow/richards/implicit/CMakeLists.txt
+11
-6
11 additions, 6 deletions
test/porousmediumflow/richards/implicit/CMakeLists.txt
with
11 additions
and
6 deletions
test/porousmediumflow/richards/implicit/CMakeLists.txt
+
11
−
6
View file @
6b2bf836
...
@@ -6,24 +6,29 @@ target_compile_definitions(test_richards_tpfa PUBLIC TYPETAG=RichardsLensCCTypeT
...
@@ -6,24 +6,29 @@ target_compile_definitions(test_richards_tpfa PUBLIC TYPETAG=RichardsLensCCTypeT
add_executable
(
test_richards_box EXCLUDE_FROM_ALL test_richardslens_fv.cc
)
add_executable
(
test_richards_box EXCLUDE_FROM_ALL test_richardslens_fv.cc
)
target_compile_definitions
(
test_richards_box PUBLIC TYPETAG=RichardsLensBoxTypeTag
)
target_compile_definitions
(
test_richards_box PUBLIC TYPETAG=RichardsLensBoxTypeTag
)
if
(
MPI_FOUND
)
dune_add_test
(
NAME test_richards_box_parallel
dune_add_test
(
NAME test_richards_box_parallel
TARGET test_richards_box
TARGET test_richards_box
CMAKE_GUARD MPI_FOUND
COMMAND
${
CMAKE_SOURCE_DIR
}
/bin/testing/runtest.py
COMMAND
${
CMAKE_SOURCE_DIR
}
/bin/testing/runtest.py
CMD_ARGS --script fuzzy
CMD_ARGS --script fuzzy
--zeroThreshold {
"process rank"
:100}
--files
${
CMAKE_SOURCE_DIR
}
/test/references/richardslensbox-reference-parallel.vtu
--files
${
CMAKE_SOURCE_DIR
}
/test/references/richardslensbox-reference-parallel.vtu
${
CMAKE_CURRENT_BINARY_DIR
}
/s0002-p0000-test_richards_box_parallel-00008.vtu
${
CMAKE_CURRENT_BINARY_DIR
}
/s0002-p0000-test_richards_box_parallel-00008.vtu
--command
"
${
MPIEXEC
}
-np 2
${
CMAKE_CURRENT_BINARY_DIR
}
/test_richards_box test_richardslens.input -Problem.Name test_richards_box_parallel"
)
${
CMAKE_SOURCE_DIR
}
/test/references/richardslensbox-reference.vtu
${
CMAKE_CURRENT_BINARY_DIR
}
/s0002-test_richards_box_parallel-00008.pvtu
--command
"
${
MPIEXEC
}
-np 2
${
CMAKE_CURRENT_BINARY_DIR
}
/test_richards_box test_richardslens.input -Problem.Name test_richards_box_parallel -Grid.Overlap 0"
)
dune_add_test
(
NAME test_richards_tpfa_parallel
dune_add_test
(
NAME test_richards_tpfa_parallel
TARGET test_richards_tpfa
TARGET test_richards_tpfa
CMAKE_GUARD MPI_FOUND
COMMAND
${
CMAKE_SOURCE_DIR
}
/bin/testing/runtest.py
COMMAND
${
CMAKE_SOURCE_DIR
}
/bin/testing/runtest.py
CMD_ARGS --script fuzzy
CMD_ARGS --script fuzzy
--zeroThreshold {
"process rank"
:100}
--files
${
CMAKE_SOURCE_DIR
}
/test/references/richardslenscc-reference-parallel.vtu
--files
${
CMAKE_SOURCE_DIR
}
/test/references/richardslenscc-reference-parallel.vtu
${
CMAKE_CURRENT_BINARY_DIR
}
/s0002-p0000-test_richards_tpfa_parallel-00007.vtu
${
CMAKE_CURRENT_BINARY_DIR
}
/s0002-p0000-test_richards_tpfa_parallel-00007.vtu
--command
"
${
MPIEXEC
}
-np 2
${
CMAKE_CURRENT_BINARY_DIR
}
/test_richards_tpfa test_richardslens.input -Problem.Name test_richards_tpfa_parallel"
)
${
CMAKE_SOURCE_DIR
}
/test/references/richardslenscc-reference.vtu
endif
()
${
CMAKE_CURRENT_BINARY_DIR
}
/s0002-test_richards_tpfa_parallel-00007.pvtu
--command
"
${
MPIEXEC
}
-np 2
${
CMAKE_CURRENT_BINARY_DIR
}
/test_richards_tpfa test_richardslens.input -Problem.Name test_richards_tpfa_parallel -Grid.Overlap 1"
)
# isothermal tests
# isothermal tests
dune_add_test
(
TARGET test_richards_box
dune_add_test
(
TARGET test_richards_box
COMMAND
${
CMAKE_SOURCE_DIR
}
/bin/testing/runtest.py
COMMAND
${
CMAKE_SOURCE_DIR
}
/bin/testing/runtest.py
...
...
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