Chen,

Yes, LinearOperator does support Trilinos and PETSc matrices. 
LinearOperator even supports your own matrix type as long as you define 
vmult and Tvmult (see here 
<https://dealii.org/current/doxygen/deal.II/group__LAOperators.html#ga6b74b7ed76e4aeea2c67c0bbb03e3e24>
)

Best,

Bruno

On Monday, April 18, 2022 at 4:19:42 AM UTC-4 [email protected] wrote:

> Hi everyone,
>
> When solving a block matrix system, the LinearOperator is a useful tool. 
> My question is whether the LinearOpertor supports Matrix type (the same as 
> the Vector type) like PETSCWrapper::MPI::SparseMatrix or 
> TrilinosWrapper::MPI::SparseMatrix?
>
> Best
> Chen
>

-- 
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/e6d83bac-9271-4cd9-9581-03834d18c0ffn%40googlegroups.com.

Reply via email to