Skip to content
This repository has been archived by the owner on Nov 27, 2024. It is now read-only.

Commit

Permalink
petsc_base: getSubMatrix -> createSubMatrix
Browse files Browse the repository at this point in the history
PETSc interface change.
  • Loading branch information
wence- committed Mar 9, 2017
1 parent afff500 commit b12f740
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pyop2/petsc_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -607,8 +607,8 @@ def values(self):
colis = cset.field_ises[self._j]
base._trace.evaluate(set([self._parent]), set())
self._parent.assemble()
mat = self._parent.handle.getSubMatrix(isrow=rowis,
iscol=colis)
mat = self._parent.handle.createSubMatrix(isrow=rowis,
iscol=colis)
return mat[:, :]

@property
Expand Down

0 comments on commit b12f740

Please sign in to comment.