Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
O
ogs
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
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
Dmitri Naumov
ogs
Commits
1c603388
Commit
1c603388
authored
4 years ago
by
Lars Bilke
Browse files
Options
Downloads
Patches
Plain Diff
[T] Test MapGeometryToMeshSurface_Bode with gmldiff.
parent
b2a56b52
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Applications/Utils/Tests.cmake
+10
-13
10 additions, 13 deletions
Applications/Utils/Tests.cmake
scripts/test/gmldiff.py
+0
-1
0 additions, 1 deletion
scripts/test/gmldiff.py
with
10 additions
and
14 deletions
Applications/Utils/Tests.cmake
+
10
−
13
View file @
1c603388
...
@@ -10,19 +10,16 @@ AddTest(
...
@@ -10,19 +10,16 @@ AddTest(
DIFF_DATA Ammer-Rivers-Mapped.gml
DIFF_DATA Ammer-Rivers-Mapped.gml
)
)
# Disable test on eve frontends
AddTest
(
if
(
"
${
HOSTNAME
}
"
MATCHES
"envinf1"
)
NAME MapGeometryToMeshSurface_Bode
AddTest
(
PATH MeshGeoToolsLib/Bode
NAME MapGeometryToMeshSurface_Bode
WORKING_DIRECTORY
${
Data_SOURCE_DIR
}
/MeshGeoToolsLib/Bode
PATH MeshGeoToolsLib/Bode
EXECUTABLE MapGeometryToMeshSurface
WORKING_DIRECTORY
${
Data_SOURCE_DIR
}
/MeshGeoToolsLib/Bode
EXECUTABLE_ARGS -m BodeComplex.msh -i BodeEZG_Fliessgewaesser.gml -a -o
${
Data_BINARY_DIR
}
/MeshGeoToolsLib/Bode/BodeEZG_Fliessgewaesser-Mapped.gml
EXECUTABLE MapGeometryToMeshSurface
REQUIREMENTS NOT OGS_USE_MPI
EXECUTABLE_ARGS -m BodeComplex.msh -i BodeEZG_Fliessgewaesser.gml -a -o
${
Data_BINARY_DIR
}
/MeshGeoToolsLib/Bode/BodeEZG_Fliessgewaesser-Mapped.gml
TESTER gmldiff
REQUIREMENTS NOT OGS_USE_MPI
DIFF_DATA BodeEZG_Fliessgewaesser-Mapped.gml 1e-10 1e-10
TESTER diff
)
DIFF_DATA BodeEZG_Fliessgewaesser-Mapped.gml
)
endif
()
AddTest
(
AddTest
(
NAME MapGeometryToMeshSurface_Naegelstedt
NAME MapGeometryToMeshSurface_Naegelstedt
...
...
This diff is collapsed.
Click to expand it.
scripts/test/gmldiff.py
+
0
−
1
View file @
1c603388
...
@@ -38,7 +38,6 @@ for pointA, pointB in zip(pointsA, pointsB):
...
@@ -38,7 +38,6 @@ for pointA, pointB in zip(pointsA, pointsB):
print
(
"
Points do not have the same order!
"
)
print
(
"
Points do not have the same order!
"
)
exit
(
1
)
exit
(
1
)
print
(
pointB
.
getAttribute
(
"
id
"
))
for
dim
in
[
"
x
"
,
"
y
"
,
"
z
"
]:
for
dim
in
[
"
x
"
,
"
y
"
,
"
z
"
]:
a
=
float
(
pointA
.
getAttribute
(
dim
))
a
=
float
(
pointA
.
getAttribute
(
dim
))
b
=
float
(
pointB
.
getAttribute
(
dim
))
b
=
float
(
pointB
.
getAttribute
(
dim
))
...
...
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