most efficient way to use local CSR matrix?

2009-10-20 Thread Chris Kees
certainly be easier on me to use the CSR-based assembly routines we already have. Thanks, Chris -- next part -- An HTML attachment was scrubbed... URL: http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20091020/8e825b38/attachment.html

most efficient way to use local CSR matrix?

2009-10-20 Thread Barry Smith
Here's the deal. In parallel PETSc does not use a single CSR matrix on each process to hold the MPIAIJ matrix. Hence if you store the matrix on a process as a single CSR matrix then it has to be copied into the PETSc datastructure. MatMPIAIJSetPreallocationCSR() does the copy very