Hi, recently,when I use PETSc to bulid 2d arrays such as PetscScalar 
A[512][512],B[512][512],C,D,E,F,..., program always has error of Segmentation 
Violation. So I want to use PetscMalloc to bulid 2d array, and I hope that I 
can also use these 2d array A[i][j] by subscripts as before. Could do please 
tell me how can I do? Thank you.

LV CHAO

2014/3/11





Reply via email to