[cig-commits] r15895 - in short/3D/PyLith/trunk/libsrc: bc faults feassemble
brad at geodynamics.org
brad at geodynamics.org
Wed Oct 28 21:58:27 PDT 2009
Author: brad
Date: 2009-10-28 21:58:26 -0700 (Wed, 28 Oct 2009)
New Revision: 15895
Modified:
short/3D/PyLith/trunk/libsrc/bc/AbsorbingDampers.cc
short/3D/PyLith/trunk/libsrc/bc/Neumann.cc
short/3D/PyLith/trunk/libsrc/faults/FaultCohesive.cc
short/3D/PyLith/trunk/libsrc/faults/FaultCohesiveKin.cc
short/3D/PyLith/trunk/libsrc/feassemble/ElasticityExplicit.cc
short/3D/PyLith/trunk/libsrc/feassemble/ElasticityImplicit.cc
Log:
Update to current petsc-dev (updateAdd(visitor) -> updateClosure(visitor)).
Modified: short/3D/PyLith/trunk/libsrc/bc/AbsorbingDampers.cc
===================================================================
--- short/3D/PyLith/trunk/libsrc/bc/AbsorbingDampers.cc 2009-10-29 00:31:04 UTC (rev 15894)
+++ short/3D/PyLith/trunk/libsrc/bc/AbsorbingDampers.cc 2009-10-29 04:58:26 UTC (rev 15895)
@@ -357,7 +357,7 @@
// Assemble cell contribution into field
residualVisitor.clear();
- sieveSubMesh->updateAdd(*c_iter, residualVisitor);
+ sieveSubMesh->updateClosure(*c_iter, residualVisitor);
} // for
} // integrateResidual
Modified: short/3D/PyLith/trunk/libsrc/bc/Neumann.cc
===================================================================
--- short/3D/PyLith/trunk/libsrc/bc/Neumann.cc 2009-10-29 00:31:04 UTC (rev 15894)
+++ short/3D/PyLith/trunk/libsrc/bc/Neumann.cc 2009-10-29 04:58:26 UTC (rev 15895)
@@ -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/trunk/libsrc/faults/FaultCohesive.cc
===================================================================
--- short/3D/PyLith/trunk/libsrc/faults/FaultCohesive.cc 2009-10-29 00:31:04 UTC (rev 15894)
+++ short/3D/PyLith/trunk/libsrc/faults/FaultCohesive.cc 2009-10-29 04:58:26 UTC (rev 15895)
@@ -431,7 +431,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/trunk/libsrc/faults/FaultCohesiveKin.cc
===================================================================
--- short/3D/PyLith/trunk/libsrc/faults/FaultCohesiveKin.cc 2009-10-29 00:31:04 UTC (rev 15894)
+++ short/3D/PyLith/trunk/libsrc/faults/FaultCohesiveKin.cc 2009-10-29 04:58:26 UTC (rev 15895)
@@ -414,7 +414,7 @@
#endif
residualVisitor.clear();
- sieveMesh->updateAdd(*c_iter, residualVisitor);
+ sieveMesh->updateClosure(*c_iter, residualVisitor);
} // for
// FIX THIS
Modified: short/3D/PyLith/trunk/libsrc/feassemble/ElasticityExplicit.cc
===================================================================
--- short/3D/PyLith/trunk/libsrc/feassemble/ElasticityExplicit.cc 2009-10-29 00:31:04 UTC (rev 15894)
+++ short/3D/PyLith/trunk/libsrc/feassemble/ElasticityExplicit.cc 2009-10-29 04:58:26 UTC (rev 15895)
@@ -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
Modified: short/3D/PyLith/trunk/libsrc/feassemble/ElasticityImplicit.cc
===================================================================
--- short/3D/PyLith/trunk/libsrc/feassemble/ElasticityImplicit.cc 2009-10-29 00:31:04 UTC (rev 15894)
+++ short/3D/PyLith/trunk/libsrc/feassemble/ElasticityImplicit.cc 2009-10-29 04:58:26 UTC (rev 15895)
@@ -308,7 +308,7 @@
// Assemble cell contribution into field
_logger->eventBegin(updateEvent);
residualVisitor.clear();
- sieveMesh->updateAdd(*c_iter, residualVisitor);
+ sieveMesh->updateClosure(*c_iter, residualVisitor);
// residualSection->view("After stress contribution");
_logger->eventEnd(updateEvent);
} // for
More information about the CIG-COMMITS
mailing list