[cig-commits] r15896 - in short/3D/PyLith/branches/pylith-friction/libsrc: bc faults feassemble

brad at geodynamics.org brad at geodynamics.org
Wed Oct 28 21:58:42 PDT 2009


Author: brad
Date: 2009-10-28 21:58:41 -0700 (Wed, 28 Oct 2009)
New Revision: 15896

Modified:
   short/3D/PyLith/branches/pylith-friction/libsrc/bc/AbsorbingDampers.cc
   short/3D/PyLith/branches/pylith-friction/libsrc/bc/Neumann.cc
   short/3D/PyLith/branches/pylith-friction/libsrc/faults/FaultCohesiveDyn.cc
   short/3D/PyLith/branches/pylith-friction/libsrc/faults/FaultCohesiveDynL.cc
   short/3D/PyLith/branches/pylith-friction/libsrc/faults/FaultCohesiveKin.cc
   short/3D/PyLith/branches/pylith-friction/libsrc/feassemble/ElasticityExplicit.cc
   short/3D/PyLith/branches/pylith-friction/libsrc/feassemble/ElasticityImplicit.cc
Log:
Update to current petsc-dev (updateAdd(visitor) -> updateClosure(visitor)).

Modified: short/3D/PyLith/branches/pylith-friction/libsrc/bc/AbsorbingDampers.cc
===================================================================
--- short/3D/PyLith/branches/pylith-friction/libsrc/bc/AbsorbingDampers.cc	2009-10-29 04:58:26 UTC (rev 15895)
+++ short/3D/PyLith/branches/pylith-friction/libsrc/bc/AbsorbingDampers.cc	2009-10-29 04:58:41 UTC (rev 15896)
@@ -357,7 +357,7 @@
 
     // Assemble cell contribution into field
     residualVisitor.clear();
-    sieveSubMesh->updateAdd(*c_iter, residualVisitor);
+    sieveSubMesh->updateClosure(*c_iter, residualVisitor);
   } // for
 } // integrateResidual
 
@@ -581,7 +581,7 @@
     
     // Assemble cell contribution into lumped matrix.
     jacobianVisitor.clear();
-    sieveMesh->updateAdd(*c_iter, jacobianVisitor);
+    sieveMesh->updateClosure(*c_iter, jacobianVisitor);
   } // for
 
   _needNewJacobian = false;

Modified: short/3D/PyLith/branches/pylith-friction/libsrc/bc/Neumann.cc
===================================================================
--- short/3D/PyLith/branches/pylith-friction/libsrc/bc/Neumann.cc	2009-10-29 04:58:26 UTC (rev 15895)
+++ short/3D/PyLith/branches/pylith-friction/libsrc/bc/Neumann.cc	2009-10-29 04:58:41 UTC (rev 15896)
@@ -158,7 +158,7 @@
     } // for
     // Assemble cell contribution into field
     residualVisitor.clear();
-    subSieveMesh->updateAdd(*c_iter, residualVisitor);
+    subSieveMesh->updateClosure(*c_iter, residualVisitor);
 
     PetscLogFlops(numQuadPts*(1+numBasis*(1+numBasis*(1+2*spaceDim))));
   } // for

Modified: short/3D/PyLith/branches/pylith-friction/libsrc/faults/FaultCohesiveDyn.cc
===================================================================
--- short/3D/PyLith/branches/pylith-friction/libsrc/faults/FaultCohesiveDyn.cc	2009-10-29 04:58:26 UTC (rev 15895)
+++ short/3D/PyLith/branches/pylith-friction/libsrc/faults/FaultCohesiveDyn.cc	2009-10-29 04:58:41 UTC (rev 15896)
@@ -414,7 +414,7 @@
 
     // Assemble cell contribution into field
     residualVisitor.clear();
-    sieveMesh->updateAdd(*c_iter, residualVisitor);
+    sieveMesh->updateClosure(*c_iter, residualVisitor);
 
     PetscLogFlops(numQuadPts*(0)); // :TODO: Count number of operations
   } // for

Modified: short/3D/PyLith/branches/pylith-friction/libsrc/faults/FaultCohesiveDynL.cc
===================================================================
--- short/3D/PyLith/branches/pylith-friction/libsrc/faults/FaultCohesiveDynL.cc	2009-10-29 04:58:26 UTC (rev 15895)
+++ short/3D/PyLith/branches/pylith-friction/libsrc/faults/FaultCohesiveDynL.cc	2009-10-29 04:58:41 UTC (rev 15896)
@@ -402,7 +402,7 @@
 #endif
 
     residualVisitor.clear();
-    sieveMesh->updateAdd(*c_iter, residualVisitor);
+    sieveMesh->updateClosure(*c_iter, residualVisitor);
   } // for
 
   // FIX THIS
@@ -1401,7 +1401,7 @@
       } // for
     } // for
     areaVisitor.clear();
-    faultSieveMesh->updateAdd(*c_iter, areaVisitor);
+    faultSieveMesh->updateClosure(*c_iter, areaVisitor);
 
     PetscLogFlops( numQuadPts*(1+numBasis*2) );
   } // for

Modified: short/3D/PyLith/branches/pylith-friction/libsrc/faults/FaultCohesiveKin.cc
===================================================================
--- short/3D/PyLith/branches/pylith-friction/libsrc/faults/FaultCohesiveKin.cc	2009-10-29 04:58:26 UTC (rev 15895)
+++ short/3D/PyLith/branches/pylith-friction/libsrc/faults/FaultCohesiveKin.cc	2009-10-29 04:58:41 UTC (rev 15896)
@@ -407,7 +407,7 @@
 #endif
 
     residualVisitor.clear();
-    sieveMesh->updateAdd(*c_iter, residualVisitor);
+    sieveMesh->updateClosure(*c_iter, residualVisitor);
   } // for
 
   // FIX THIS
@@ -1080,7 +1080,7 @@
 #endif
 
     solutionVisitor.clear();
-    sieveMesh->updateAdd(*c_iter, solutionVisitor);
+    sieveMesh->updateClosure(*c_iter, solutionVisitor);
   } // for
 
   // FIX THIS
@@ -1535,7 +1535,7 @@
       } // for
     } // for
     areaVisitor.clear();
-    faultSieveMesh->updateAdd(*c_iter, areaVisitor);
+    faultSieveMesh->updateClosure(*c_iter, areaVisitor);
 
     PetscLogFlops( numQuadPts*(1+numBasis*2) );
   } // for

Modified: short/3D/PyLith/branches/pylith-friction/libsrc/feassemble/ElasticityExplicit.cc
===================================================================
--- short/3D/PyLith/branches/pylith-friction/libsrc/feassemble/ElasticityExplicit.cc	2009-10-29 04:58:26 UTC (rev 15895)
+++ short/3D/PyLith/branches/pylith-friction/libsrc/feassemble/ElasticityExplicit.cc	2009-10-29 04:58:41 UTC (rev 15896)
@@ -282,7 +282,7 @@
     // Assemble cell contribution into field
     _logger->eventBegin(updateEvent);
     residualVisitor.clear();
-    sieveMesh->updateAdd(*c_iter, residualVisitor);
+    sieveMesh->updateClosure(*c_iter, residualVisitor);
     _logger->eventEnd(updateEvent);
   } // for
 } // integrateResidual
@@ -555,7 +555,7 @@
     // Assemble cell contribution into lumped matrix.
     _logger->eventBegin(updateEvent);
     jacobianVisitor.clear();
-    sieveMesh->updateAdd(*c_iter, jacobianVisitor);
+    sieveMesh->updateClosure(*c_iter, jacobianVisitor);
     _logger->eventEnd(updateEvent);
   } // for
 

Modified: short/3D/PyLith/branches/pylith-friction/libsrc/feassemble/ElasticityImplicit.cc
===================================================================
--- short/3D/PyLith/branches/pylith-friction/libsrc/feassemble/ElasticityImplicit.cc	2009-10-29 04:58:26 UTC (rev 15895)
+++ short/3D/PyLith/branches/pylith-friction/libsrc/feassemble/ElasticityImplicit.cc	2009-10-29 04:58:41 UTC (rev 15896)
@@ -307,7 +307,7 @@
     // Assemble cell contribution into field
     _logger->eventBegin(updateEvent);
     residualVisitor.clear();
-    sieveMesh->updateAdd(*c_iter, residualVisitor);
+    sieveMesh->updateClosure(*c_iter, residualVisitor);
     _logger->eventEnd(updateEvent);
   } // for
 } // integrateResidual



More information about the CIG-COMMITS mailing list