Searched refs:jmap_new (Results 1 – 2 of 2) sorted by relevance
4698 PetscCount *jmap_new; in MatSetPreallocationCOO_SeqAIJ() local4701 PetscCall(PetscMalloc1(nnz + 1, &jmap_new)); in MatSetPreallocationCOO_SeqAIJ()4702 PetscCall(PetscArraycpy(jmap_new, jmap, nnz + 1)); in MatSetPreallocationCOO_SeqAIJ()4704 jmap = jmap_new; in MatSetPreallocationCOO_SeqAIJ()
6303 …ount nnz1, PetscCount nnz, const PetscCount imap[], const PetscCount jmap[], PetscCount jmap_new[]) in ExpandJmap_Internal() argument6308 jmap_new[0] = 0; in ExpandJmap_Internal()6311 for (; p > imap[k]; p--) jmap_new[p] = jmap[k + 1]; in ExpandJmap_Internal()6313 for (; p >= 0; p--) jmap_new[p] = jmap[0]; in ExpandJmap_Internal()