Conversion matrix from Ellpack-Itpack to CSR to PETSc format

2007-08-09 Thread Ben Tay
Hi, My original matrix is stored in Ellpack-Itpack format, which is used by the NSPCG solver. I have problems when I insert the values of the matrix into a PETSc matrix. I guessed I made some mistakes but I can't find where during debugging. So I intent to just convert from the Ellpack-Itpack

Conversion matrix from Ellpack-Itpack to CSR to PETSc format

2007-08-09 Thread Satish Balay
- make sure the input to MatCreateSeqAIJWithArrays() is correct as per the example in the manpage - run it in the debugger to determine the actual cause of the problem Satish On Thu, 9 Aug 2007, Ben Tay wrote: Hi, My original matrix is stored in Ellpack-Itpack format, which is used by