Skip to Content.
Sympa Menu

cgal-discuss - [cgal-discuss] Error in debug not in release with make_mesh_3

Subject: CGAL users discussion list

List archive

[cgal-discuss] Error in debug not in release with make_mesh_3


Chronological Thread 
  • From: ju21 <>
  • To:
  • Subject: [cgal-discuss] Error in debug not in release with make_mesh_3
  • Date: Tue, 14 Aug 2012 02:01:25 -0700 (PDT)

Hi everyone,

I'm using the triangulation method *make_mesh_3()* to tetrahedralize any 3D
mesh with *detect_features() *to make tetrahedron as big as possible. That's
why I use this criteria :

*Mesh_criteria criteria( facet_angle = 20 )*

In release mode it works but in debug mode it generates the following error
:

*terminate called after throwing an instance of
'CGAL::Precondition_exception'
what(): CGAL ERROR: precondition violation!
Expr: sp > 0
File:
/net/rnd/src/cgal/CGAL-4.0.2/linux-x86_64-gcc-4.1.3/include/CGAL/Mesh_3/Protect_edges_sizing_field.h
Line: 629
Abort*

So, I add some parameters to complete the criteria like *edge_size = 5 * and
*cell_radius_edge_ratio = 4 * to have big tetrahedron but it doesn't work
like before, in release mode.
Any idea to help me fix this problem setting the parameters correctly ?

Thanks a lot

Julie



--
View this message in context:
http://cgal-discuss.949826.n4.nabble.com/Error-in-debug-not-in-release-with-make-mesh-3-tp4655710.html
Sent from the cgal-discuss mailing list archive at Nabble.com.



Archive powered by MHonArc 2.6.18.

Top of Page