Changeset 12106
- Timestamp:
- 04/23/12 11:03:24 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/c/toolkits/petsc/patches/NewMat.cpp
r11910 r12106 68 68 69 69 #ifdef _HAVE_PETSCDEV_ 70 MatCreateAIJ(MPI_COMM_WORLD,m,n,M,N,d_nz,NULL,o_nz,NULL,&outmatrix); 70 if(sparsity==1){ 71 MatCreateDense(MPI_COMM_WORLD,m,n,M,N,NULL,&outmatrix); 72 } 73 else{ 74 MatCreateAIJ(MPI_COMM_WORLD,m,n,M,N,d_nz,NULL,o_nz,NULL,&outmatrix); 75 } 71 76 #else 72 77 MatCreateMPIAIJ(MPI_COMM_WORLD,m,n,M,N,d_nz,NULL,o_nz,NULL,&outmatrix);
Note:
See TracChangeset
for help on using the changeset viewer.