c3t3 cell info in the .mesh file is subdomain_index()

the recent internal changes in build_triangulation() use subdomain_index(),
which is part of the concept MeshCellBase_3
This commit is contained in:
Jane Tournois 2020-05-11 06:47:13 +02:00
parent 83e007f59e
commit 94d98ed0dc
1 changed files with 2 additions and 2 deletions

View File

@ -49,8 +49,8 @@ int main (int argc, char** argv){
cit != c3t3.triangulation().finite_cells_end();
++cit)
{
CGAL_assertion(cit->info() >= 0);
c3t3.add_to_complex(cit, cit->info());
CGAL_assertion(cit->subdomain_index() >= 0);
c3t3.add_to_complex(cit, cit->subdomain_index());
for(int i=0; i < 4; ++i)
{
if(cit->surface_patch_index(i)>0)