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: Stephane Tayeb <>
  • To:
  • Subject: Re: [cgal-discuss] C3T3 - Inconsistent number of cells in .mesh file and c3t3 stream output
  • Date: Thu, 08 Apr 2010 17:26:34 +0200

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



Archive powered by MHonArc 2.6.16.

Top of Page