Home
last modified time | relevance | path

Searched refs:Aj_new (Results 1 – 2 of 2) sorted by relevance

/petsc/src/mat/impls/aij/seq/
H A Daij.c4699 PetscInt *Aj_new; in MatSetPreallocationCOO_SeqAIJ() local
4706 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()
/petsc/src/mat/impls/aij/mpi/
H A Dmpiaij.c6609 PetscInt *Aj_new; in MatSetPreallocationCOO_MPIAIJ() local
6610 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()