Here you can find some class, which I'm using for that:

https://github.com/koecher/meat/blob/master/source/DTM%2B%2B/core/lss/SolverAmesos.cc

Best
  Uwe

On Monday, June 20, 2016 at 6:22:40 PM UTC+2, Praveen C wrote:
>
> Thanks Uwe. I will try that.
>
> Best
> praveen
>
> On Mon, Jun 20, 2016 at 7:54 PM, 'Uwe Köcher' via deal.II User Group <
> dea...@googlegroups.com <javascript:>> wrote:
>
>> No, this interface uses a solve function, in which the algebraic and 
>> numeric factorisation is done each time the solve() function
>> is called. This has something to do with the common interface for the 
>> direct and iterative solvers.
>> But it is easy to implement yourself, take a look into 
>> lac/trilinos_sovler.h and lac/trilinos_solver.cc to see how the Amesos 
>> package is
>> called.
>>
>> Best
>>   Uwe
>>
>>
>> On Monday, June 20, 2016 at 3:48:56 PM UTC+2, Praveen C wrote:
>>>
>>> Hi
>>>
>>> I want to use the direct solver MUMPS via Trilinos. I need to solve the 
>>> same matrix problem repeatedly. How can I reuse the LU factorization ?
>>>
>>> In SparseDirectUMFPACK, calling vmult allows me to solve many problems 
>>> with same factorization.
>>>
>>> Is such a thing possible with TrilinosWrappers::SolverDirect ?
>>>
>>> Thanks
>>> praveen
>>>
>> -- 
>> 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 dealii+un...@googlegroups.com <javascript:>.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
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 dealii+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to