@@ -73,7 +73,7 @@ class CalculateSignedDistanceFieldP : public Interruptible
7373
7474 for (VMesh::Elem::index_type idx = start; idx < end; idx++)
7575 {
76- checkForInterruption ();
76+ checkForInterruption (this );
7777 Point p, p1, p2;
7878 imesh->get_center (p,idx);
7979
@@ -140,7 +140,7 @@ class CalculateSignedDistanceFieldP : public Interruptible
140140 if (angle < 0 ) val = -(val);
141141 }
142142 }
143- checkForInterruption ();
143+ checkForInterruption (this );
144144 ofield->set_value (val,idx);
145145 if (proc == 0 ) { cnt++; if (cnt == 100 ) { pr_->update_progress_max (idx,end); cnt = 0 ; } }
146146 }
@@ -224,7 +224,7 @@ class CalculateSignedDistanceFieldP : public Interruptible
224224 if (angle < 0.0 ) val = -(val);
225225 }
226226 }
227- checkForInterruption ();
227+ checkForInterruption (this );
228228 ofield->set_value (val,idx);
229229 if (proc == 0 ) { cnt++; if (cnt == 100 ) { pr_->update_progress_max (idx,end); cnt = 0 ; } }
230230 }
@@ -242,7 +242,7 @@ class CalculateSignedDistanceFieldP : public Interruptible
242242
243243 for (VMesh::ENode::index_type idx=start; idx < end; idx++)
244244 {
245- checkForInterruption ();
245+ checkForInterruption (this );
246246 Point p, p1, p2;
247247 imesh->get_center (p,idx);
248248 objmesh->find_closest_elem (val,p2,fidx,p);
@@ -308,7 +308,7 @@ class CalculateSignedDistanceFieldP : public Interruptible
308308 if (angle < 0.0 ) val = -(val);
309309 }
310310 }
311- checkForInterruption ();
311+ checkForInterruption (this );
312312 ofield->set_evalue (val,idx);
313313 if (proc == 0 ) { cnt++; if (cnt == 100 ) { pr_->update_progress_max (idx,end); cnt = 0 ; } }
314314 }
@@ -338,7 +338,7 @@ class CalculateSignedDistanceFieldP : public Interruptible
338338
339339 for (VMesh::Elem::index_type idx = start; idx < end; idx++)
340340 {
341- checkForInterruption ();
341+ checkForInterruption (this );
342342 Point p, p1, p2;
343343 imesh->get_center (p,idx);
344344
@@ -405,7 +405,7 @@ class CalculateSignedDistanceFieldP : public Interruptible
405405 if (angle < 0 ) val = -(val);
406406 }
407407 }
408- checkForInterruption ();
408+ checkForInterruption (this );
409409 ofield->set_value (val,idx);
410410 if (objfield->is_scalar ())
411411 {
@@ -442,7 +442,7 @@ class CalculateSignedDistanceFieldP : public Interruptible
442442
443443 for (VMesh::Node::index_type idx =start; idx <end; idx++)
444444 {
445- checkForInterruption ();
445+ checkForInterruption (this );
446446 Point p, p1, p2;
447447 imesh->get_center (p,idx);
448448 objmesh->find_closest_elem (val,p2,coords,fidx,p);
@@ -509,7 +509,7 @@ class CalculateSignedDistanceFieldP : public Interruptible
509509 if (angle < 0.0 ) val = -(val);
510510 }
511511 }
512- checkForInterruption ();
512+ checkForInterruption (this );
513513 ofield->set_value (val,idx);
514514 if (objfield->is_scalar ())
515515 {
@@ -546,7 +546,7 @@ class CalculateSignedDistanceFieldP : public Interruptible
546546
547547 for (VMesh::ENode::index_type idx=start; idx < end; idx++)
548548 {
549- checkForInterruption ();
549+ checkForInterruption (this );
550550 Point p, p1, p2;
551551 imesh->get_center (p,idx);
552552 objmesh->find_closest_elem (val,p2,coords,fidx,p);
@@ -612,7 +612,7 @@ class CalculateSignedDistanceFieldP : public Interruptible
612612 if (angle < 0.0 ) val = -(val);
613613 }
614614 }
615- checkForInterruption ();
615+ checkForInterruption (this );
616616 ofield->set_evalue (val,idx);
617617 if (objfield->is_scalar ())
618618 {
0 commit comments