Hi, after the merge of this pull request Cholesky factorization should be selected automatically if you declare the problem symmetric and chose the lu_solver
that supports the factorization. These are MUMPS, PETSC and PASTIX.
method = 'mumps'
symmetric = True
problem = LinearVariationalProblem(a, L, u, bc)
solver = LinearVariationalSolver(problem)
solver.parameters['linear_solver'] = method
solver.parameters['symmetric'] = symmetric
While playing around with different method/symmetric combinations I noticed that PETSc's symmetric solver can get really really slow.