-
assigned issue to
LinearOperator can't be used by petsc4py
Issue #336
resolved
PETScLinearOperator.mat()
returns petsc4py.PETSc.Mat
. But
PETScLinearOperator
can't be initialized. It provides only empty constructor and itsinit_layout
method is protected.LinearOperator
(which works, seetest/unit/la/python/LinearOperator.py
) can't be downcasted toPETScLinearOperator
using staticas_backend_type
or any other member method. Maybe something little is just missing indolfin/swig/la/post.i
.
Comments (3)
-
reporter -
reporter Fix in pull request #148.
-
- changed status to resolved
Fixed in 2d1a700
- Log in to comment