libigl-python-bindings icon indicating copy to clipboard operation
libigl-python-bindings copied to clipboard

Segmentation Fault during Gradient Computation

Open avaruuser opened this issue 4 years ago • 0 comments

Hi all,

I want to compute the gradient of data defined on an open surface mesh. However, during computation of the gradient with igl.grad(v, f) I get the error message

[1] 76382 segmentation fault python script.py

I had the suspicion that this error might occur because the gradient cannot be computed on an open mesh, so I computed the gradient on the corresponding closed surface mesh but I got the exact same error message. I also tested the gradient computation on a simple spherical mesh and that worked. Therefore, I guess it must be my specific mesh. Are there any constraints on what the mesh needs to look like? I used a triangulated surface mesh. Does it need to be convex?

I would appreciate any help with this.

avaruuser avatar Dec 07 '21 10:12 avaruuser