Kien,

On Wednesday, June 26, 2019 at 10:20:38 PM UTC-4, Phạm Ngọc Kiên wrote:
>
> Hi colleagues,
> I am trying to build codes using  PETScWrappers::SparseDirectMUMPS solver.
> Step-62 shows a very good example for using it.
> However, I really want to know if  we can choose the factorization method 
> in MUMPS by deal.II codes.
>
According to the documentation (see here 
<https://www.dealii.org/developer/doxygen/deal.II/classPETScWrappers_1_1SparseDirectMUMPS.html>),
 
you can. I don't use PETSc but I think this done using the command line
 

>
> The second question is: do we have a way to get the factorized system 
> matrix when using this direct solver?
> Because I want to reuse the factorized system matrix to solve the problem 
> again with other right hand side.
>
Just call solve() with a different right-hand-side. The factorization 
should only be done the first time the function is called.

Best,

Bruno

-- 
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see 
https://groups.google.com/d/forum/dealii?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dealii/24c660f9-1450-4c1f-b0f7-d9c0a629fde8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to