Skip to Content.
Sympa Menu

cgal-discuss - [cgal-discuss] 3D meshing error - using scalar field to control facet distance?

Subject: CGAL users discussion list

List archive

[cgal-discuss] 3D meshing error - using scalar field to control facet distance?


Chronological Thread 
  • From: vargap <>
  • To:
  • Subject: [cgal-discuss] 3D meshing error - using scalar field to control facet distance?
  • Date: Sat, 5 Jan 2013 13:44:31 -0800 (PST)

Dear All,

I have three scalar fields of type Mesh_constant_domain_field_3 which I'd
like to use as sizing fields to control the
- facet size
- facet distance
- cell size

of the c3t3 (Mesh_complex_3_in_triangulation_3) mesher by means of the
Mesh_criteria_3, similarly to the example '51.3.4 Using Variable Sizing
Field / Different Sizing Field for Different Subdomains' provided in the
online manual.

My addition compared to that example would be:

Mesh_criteria criteria(facet_angle=30, facet_size=size_facet,
facet_distance=size_facet_dist,
cell_radius_edge_ratio=3, cell_size=size_cell);

with size_facet, size_facet_dist and size_cell being of type
CGAL::Mesh_constant_domain_field_3<Mesh_domain::R,Mesh_domain::Index>

Even though the manual mentions that all of these three criteria can be
spatially variable scalar fields, for some reasons, I cannot compile the
code unless I put a simple scalar value as the facet distance criterion
(scalar field works fine for the other two).

Does anyone have an idea why do I get an error (a very-very long error
message during compilation) here?

Many thanks,
Peter



--
View this message in context:
http://cgal-discuss.949826.n4.nabble.com/3D-meshing-error-using-scalar-field-to-control-facet-distance-tp4656446.html
Sent from the cgal-discuss mailing list archive at Nabble.com.



Archive powered by MHonArc 2.6.18.

Top of Page