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
fluidparticles
MigFlow
Commits
1e418a64
Commit
1e418a64
authored
May 05, 2021
by
Jonathan Lambrechts
Browse files
fix
parent
760da152
Pipeline
#9342
failed with stages
in 2 minutes and 20 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
python/scontact.py
View file @
1e418a64
...
...
@@ -659,7 +659,7 @@ class ParticleProblem :
_
,
x
,
_
=
gmsh
.
model
.
mesh
.
getNodes
()
x
=
x
.
reshape
([
-
1
,
3
])[:,:
self
.
_dim
]
self
.
_lib
.
particle_problem_add_body
.
restype
=
c_size_t
bndbody
=
self
.
_lib
.
particle_problem_add_body
(
self
.
_p
,
self
.
_coord_type
(
0
,
0
,
0
),
c_double
(
0
),
c_double
(
0
))
bndbody
=
self
.
_lib
.
particle_problem_add_body
(
self
.
_p
,
self
.
_coord_type
(
*
((
0
,)
*
self
.
_dim
)
),
c_double
(
0
),
c_double
(
0
))
def
get_entity_name
(
edim
,
etag
)
:
for
tag
in
gmsh
.
model
.
getPhysicalGroupsForEntity
(
edim
,
etag
):
...
...
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