I successfully meshed 2 co-centered spheres; with radii of 0.5 and 1.0;
but the effort raised a question. Actually 2 questions.
I edited mesh_polyhedral_complex.cpp; treating the each sphere as a
The results depend up how I define "incident_subdomains", and ranged
from segmentation fault, through mislabelled tets, to correctly labelled
tets. By "correctly" labelled, I mean the tets in each subdomain have one
id or "color".
So, I consider the labels: Outside=0, Larger sphere=1, Smaller sphere=2. To
remind myself, I saved the surface mesh for the larger sphere in
and the surface mesh for the smaller sphere in patch-12.off.
RESULTS of varying incident_subdomains:
The following assignment works, in that the volume between the smaller and
spheres is red, while the volume in the smaller sphere is green.