Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] C3T3 - Inconsistent number of cells in .mesh file and c3t3 stream output

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] C3T3 - Inconsistent number of cells in .mesh file and c3t3 stream output


Chronological Thread 
  • From: Ramin H <>
  • To:
  • Subject: Re: [cgal-discuss] C3T3 - Inconsistent number of cells in .mesh file and c3t3 stream output
  • Date: Thu, 8 Apr 2010 11:49:54 -0400
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=ndFtRqv67+oLtVocTU/PX/EX+y0pY349mEjGSQcJPRIOd0YomISSehddnpI16DCGN8 h7/xRu6d3uFX0jIunCAw1VzBNSKTkonW39v8hfNZvbl0ijNi3fww+af8vZffvA3sFAaL 2VB27d8auZaCV2SwlSVeaMW5bVbpwnlfeAYHg=

Thank you. That's right. There are exactly 35274 tetrahedra with subdomain index equal to 1.

So what are the rest tetrahedra with a zero index for?

I am trying to understand how exactly C3T3 works because I have issues with finding surface facets and their coherent normal vectors.

I appreciate your help.
-Ramin

On Thu, Apr 8, 2010 at 11:26 AM, Stephane Tayeb <> wrote:
Ramin H wrote:
Hi,
I save a c3t3 into out.mesh and it reports 35274 tetrahedra.
I save the same c3t3 using "fileStream << c3t3.triangulation()" and the file
shows 41444 cells.

Why are these numbers inconsistent?

-Ramin
PS. The list does not allow me to attach the files (best compression size is
1440K). I can email it if needed.



Hi Ramin,

The triangulation file contains all the tetrahedra of the triangulation, whereas the .mesh file contains only the tetrahedra of the triangulation which belong to the discretization of the input domain.

This explains probably why your two numbers differ. Let me know if it's not the case (you could for example check in the triangulation file how many tetrahedra have a non-zero subdomain index).

Stephane.

--
Stephane Tayeb
Software engineer - INRIA Sophia Antipolis
Geometrica Project-Team

--
You are currently subscribed to cgal-discuss.
To unsubscribe or access the archives, go to
https://lists-sop.inria.fr/wws/info/cgal-discuss





Archive powered by MHonArc 2.6.16.

Top of Page