[cig-commits] [commit] knepley/upgrade-petsc-interface: Use zeroAll() (more efficient than zero()). (dff5362)
cig_noreply at geodynamics.org
cig_noreply at geodynamics.org
Fri Jan 17 17:20:44 PST 2014
Repository : ssh://geoshell/pylith
On branch : knepley/upgrade-petsc-interface
Link : https://github.com/geodynamics/pylith/compare/7a219dfd15d0b9fda084e39111a258bc97b47814...a289b5b9fb88708d2d1cdfbaf7bd2f3b7c8d91a4
>---------------------------------------------------------------
commit dff53624a7b26fb23ed0dd119ace72dfb70262dc
Author: Brad Aagaard <baagaard at usgs.gov>
Date: Fri Jan 17 17:18:54 2014 -0800
Use zeroAll() (more efficient than zero()).
>---------------------------------------------------------------
dff53624a7b26fb23ed0dd119ace72dfb70262dc
unittests/libtests/faults/TestFaultCohesiveKin.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/unittests/libtests/faults/TestFaultCohesiveKin.cc b/unittests/libtests/faults/TestFaultCohesiveKin.cc
index 93e7bfe..d3fde60 100644
--- a/unittests/libtests/faults/TestFaultCohesiveKin.cc
+++ b/unittests/libtests/faults/TestFaultCohesiveKin.cc
@@ -729,7 +729,7 @@ pylith::faults::TestFaultCohesiveKin::_initialize(topology::Mesh* const mesh,
residual.setupSolnDof(spaceDim);
fault->setupSolnDof(&residual);
residual.allocate();
- residual.zero();
+ residual.zeroAll();
fields->copyLayout("residual");
More information about the CIG-COMMITS
mailing list