← Back to team overview

yade-dev team mailing list archive

[Branch ~yade-pkg/yade/git-trunk] Rev 3565: -remove cleanInterfaceWithinPore() in Unsat.

 

------------------------------------------------------------
revno: 3565
committer: Chao Yuan <chaoyuan2012@xxxxxxxxx>
timestamp: Fri 2015-01-09 15:03:43 +0100
message:
  -remove cleanInterfaceWithinPore() in Unsat.
modified:
  pkg/pfv/UnsaturatedEngine.cpp


--
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 'pkg/pfv/UnsaturatedEngine.cpp'
--- pkg/pfv/UnsaturatedEngine.cpp	2015-01-09 12:40:09 +0000
+++ pkg/pfv/UnsaturatedEngine.cpp	2015-01-09 14:03:43 +0000
@@ -36,7 +36,6 @@
 		double getMaxImbibitionPc();
 		double getSaturation(bool isSideBoundaryIncluded=false);
 		double getSpecificInterfacialArea();
-		void cleanInterfaceWithinPore();
 
 		void invasion1();
 		void updateReservoirs1();
@@ -185,15 +184,6 @@
     } 
 }
 
-void UnsaturatedEngine::cleanInterfaceWithinPore()
-{
-    RTriangulation& tri = solver->T[solver->currentTes].Triangulation();
-    FiniteCellsIterator cellEnd = tri.finite_cells_end();
-    for ( FiniteCellsIterator cell = tri.finite_cells_begin(); cell != cellEnd; cell++ ) {
-      cell->info().hasInterface=false;
-    }  
-}
-
 void UnsaturatedEngine::invasion()
 {
     if (isPhaseTrapped) invasion1();
@@ -258,8 +248,6 @@
 {
     if(solver->debugOut) {cout<<"----start invasion1----"<<endl;}
 
-    ///clean cell.hasInterface
-    cleanInterfaceWithinPore();
     ///update Pw, Pn according to reservoirInfo.
     updatePressure();
     if(solver->debugOut) {cout<<"----invasion1.updatePressure----"<<endl;}