← Back to team overview

yade-dev team mailing list archive

[Branch ~yade-pkg/yade/git-trunk] Rev 3480: rename cellCenter->cellBarycenter (missing in prev. commit)

 

------------------------------------------------------------
revno: 3480
committer: Bruno Chareyre <bruno.chareyre@xxxxxxxxxxx>
timestamp: Wed 2014-10-15 12:12:53 +0200
message:
  rename cellCenter->cellBarycenter (missing in prev. commit)
modified:
  lib/triangulation/FlowBoundingSphere.hpp
  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.hpp'
--- lib/triangulation/FlowBoundingSphere.hpp	2014-10-15 08:42:29 +0000
+++ lib/triangulation/FlowBoundingSphere.hpp	2014-10-15 10:12:53 +0000
@@ -127,7 +127,7 @@
 		//return the list of constriction values
 		vector<double> getConstrictions();
 		vector<Constriction> getConstrictionsFull();
-		CVector cellCenter(CellHandle& cell);
+		CVector cellBarycenter(CellHandle& cell);
 
 		void generateVoxelFile ( );
 		

=== modified file 'lib/triangulation/FlowBoundingSphere.ipp'
--- lib/triangulation/FlowBoundingSphere.ipp	2014-10-15 08:42:29 +0000
+++ lib/triangulation/FlowBoundingSphere.ipp	2014-10-15 10:12:53 +0000
@@ -424,7 +424,7 @@
 }
 
 template <class Tesselation> 
-CVector FlowBoundingSphere<Tesselation>::cellCenter(CellHandle& cell)
+CVector FlowBoundingSphere<Tesselation>::cellBarycenter(CellHandle& cell)
 {
 	CVector center ( 0,0,0 );
 	for ( int k=0;k<4;k++ ) center= center + 0.25* (cell->vertex(k)->point()-CGAL::ORIGIN);