[cig-commits] [commit] knepley/upgrade-petsc-interface: Topology: Updated to new DMCreateMatrix() interface (b10003a)

cig_noreply at geodynamics.org cig_noreply at geodynamics.org
Thu Oct 10 09:53:36 PDT 2013


Repository : ssh://geoshell/pylith

On branch  : knepley/upgrade-petsc-interface
Link       : https://github.com/geodynamics/pylith/compare/0000000000000000000000000000000000000000...6b5ddb40724b13328c73e9702f6f00ca998a90ed

>---------------------------------------------------------------

commit b10003a1af88ae6bcdf696ca13bb939d9e0581ee
Author: Matthew G. Knepley <knepley at gmail.com>
Date:   Thu Oct 10 11:54:08 2013 -0500

    Topology: Updated to new DMCreateMatrix() interface


>---------------------------------------------------------------

b10003a1af88ae6bcdf696ca13bb939d9e0581ee
 libsrc/pylith/topology/Jacobian.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libsrc/pylith/topology/Jacobian.cc b/libsrc/pylith/topology/Jacobian.cc
index 0603fea..b7eee25 100644
--- a/libsrc/pylith/topology/Jacobian.cc
+++ b/libsrc/pylith/topology/Jacobian.cc
@@ -43,7 +43,7 @@ pylith::topology::Jacobian::Jacobian(const Field& field,
   const int blockFlag = (blockOkay) ? -1 : 1;
 
   const char* msg = "Could not create PETSc sparse matrix associated with system Jacobian.";
-  PetscErrorCode err = DMCreateMatrix(dmMesh, matrixType, &_matrix);PYLITH_CHECK_ERROR_MSG(err, msg);
+  PetscErrorCode err = DMCreateMatrix(dmMesh, &_matrix);PYLITH_CHECK_ERROR_MSG(err, msg);
 
   _type = matrixType;
 



More information about the CIG-COMMITS mailing list