← Back to team overview

yade-dev team mailing list archive

[Branch ~yade-pkg/yade/git-trunk] Rev 3805: define constrictions with consistent cell's ids (see https://answers.launchpad.net/yade/+question...

 

------------------------------------------------------------
revno: 3805
committer: Bruno Chareyre <bruno.chareyre@xxxxxxxxxxx>
timestamp: Wed 2016-03-09 10:37:18 +0100
message:
  define constrictions with consistent cell's ids (see https://answers.launchpad.net/yade/+question/288118)
modified:
  lib/triangulation/FlowBoundingSphere.ipp


--
lp:yade
https://code.launchpad.net/~yade-pkg/yade/git-trunk

Your team Yade developers is subscribed to branch lp:yade.
To unsubscribe from this branch go to https://code.launchpad.net/~yade-pkg/yade/git-trunk/+edit-subscription
=== modified file 'lib/triangulation/FlowBoundingSphere.ipp'
--- lib/triangulation/FlowBoundingSphere.ipp	2015-09-17 14:08:41 +0000
+++ lib/triangulation/FlowBoundingSphere.ipp	2016-03-09 09:37:18 +0000
@@ -690,7 +690,7 @@
 		rn.push_back(normal[0]);
 		rn.push_back(normal[1]);
 		rn.push_back(normal[2]);
-		Constriction cons (pair<int,int>(f_it->first->info().index,f_it->first->neighbor(f_it->second)->info().index),rn);
+		Constriction cons (pair<int,int>(f_it->first->info().id(),f_it->first->neighbor(f_it->second)->info().id()),rn);
 		constrictions.push_back(cons);
 	}
 	return constrictions;