Commit 1e418a64 authored by Jonathan Lambrechts's avatar Jonathan Lambrechts
Browse files

fix

parent 760da152
Pipeline #9342 failed with stages
in 2 minutes and 20 seconds
......@@ -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):
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment