← Back to team overview

dolfin team mailing list archive

Re: [Question #117976]: Reuse LU factorization with PETSc?

 

Question #117976 on DOLFIN changed:
https://answers.launchpad.net/dolfin/+question/117976

Garth Wells proposed the following answer:

On 16/07/10 19:23, Nuno Lopes wrote:
> Question #117976 on DOLFIN changed:
> https://answers.launchpad.net/dolfin/+question/117976
>
> Nuno Lopes posted a new comment:
> Tried it with the advection-diffusion demo  but get the same timings .
> It should be faster with
> lu.parameters["reuse_factorization"] = true;
>

It's much faster for me. Make sure that you comment out

     file << std::make_pair(&u, t);

when testing. File output dominates the timing.

Garth

-- 
You received this question notification because you are a member of
DOLFIN Team, which is an answer contact for DOLFIN.