Skip to Content.
Sympa Menu

cgal-discuss - [cgal-discuss] Re: Mesh 3D - nodes subdomain index

Subject: CGAL users discussion list

List archive

[cgal-discuss] Re: Mesh 3D - nodes subdomain index


Chronological Thread 
  • From: Ianic <>
  • To:
  • Subject: [cgal-discuss] Re: Mesh 3D - nodes subdomain index
  • Date: Thu, 20 May 2010 08:28:17 -0700 (PDT)


Dear Stephane,

Thank you for your reply. I mesh a single-domain geometry that has one cell
family and one facet family, i.e. boundary of my domain. I essentially
follow the liver example in doing this, and I only change the meshing
criteria but keep the optimization parameters at their default values. I
believe it implies that there is a perturbation step at the end.

In my case I actually relied on vertices' tags, because I have to:

- remove unreferenced vertices that are not part of any cell (our finite
element code won't accept a mesh otherwise). I thought it would be easier to
NOT output them in CGAL in the first place. For that I added a small if()
check in the File_medit.h file to write out a vertex only if its tag is not
-1.
- I also need to identify what vertices lie on a boundary, i.e. belong to
facet. My understanding was that if a node belongs to a boundary facet it
means that, following your terminology, it has dim=2 and therefore it will
have a facet tag (which is ok since I only have one facet family).

As a reference, my output mesh had appr. 900 000 vertices, of which 430-ish
had a tag of "-1" and of those only 2 belonged to a c3t3 cell.
--
View this message in context:
http://cgal-discuss.949826.n4.nabble.com/Mesh-3D-nodes-subdomain-index-tp2221681p2224730.html
Sent from the cgal-discuss mailing list archive at Nabble.com.



Archive powered by MHonArc 2.6.16.

Top of Page