Lines Matching refs:n2
244 + n2 - size of garray2[], the merged set, which combines garray1[] and indices[]
245 . garray2[n2] - allocated by callee using PetscMalloc1(). Contains sorted unique global indices (without duplicates). Caller needs to free it.
256 n2 = 7
270 PetscInt n2, *garray2;
286 n2 = tot;
287 PetscCall(PetscMalloc1(n2, &garray2));
297 PetscCall(PetscSortInt(n2, garray2));
310 *n2_ = n2;
595 PetscInt n2, *garray2;
597 PetscCall(ReduceTwoSetsOfGlobalIndices(n1, garray1, Fonz, Foj, &n2, &garray2, map));
602 mm->n = n2;
618 PetscCallCXX(mm->Fo = KokkosCsrMatrix("Fo", Fm, n2, Fonz, Foa_d, Foi_d, Foj_d)); // Fo's column size is n2, length of garray2[]
906 PetscInt n2, *garray2;
907 PetscCall(ReduceTwoSetsOfGlobalIndices(n1, garray1, Fonz, Foj, &n2, &garray2, map));
921 mm->n = n2;
931 PetscCallCXX(mm->Fo = KokkosCsrMatrix("Fo", Fm, n2, Fonz, Foa_d, Foi_d, Foj_d));