Subject: CGAL users discussion list
List archive
- From: Stephane Tayeb <>
- To:
- Subject: Re: [cgal-discuss] Mesh_3 - getting subdomain index
- Date: Wed, 28 Apr 2010 18:23:23 +0200
Ramin H wrote:
Hi,
In /Mesh_3/mesh_standard_facet_criteria.h,
in class Uniform_size_ceriterion,
in do_is_bad(const Facet &f):
I am monitoring subdomain_index of the cell containing f like this:
std::cerr << (int)(f.first->subdomain_index()) << std::endl;
It is always returning 0 for the subdomain index.
Should it not return a number greater than 0 for at least some of the cells?
(My domain is a polyheral domain with only one subdomain.)
-Ramin
Hi Ramin,
If you didn't find an answer by yourself, you may be interested by the following.
If the 3D mesher refines only the surface, it should return 0 (because in this case the mesher updates the status of newly created triangles before updating the status of newly created tetrahedra).
If the 3D mesher is also refines the volume, then it could return something different than 0.
Please let me know in which case you are, and don't hesitate to provide more details about your concern.
NB: I just tried to run the example Mesh_3/mesh_implicit_sphere with the same monitoring as you, and I saw lots of '1'.
Best,
--
Stephane Tayeb
Software engineer - INRIA Sophia Antipolis
Geometrica Project-Team
- [cgal-discuss] Mesh_3 - getting subdomain index, Ramin H, 04/19/2010
- Re: [cgal-discuss] Mesh_3 - getting subdomain index, Stephane Tayeb, 04/28/2010
- Re: [cgal-discuss] Mesh_3 - getting subdomain index, Ramin H, 04/30/2010
- Re: [cgal-discuss] Mesh_3 - getting subdomain index, Stephane Tayeb, 04/28/2010
Archive powered by MHonArc 2.6.16.