MatPreallocatorPreallocate in petscpy
Issue #138
closed
Dear developers,
I would like to know-how to use the MatPreallocatorPreallocate (https://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/Mat/MatPreallocatorPreallocate.html) within petsc4py. Is it implemented in petsc4py?
This method is very useful to automatize the matrix allocation.
Thank you!
Comments (4)
-
-
reporter Do you have some plans for future implementation?
-
Hi @Octavio Castillo Reyes . Most development in petsc4py happens by users who need something or other wrapped. If you look at the source for petsc4py, it shouldn't be too hard to figure out how to implement a wrapper for the method you're looking for.
-
- changed status to closed
- Log in to comment
No, it is not.