Hi Kubra,

Someone asked a similar question just a few day ago, so I have some information 
pre-prepared for you. 

LinearOperators do support Trilinos linear algebra classes, but there is no 
implementation for PETSc yet. The documentation is lacking a little bit in 
explaining how to use the parallelised version of LinearOperators, but I’d 
recorded this deficiency in this issue, along with a couple of examples. 
https://github.com/dealii/dealii/issues/12466 
<https://github.com/dealii/dealii/issues/12466>
The key points are 
1. the use of the template parameter, e.g. 
linear_operator<TrilinosWrappers::MPI::Vector>(…), and,
2. the need for exemplars when wrapping preconditioners in LinearOperators.

As for PETSc support, if this is something that you’d be interested in adding 
to the library, then we’d very much appreciate the contribution and would be 
happy to help you along the way.

Best,
Jean-Paul


> On 30. Jun 2021, at 00:12, Kubra Karayagiz (Alumni) 
> <kkaraya...@alumni.sabanciuniv.edu> wrote:
> 
> Hello all,
> 
> I have a code in which I extensively use linear operators and packaged 
> operations to make matrix inverses and solve the system of equations. I am 
> wondering if such a code would be parallelized via PETSc and MPI, or any 
> other way.
> 
> Thanks,
> Kubra
> 
> 
> 
> 
> 
> -- 
> The deal.II project is located at http://www.dealii.org/ 
> <http://www.dealii.org/>
> For mailing list/forum options, see 
> https://groups.google.com/d/forum/dealii?hl=en 
> <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 
> <mailto:dealii+unsubscr...@googlegroups.com>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/dealii/CANnYN%2B1j6VsMWVzBs1KO2K1LH0Pg88JdcZXZ07ivLYhkoMk71w%40mail.gmail.com
>  
> <https://groups.google.com/d/msgid/dealii/CANnYN%2B1j6VsMWVzBs1KO2K1LH0Pg88JdcZXZ07ivLYhkoMk71w%40mail.gmail.com?utm_medium=email&utm_source=footer>.

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dealii/D6A62479-B51C-4A0C-B215-5EC1BE44DA6E%40gmail.com.

Reply via email to