This is a read only copy of the old FEniCS QA forum. Please visit the new QA forum to ask questions

Problem with mshr

+1 vote

Dear all,

I got a problem when I tried to use the mshr to generate the unstructured mesh. The following is the code I ran on Mac EI Captain 10.11.3 using DOLFIN 1.6:

from dolfin import *
from mshr import *

Sphere1 = Sphere(Point(0.0,0.0,1.0),1.5) # two balls at different centers
Sphere1 = Sphere(Point(0.0,0.0,-1.0),1.5)
Geometry = Sphere1 + Sphere2
mesh = generate_mesh(Geometry,32) # generate the mesh

Running the simple codes, sometimes it worked and mostly it reported the error:
Segmentation fault: 11

Any one has idea why it was like this? Thanks.

Best wishes

JY

asked May 28, 2016 by jying FEniCS User (2,020 points)
edited May 28, 2016 by jying

1 Answer

0 votes

Hi!
I run your code on my linux VM, works fine everytime. Sorry I cannot help you to do more test.

answered Jun 2, 2016 by xiyang FEniCS Novice (410 points)
...