Searched refs:n_idx (Results 1 – 1 of 1) sorted by relevance
178 PetscInt *n_idx, newnmax, bs = stash->bs; in VecStashExpand_Private() local193 PetscCall(PetscMalloc2(bs * newnmax, &n_array, newnmax, &n_idx)); in VecStashExpand_Private()195 PetscCall(PetscArraycpy(n_idx, stash->idx, stash->nmax)); in VecStashExpand_Private()199 stash->idx = n_idx; in VecStashExpand_Private()