Searched refs:Aj_new (Results 1 – 2 of 2) sorted by relevance
4699 PetscInt *Aj_new; in MatSetPreallocationCOO_SeqAIJ() local4706 PetscCall(PetscShmgetAllocateArray(nnz, sizeof(PetscInt), (void **)&Aj_new)); in MatSetPreallocationCOO_SeqAIJ()4707 PetscCall(PetscArraycpy(Aj_new, Aj, nnz)); in MatSetPreallocationCOO_SeqAIJ()4709 Aj = Aj_new; in MatSetPreallocationCOO_SeqAIJ()
6609 PetscInt *Aj_new; in MatSetPreallocationCOO_MPIAIJ() local6610 PetscCall(PetscMalloc1(Annz, &Aj_new)); in MatSetPreallocationCOO_MPIAIJ()6611 PetscCall(PetscArraycpy(Aj_new, Aj, Annz)); in MatSetPreallocationCOO_MPIAIJ()6613 Aj = Aj_new; in MatSetPreallocationCOO_MPIAIJ()