Thanks. One more question. Should the vactor (b) be assembled after calling VecSetValues() ?
From: [email protected] To: petsc-users at mcs.anl.gov Date: Mon, 29 Nov 2010 11:46:57 -0600 Subject: [petsc-users] Should the vactor be partitioned? I am trying to solver a sparse linear system (Ax=b) by PETSc. I noticed the parallel partitioning of the matrix is determined by PETSc at runtime by calling MatGetOwnerShipRange(). I am wondering if the right hand side vector (b) should be partitioned by Calling VecGetOwnerShipRange(), Since I didn't see it is called in example code of ex2f.F on webpage of : http://www.mcs.anl.gov/petsc/petsc-as/snapshots/petsc-2.3.3/src/ksp/ksp/examples/tutorials/ex2f.F.html . Thanks. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20101129/ed01d9d3/attachment.htm>
