Home
last modified time | relevance | path

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

/petsc/src/dm/partitioner/impls/multistage/
H A Dmspart.c347 PetscMPIInt **lparts = NULL; in PetscPartitionerMultistageSetStages() local
375 if (p->compute_tpwgs) PetscCall(PetscMalloc1(p->levels, &lparts)); in PetscPartitionerMultistageSetStages()
430 PetscCall(PetscMalloc1(size, &lparts[l])); in PetscPartitionerMultistageSetStages()
438 PetscCallMPI(MPI_Allgather(&gsize, 1, MPI_INT, lparts[l], 1, MPI_INT, comm)); in PetscPartitionerMultistageSetStages()
439 if (lparts[l][rank]) touched = PETSC_TRUE; in PetscPartitionerMultistageSetStages()
479 } else gsize = lparts[l][rank]; in PetscPartitionerMultistageSetStages()
480 PetscCall(PetscFree(lparts[l])); in PetscPartitionerMultistageSetStages()
520 PetscCall(PetscFree(lparts)); in PetscPartitionerMultistageSetStages()