Changeset 12729
- Timestamp:
- 07/24/12 16:38:58 (13 years ago)
- Location:
- issm/trunk-jpl/src/c/toolkits/petsc/patches
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/c/toolkits/petsc/patches/MatPartition.cpp
r12493 r12729 48 48 d_nz=0; 49 49 o_nz=0; 50 #if def _HAVE_PETSCDEV_50 #if _PETSC_MAJOR_ == 3 && _PETSC_MINOR_ > 2 51 51 MatCreateAIJ(MPI_COMM_WORLD,PETSC_DETERMINE,PETSC_DETERMINE, 0,0,d_nz,PETSC_NULL,o_nz,PETSC_NULL,&outmatrix); 52 52 #else … … 55 55 } 56 56 else if (strcmp(type,"mpidense")==0){ 57 #if def _HAVE_PETSCDEV_57 #if _PETSC_MAJOR_ == 3 && _PETSC_MINOR_ > 2 58 58 MatCreateDense(MPI_COMM_WORLD,PETSC_DETERMINE,PETSC_DETERMINE, 0,0,PETSC_NULL,&outmatrix); 59 59 #else -
issm/trunk-jpl/src/c/toolkits/petsc/patches/NewMat.cpp
r12365 r12729 39 39 o_nz=(int)((double)nnz/(double)M/2.0); //number of non zeros per row/2 40 40 41 #if def _HAVE_PETSCDEV_41 #if _PETSC_MAJOR_ == 3 && _PETSC_MINOR_ > 2 42 42 MatCreateAIJ(MPI_COMM_WORLD,m,n,M,N,d_nz,NULL,o_nz,NULL,&outmatrix); 43 43 #else … … 67 67 o_nz=(int)((double)nnz/(double)M/2.0); //number of non zeros per row/2 68 68 69 #if def _HAVE_PETSCDEV_69 #if _PETSC_MAJOR_ == 3 && _PETSC_MINOR_ > 2 70 70 if(sparsity==1){ 71 71 MatCreateDense(MPI_COMM_WORLD,m,n,M,N,NULL,&outmatrix); -
issm/trunk-jpl/src/c/toolkits/petsc/patches/PetscOptionsInsertMultipleString.cpp
r12494 r12729 90 90 } 91 91 92 #if def _HAVE_PETSCDEV_92 #if _PETSC_MAJOR_ == 3 && _PETSC_MINOR_ > 2 93 93 PetscTokenDestroy(&token); 94 94 #else
Note:
See TracChangeset
for help on using the changeset viewer.