dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #04953
NewtonSolver and PyDOLFIN
Garth, would it be possible to modify the interface of the
NewtonSolver to avoid the following problem with PyDOLFIN in
combination with --enable-petsc:
../../src/kernel/nls/dolfin/NewtonSolver.h:39: Warning(509):
Overloaded dolfin::NewtonSolver(dolfin::KrylovMethod) is shadowed by
dolfin::NewtonSolver(dolfin::Matrix::Type) at
../../src/kernel/nls/dolfin/NewtonSolver.h:35.
The default argument of the third constructor make the second and
third constructors the same when compiling with PETSc support.
/Anders