the convergence criterion does not need to check "is_in_domain" for incident faces

anyway we do not compute the criterion for constrained vertices, nor for non-moving vertices
This commit is contained in:
Jane Tournois 2017-11-13 15:31:36 +01:00
parent e499208f5c
commit e888bd46c1
1 changed files with 1 additions and 2 deletions

View File

@ -307,8 +307,7 @@ private:
// Find the minimum value // Find the minimum value
do do
{ {
if(face->is_in_domain()) min_sqr = (std::min)(min_sqr, sq_circumradius(face));
min_sqr = (std::min)(min_sqr, sq_circumradius(face));
face++; face++;
} }
while(face != end); while(face != end);