fix default cell_selector for when input is a C3t3

only cells with a subdomain != 0 should be remeshed
This commit is contained in:
Jane Tournois 2023-10-06 15:17:15 +02:00
parent 177b77da63
commit f148d95cce
1 changed files with 3 additions and 3 deletions

View File

@ -394,13 +394,13 @@ void tetrahedral_isotropic_remeshing(
typedef typename Tr::Cell_handle Cell_handle;
typedef typename internal_np::Lookup_named_param_def <
internal_np::cell_selector_t,
internal_np::cell_selector_t,
NamedParameters,
Constant_property_map<Cell_handle, bool>//default
Tetrahedral_remeshing::internal::All_cells_selected<Tr>//default
> ::type SelectionFunctor;
SelectionFunctor cell_select
= choose_parameter(get_parameter(np, internal_np::cell_selector),
Constant_property_map<Cell_handle, bool>(true));
Tetrahedral_remeshing::internal::All_cells_selected<Tr>());
typedef std::pair<typename Tr::Vertex_handle, typename Tr::Vertex_handle> Edge_vv;
typedef typename internal_np::Lookup_named_param_def <