fenics team mailing list archive
-
fenics team
-
Mailing list archive
-
Message #00957
solving with LU-factorized matrix with PETSc backend
-
To:
fenics@xxxxxxxxxxxxxxxxxxx
-
From:
Douglas Arnold <arnold@xxxxxxx>
-
Date:
Tue, 15 Jun 2010 17:33:37 -0500
-
User-agent:
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.9) Gecko/20100430 Fedora/3.0.4-2.fc11 Thunderbird/3.0.4
Using the default PETSc backend, we get an (UMFPACK) direct LU
factorization and solve via "Solve(A, x, b)". But can we separate the
LU factorization from the backsolve, so that we can use the same
factorization with multiple right hand sides? With the uBLAS backend,
this can be done with
lusolver = LUSolver()
lusolver.factorize(A)
and then
lusolver.factorized_solve(x, b)
But these don't seem to be implemented with the PETSc backend.
Is there a way around this?
Follow ups