← Back to team overview

yade-dev team mailing list archive

[Branch ~yade-pkg/yade/git-trunk] Rev 3625: Fix error in computing cell->info.solidLine

 

------------------------------------------------------------
revno: 3625
committer: Chao Yuan <chaoyuan2012@xxxxxxxxx>
timestamp: Thu 2015-03-26 10:17:44 +0100
message:
  Fix error in computing cell->info.solidLine
modified:
  lib/triangulation/Network.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/Network.ipp'
--- lib/triangulation/Network.ipp	2014-07-17 04:21:07 +0000
+++ lib/triangulation/Network.ipp	2015-03-26 09:17:44 +0000
@@ -587,8 +587,8 @@
 		VertexHandle SV2 = cell->vertex(facetVertices[j][facetRe2]);
 		VertexHandle SV3 = cell->vertex(facetVertices[j][facetF1]);
 
-		cell->info().solidLine[j][facetRe1]=lineSolidFacet(SV2->point(), SV3->point(), SV1->point());
-		cell->info().solidLine[j][facetRe2]=lineSolidFacet(SV3->point(), SV1->point(), SV2->point());
+		cell->info().solidLine[j][facetRe1]=lineSolidFacet(SV1->point(), SV2->point(), SV3->point());
+		cell->info().solidLine[j][facetRe2]=lineSolidFacet(SV2->point(), SV1->point(), SV3->point());
 
 		Boundary &bi =  boundary(SV3->info().id());
 		double A [3], B[3];