On 08/19/2016 05:04 PM, David F wrote:
Thank you, I'll take a look in detail at those examples. However, those
examples don't use PETSc and the problem is that I can't find any method in
PETScWrappers::SparseMatrix to copy a matrix. Which way would you suggest?
Oh, I see, that is a problem. I think the simplest and most efficient way to
go about this is to see whether PETSc has the ability to copy its own
matrices, and then add a member function to the PETScWrappers::SparseMatrix
class that uses this functionality.
(It would of course be fantastic if this function then makes its way into
deal.II itself -- with which we'd be happy to help!)
Best
W.
--
------------------------------------------------------------------------
Wolfgang Bangerth email: [email protected]
www: http://www.math.colostate.edu/~bangerth/
--
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].
For more options, visit https://groups.google.com/d/optout.