This is a read only copy of the old FEniCS QA forum. Please visit the new QA forum to ask questions

No set_nullspace() in KrylovSolver???

+1 vote

I try to run the demo of singular poisson, but I get the error message "AttributeError: 'KrylovSolver' object has no attribute 'set_nullspace' ''.

Thanks in advance!

The demo is here

asked Jul 1, 2017 by fanronghong FEniCS User (1,680 points)

1 Answer

+2 votes
 
Best answer

The link you posted is for FEniCS 1.3.
Singular poisson demo for 2017.1.0: link.

The difference seems to be that in 1.3 the null space was attached to the solver, now you attach it to the matrix.

answered Jul 4, 2017 by dajuno FEniCS User (4,140 points)
selected Jul 6, 2017 by fanronghong

Thanks for your answer.
It works.

...