dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #22726
[Bug 767050] [NEW] PETScUserPreconditioner is not defined
Public bug reported:
I suspect I found another swig problem: it is not possible in Python to derive a class from
PETScUserPreconditioner. The code
from dolfin import *
class DiagonalPreconditioner(PETScUserPreconditioner) :
def __init__(self) :
PETScUserPreconditioner.__init__(self)
fails with
NameError: name 'PETScUserPreconditioner' is not defined
(The corresponding line in dolfin/swig/import/la.i is indeed missing, but I'm not sure if that
is the whole problem.)
** Affects: dolfin
Importance: Undecided
Status: New
** Tags: petsc preconditioner python
--
You received this bug notification because you are a member of DOLFIN
Team, which is subscribed to DOLFIN.
https://bugs.launchpad.net/bugs/767050
Title:
PETScUserPreconditioner is not defined
Status in DOLFIN:
New
Bug description:
I suspect I found another swig problem: it is not possible in Python to derive a class from
PETScUserPreconditioner. The code
from dolfin import *
class DiagonalPreconditioner(PETScUserPreconditioner) :
def __init__(self) :
PETScUserPreconditioner.__init__(self)
fails with
NameError: name 'PETScUserPreconditioner' is not defined
(The corresponding line in dolfin/swig/import/la.i is indeed missing, but I'm not sure if that
is the whole problem.)
Follow ups
References