Dear Kartik,

It is possible to use the SuperLU direct solver through the 
TrilinosWrappers. Obviously this requires that Trilinos it configured with 
SuperLU enabled. Step-33 
<https://www.dealii.org/8.5.0/doxygen/deal.II/step_33.html#ConservationLawsolve>
 
demonstrates how to setup and use the direct solver itself, and you would 
simply need to select the desired solver type 
<https://dealii.org/8.5.0/doxygen/deal.II/structTrilinosWrappers_1_1SolverDirect_1_1AdditionalData.html#a22a275c6fa139cd8bf86cea54ff8f045>
:

SolverControl 
<https://www.dealii.org/8.5.0/doxygen/deal.II/classSolverControl.html> 
solver_control (1,0);
TrilinosWrappers::SolverDirect::AdditionalData 
<https://www.dealii.org/8.5.0/doxygen/deal.II/structTrilinosWrappers_1_1SolverDirect_1_1AdditionalData.html>
 
data;
data.solver_type = "Amesos_Superlu";
TrilinosWrappers::SolverDirect 
<https://www.dealii.org/8.5.0/doxygen/deal.II/classTrilinosWrappers_1_1SolverDirect.html>
 
direct (solver_control, data);

direct.solve (system_matrix, newton_update, right_hand_side);

I hope that this helps.

Regards,
Jean-Paul

On Monday, April 17, 2017 at 1:08:29 PM UTC+2, Kartik Jujare wrote:
>
> Hello,
>
> Can anyone please provide an implementation example on how to proceed 
> using superlu_dist in a dealii solve function? 
>
> Thanks and regards,
> Kartik 
>

-- 
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