[cig-commits] r7099 - short/3D/PyLith/trunk/modulesrc/topology
knepley at geodynamics.org
knepley at geodynamics.org
Fri Jun 8 06:18:03 PDT 2007
Author: knepley
Date: 2007-06-08 06:18:02 -0700 (Fri, 08 Jun 2007)
New Revision: 7099
Modified:
short/3D/PyLith/trunk/modulesrc/topology/topology.pyxe.src
Log:
Fixed preallocation by returning to AIJ matrices
Modified: short/3D/PyLith/trunk/modulesrc/topology/topology.pyxe.src
===================================================================
--- short/3D/PyLith/trunk/modulesrc/topology/topology.pyxe.src 2007-06-08 04:43:14 UTC (rev 7098)
+++ short/3D/PyLith/trunk/modulesrc/topology/topology.pyxe.src 2007-06-08 13:18:02 UTC (rev 7099)
@@ -234,7 +234,9 @@
PetscMat* mat = new PetscMat;
assert(0 != mat);
- PetscErrorCode err = MeshCreateMatrix(*mesh, *field, MATMPIBAIJ, mat);
+ // Should make type settable by user
+ //PetscErrorCode err = MeshCreateMatrix(*mesh, *field, MATMPIBAIJ, mat);
+ PetscErrorCode err = MeshCreateMatrix(*mesh, *field, MATAIJ, mat);
if (err) {
PetscError(__LINE__,__FUNCT__,__FILE__,__SDIR__,err,0," ");
throw std::runtime_error("Could not create PETSc Matrix.");
More information about the cig-commits
mailing list