Changeset 9826 for issm/trunk/src/c/toolkits/petsc/patches/NewMat.cpp
- Timestamp:
- 09/16/11 16:35:08 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/c/toolkits/petsc/patches/NewMat.cpp
r9320 r9826 78 78 int nnz; 79 79 80 #if _PETSC_ VERSION_ == 380 #if _PETSC_MAJOR_ >= 3 81 81 const MatType type; 82 82 #else … … 99 99 MatGetType(outmatrix,&type); 100 100 101 #if _PETSC_ VERSION_ == 2101 #if _PETSC_MAJOR_ == 2 102 102 if((strcmp(type,"mpiaij")==0) || (strcmp(type,"aijmumps")==0)){ 103 103 MatMPIAIJSetPreallocation(outmatrix,d_nz,NULL,o_nz,NULL);
Note:
See TracChangeset
for help on using the changeset viewer.