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
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
Yuhao Liu
ogs
Commits
b95f2211
Commit
b95f2211
authored
3 years ago
by
Tom Fischer
Committed by
Dmitri Naumov
3 years ago
Browse files
Options
Downloads
Patches
Plain Diff
[T] (Crashing) Test for tool geometryToGmshGeo.
test line intersecting domain boundary
parent
e79ead75
No related branches found
Branches containing commit
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
+17
-0
17 additions, 0 deletions
Applications/Utils/Tests.cmake
Tests/Data/MeshGeoToolsLib/geometryToGmshGeo/line_intersecting_square.gml
+14
-0
14 additions, 0 deletions
...eoToolsLib/geometryToGmshGeo/line_intersecting_square.gml
with
31 additions
and
0 deletions
Applications/Utils/Tests.cmake
+
17
−
0
View file @
b95f2211
...
@@ -693,6 +693,23 @@ AddTest(
...
@@ -693,6 +693,23 @@ AddTest(
square_1x1_homogeneous.geo
square_1x1_homogeneous.geo
)
)
AddTest
(
NAME LineIntersectingDomainBoundary
PATH MeshGeoToolsLib/geometryToGmshGeo/
WORKING_DIRECTORY
${
Data_SOURCE_DIR
}
/MeshGeoToolsLib/geometryToGmshGeo
EXECUTABLE geometryToGmshGeo
EXECUTABLE_ARGS -i square_1x1.gml -i line_intersecting_square.gml -o
${
Data_BINARY_DIR
}
/MeshGeoToolsLib/geometryToGmshGeo/square_1x1_with_intersecting_line.geo
REQUIREMENTS NOT OGS_USE_MPI
)
if
(
NOT OGS_USE_MPI
)
set_tests_properties
(
geometryToGmshGeo-LineIntersectingDomainBoundary
PROPERTIES
PASS_REGULAR_EXPRESSION
"ogs.*;ogs.*error.*
\n\t
point with id 5 and coordinates (1.001000000001, 0.6, 0) is outside of the polygon."
)
endif
()
AddTest
(
AddTest
(
NAME ResetPropertiesInPolygonalRegion_AllElementNodesInPolygon
NAME ResetPropertiesInPolygonalRegion_AllElementNodesInPolygon
PATH MeshGeoToolsLib/ResetPropertiesInPolygonalRegion/
PATH MeshGeoToolsLib/ResetPropertiesInPolygonalRegion/
...
...
This diff is collapsed.
Click to expand it.
Tests/Data/MeshGeoToolsLib/geometryToGmshGeo/line_intersecting_square.gml
0 → 100644
+
14
−
0
View file @
b95f2211
<?xml version="1.0" encoding="utf-8"?>
<OpenGeoSysGLI>
<name>
Line
</name>
<points>
<point
id=
"0"
x=
"0.5"
y=
"0.5"
z=
"0"
/>
<point
id=
"1"
x=
"1.001000000001"
y=
"0.59999999999999998"
z=
"0"
/>
</points>
<polylines>
<polyline
id=
"0"
name=
"Line"
>
<pnt>
0
</pnt>
<pnt>
1
</pnt>
</polyline>
</polylines>
</OpenGeoSysGLI>
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