Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Jonathan Lambrechts
seamsh
Commits
b4fe402d
Commit
b4fe402d
authored
Nov 12, 2020
by
Jonathan Lambrechts
Browse files
fix
parent
e12a90a6
Pipeline
#9888
failed with stages
in 2 minutes and 10 seconds
Changes
1
Pipelines
4
Hide whitespace changes
Inline
Side-by-side
seamsh/gmsh.py
View file @
b4fe402d
...
...
@@ -207,9 +207,9 @@ def mesh(domain: _geometry.Domain, filename: str,
rm
=
[]
for
e
in
gmsh
.
model
.
getEntities
(
1
)
:
enodes
,
_
,
_
=
gmsh
.
model
.
mesh
.
getNodes
(
*
e
)
if
not
(
enodes
[
0
]
in
keepnodes
)
:
if
(
len
(
enodes
)
==
0
)
or
(
not
(
enodes
[
0
]
in
keepnodes
)
)
:
rm
.
append
(
e
)
if
rm
:
if
len
(
rm
)
!=
0
:
gmsh
.
model
.
removeEntities
(
rm
,
True
)
_tools
.
log
(
"Write
\"
{}
\"
(msh version {})"
.
format
(
filename
,
version
))
gmsh
.
option
.
setNumber
(
"Mesh.MshFileVersion"
,
version
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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