Don't use cell info()

This commit is contained in:
Maxime Gimeno 2020-09-04 12:27:32 +02:00
parent 56af55ecd4
commit 98c80402bc
1 changed files with 2 additions and 2 deletions

View File

@ -151,14 +151,14 @@ bool build_finite_cells(Tr& tr,
Cell_handle c = tr.tds().create_cell(vs[0], vs[1], vs[2], vs[3]);
c->set_subdomain_index(tet[4]); // the cell's info keeps the reference of the tetrahedron
c->info() = tet[4]; // the cell's info keeps the reference of the tetrahedron
//c->info() = tet[4]; // the cell's info keeps the reference of the tetrahedron
if(prevent_domain_0){
CGAL_precondition(tet[4] > 0);
}
else
{
c->set_subdomain_index(max_domain+1); // the cell's info keeps the reference of the tetrahedron
c->info() = max_domain+1; // the cell's info keeps the reference of the tetrahedron
// c->info() = max_domain+1; // the cell's info keeps the reference of the tetrahedron
}
// assign cells to vertices
for(int j=0; j<4; ++j)