[cig-commits] r4392 -
short/3D/PyLith/branches/pylith-0.8/pylith3d/module
knepley at geodynamics.org
knepley at geodynamics.org
Fri Aug 18 14:34:34 PDT 2006
Author: knepley
Date: 2006-08-18 14:34:34 -0700 (Fri, 18 Aug 2006)
New Revision: 4392
Modified:
short/3D/PyLith/branches/pylith-0.8/pylith3d/module/scanner.cc
Log:
Activated matrix preallocation in serial
- This will break parallel code right now
Modified: short/3D/PyLith/branches/pylith-0.8/pylith3d/module/scanner.cc
===================================================================
--- short/3D/PyLith/branches/pylith-0.8/pylith3d/module/scanner.cc 2006-08-18 21:13:19 UTC (rev 4391)
+++ short/3D/PyLith/branches/pylith-0.8/pylith3d/module/scanner.cc 2006-08-18 21:34:34 UTC (rev 4392)
@@ -380,7 +380,7 @@
ierr = PetscObjectCompose((PetscObject) sol, "injection", (PetscObject) injection);
ierr = MatSetFromOptions(A);
- //ierr = preallocateMatrix(A, mesh, mesh->getField("displacement"));
+ ierr = preallocateMatrix(mesh, mesh->getSection("displacement"), mesh->getGlobalOrder("displacement"), A);
journal::debug_t debug("pylith3d");
debug
More information about the cig-commits
mailing list