[firedrake] solver options
Lawrence Mitchell
lawrence at duffch.at
Fri Jul 4 17:55:45 BST 2014
> On 4 Jul 2014, at 17:08, Colin Cotter <colin.cotter at imperial.ac.uk> wrote:
>
> Hi all,
> We have been trying to use the shiny new option to specify a different matrix for the solver, but within LinearVariationalSolver. With this usage, it fails for us, probably because we are mispecifying the options. The following code tries to solve it first using the solve() command, then with LinearVariationalSolver.
> https://gist.github.com/colinjcotter/fd72f3a838ce46d0fe7d
> Please can you tell us what we are doing wrong?
I changed the keyword arg names in linearvariationalsolver (and the nonlinear equivalent) to be the same as solve. Hence you need to use solver_parameters=... In both cases. Sorry for the confusion. Is this wrong in the docs?
Lawrence
More information about the firedrake
mailing list