complete Update_c3t3 with remove_from_complex when appropriate

This commit is contained in:
Jane Tournois 2014-01-30 18:25:21 +01:00 committed by Laurent Rineau
parent d497281da1
commit 53b5ea0a27
1 changed files with 10 additions and 2 deletions

View File

@ -828,7 +828,11 @@ private:
{
c3t3_.add_to_complex(ch,*subdomain);
}
else if(update)
{
c3t3_.remove_from_complex(ch);
}
return subdomain;
}
@ -873,7 +877,11 @@ private:
facet.first->set_facet_surface_center(facet.second,surface_center);
// Update status in c3t3
c3t3_.add_to_complex(facet,*surface);
c3t3_.add_to_complex(facet,*surface);
}
else if(update)
{
c3t3_.remove_from_complex(facet);
}
return surface;