Brilliant, everything seems to be working properly now. Thank you!


On 02/11/16 13:52, Lawrence Mitchell wrote:

On 02/11/16 13:27, T. M. Bendall wrote:
Dear Firedrakers,

Having updated Firedrake I'm having trouble running old code that 
previously worked. In particular one of the variational solvers isn't 
working.

The code is:

     Q_initialprob = NonlinearVariationalProblem(Functional, z, bcs = bc1,
                                         nest=False)

     Q_initialsolve = NonlinearVariationalSolver(Q_initialprob,
                                         solver_parameters={
                                             'ksp_type':'gmres',
                                             'pc_type':'lu',
'pc_factor_mat_solver_package': 'mumps'
                                         })
The specification of the matrix type now occurs in the
solver_parameters.  Use 'mat_type': 'aij' in the solver_parameters dict.

Lawrence



_______________________________________________
firedrake mailing list
firedrake@imperial.ac.uk
https://mailman.ic.ac.uk/mailman/listinfo/firedrake