← Back to team overview

yade-dev team mailing list archive

[Branch ~yade-pkg/yade/git-trunk] Rev 3858: Fix compilation.

 

------------------------------------------------------------
revno: 3858
committer: Anton Gladky <gladky.anton@xxxxxxxxx>
timestamp: Mon 2014-03-31 15:45:16 +0200
message:
  Fix compilation.
modified:
  lib/triangulation/PeriodicFlow.hpp


--
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/PeriodicFlow.hpp'
--- lib/triangulation/PeriodicFlow.hpp	2014-03-21 18:47:45 +0000
+++ lib/triangulation/PeriodicFlow.hpp	2014-03-31 13:45:16 +0000
@@ -204,8 +204,8 @@
 					pass+=1;
 					CVector l = p1 - p2;
 					distance = sqrt(l.squared_length());
-					if (!rAverage) radius = 2* computeHydraulicRadius(cell, j);
-					else radius = (computeEffectiveRadius(cell, j)+computeEquivalentRadius(cell,j))*0.5;
+					if (!rAverage) radius = 2* this->computeHydraulicRadius(cell, j);
+					else radius = (this->computeEffectiveRadius(cell, j)+this->computeEquivalentRadius(cell,j))*0.5;
 					if (radius<0) NEG++;
 					else POS++;
 					if (radius==0) {
@@ -247,8 +247,8 @@
 // 					}
 					if(permeabilityMap){
 						CellHandle c = cell;
-						cell->info().s = cell->info().s + k*distance/fluidArea*volumePoreVoronoiFraction (c,j);
-						volume_sub_pore += volumePoreVoronoiFraction (c,j);
+						cell->info().s = cell->info().s + k*distance/fluidArea*this->volumePoreVoronoiFraction (c,j);
+						volume_sub_pore += this->volumePoreVoronoiFraction (c,j);
 					}
 				}
 			}