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

solve: standard method

+1 vote

Hello,

I have just a general question.
If I want to solve an equation and write the following:

solve(A, y.vector(), l)

which solver will be used?
LU? CG? GMRES?

I know that, I can change it, but what is used as the standard method?

asked Jan 2, 2017 by MatheMagie FEniCS Novice (250 points)

1 Answer

+2 votes

Hi, I assume that by standard you mean the default method. In that case it is the LU solver, see here.

answered Jan 2, 2017 by MiroK FEniCS Expert (80,920 points)

thank you very much!

...