Pratik, Le ven. 24 août 2018 à 10:22, <[email protected]> a écrit :
> Thank you. Is there any particular reason that these raw pointers are not > exposed outside ? It would make it much easier for people who would like to > solve using their own solvers on gpu's and hybrid systems much easier, > right ? without depending on Trilinos or Petsc ? > That allows us to change the format of the storage if we need to. I think that a few years ago, the format was CSR but then we decided to always store the diagonal first if the matrix was square. If we give people access to the raw pointers, we won't be able to change the format or it will break everybody's code. Now if you are interested in gpu, you can use this <https://www.dealii.org/developer/doxygen/deal.II/classCUDAWrappers_1_1SparseMatrix.html> and there you can have access to the raw pointers. Best, Bruno -- 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.
