Searched refs:oicols (Results 1 – 1 of 1) sorted by relevance
| /petsc/src/mat/impls/maij/ |
| H A D | maij.c | 926 PetscInt *oicols = NULL, *icols = NULL, ncols, *cols = NULL, oncols, *ocols = NULL; in MatConvert_MPIMAIJ_MPIAIJ() local 947 PetscCall(PetscMalloc2(nmax, &icols, onmax, &oicols)); in MatConvert_MPIMAIJ_MPIAIJ() 958 for (k = 0; k < oncols; k++) oicols[k] = dof * garray[ocols[k]] + j; in MatConvert_MPIMAIJ_MPIAIJ() 960 PetscCall(MatSetValues_MPIAIJ(B, 1, &ii, oncols, oicols, ovals, INSERT_VALUES)); in MatConvert_MPIMAIJ_MPIAIJ() 966 PetscCall(PetscFree2(icols, oicols)); in MatConvert_MPIMAIJ_MPIAIJ()
|