Lines Matching refs:numbering

39 static PetscErrorCode PCGASMComputeGlobalSubdomainNumbering_Private(PC pc, PetscInt **numbering, Pe…  in PCGASMComputeGlobalSubdomainNumbering_Private()  argument
46 PetscCall(PetscMalloc2(osm->n, numbering, osm->n, permutation)); in PCGASMComputeGlobalSubdomainNumbering_Private()
47 …balNumbering(PetscObjectComm((PetscObject)pc), osm->n, (PetscObject *)osm->iis, NULL, *numbering)); in PCGASMComputeGlobalSubdomainNumbering_Private()
49 PetscCall(PetscSortIntWithPermutation(osm->n, *numbering, *permutation)); in PCGASMComputeGlobalSubdomainNumbering_Private()
126 …PetscInt *numbering, *permutation; /* global numbering of locally-supported subdomains and the p… in PCGASMPrintSubdomains() local
141 PetscCall(PCGASMComputeGlobalSubdomainNumbering_Private(pc, &numbering, &permutation)); in PCGASMPrintSubdomains()
146 if (numbering[d] == count) l++; in PCGASMPrintSubdomains()
151 PetscCall(PetscFree2(numbering, permutation)); in PCGASMPrintSubdomains()
168 …PetscInt *numbering, *permutation; /* global numbering of locally-supported subdomains and the p… in PCView_GASM() local
202 PetscCall(PCGASMComputeGlobalSubdomainNumbering_Private(pc, &numbering, &permutation)); in PCView_GASM()
208 if (numbering[d] == count) { in PCView_GASM()
236 PetscCall(PetscFree2(numbering, permutation)); in PCView_GASM()
320 PetscInt *numbering; in PCSetUp_GASM() local
437 PetscCall(PetscMalloc1(osm->n, &numbering)); in PCSetUp_GASM()
438 …obalNumbering(PetscObjectComm((PetscObject)pc), osm->n, (PetscObject *)osm->ois, NULL, numbering)); in PCSetUp_GASM()
465 for (k = 0; k < ini; ++k) array[in + k] = numbering[i]; in PCSetUp_GASM()
480 if (PetscRealPart(array[on + k]) != numbering[i]) continue; in PCSetUp_GASM()
496 PetscCall(PetscFree(numbering)); in PCSetUp_GASM()
1417 const PetscInt *numbering; in PCGASMCreateLocalSubdomains() local
1429 PetscCall(ISGetIndices(isnumb, &numbering)); in PCGASMCreateLocalSubdomains()
1430 PetscCall(PetscSortIntWithPermutation(nidx, numbering, indices)); in PCGASMCreateLocalSubdomains()
1431 PetscCall(ISRestoreIndices(isnumb, &numbering)); in PCGASMCreateLocalSubdomains()