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

Custom BoundaryMesh

+1 vote

I have a spherical geometry consisting of of two concentric spheres where the smaller sphere is cut out from the larger sphere:

so = mshr.Sphere(dolfin.Point(0, 0, 0), router) si = mshr.Sphere(dolfin.Point(0, 0, 0), rinner) s = so - si mesh = mshr.generate_mesh(s, resolution)

When I now generate the boundarymesh of mesh using

dolfin.BoundaryMesh(mesh, 'exterior', True)

I get a mesh of the surface at router and the one at rinner. How can I remove the one at rinner?

asked Dec 13, 2014 by thisch FEniCS Novice (580 points)
edited Mar 23, 2015 by thisch
...