Home
last modified time | relevance | path

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

/petsc/src/dm/partitioner/impls/parmetis/
H A Dpartparmetis.c98 PetscBool hasempty = PETSC_FALSE; in PetscPartitionerPartition_ParMetis() local
109 hasempty = (PetscBool)(hasempty || !vtxdist[p - 1] || !vtxdist[p]); in PetscPartitionerPartition_ParMetis()
191 if (hasempty) { /* parmetis does not support empty graphs on some of the processes */ in PetscPartitionerPartition_ParMetis()
209 if (hasempty) PetscCallMPI(MPI_Comm_free(&pcomm)); in PetscPartitionerPartition_ParMetis()
/petsc/src/dm/partitioner/impls/ptscotch/
H A Dpartptscotch.c214 PetscBool hasempty = PETSC_FALSE; in PetscPartitionerPartition_PTScotch() local
226 hasempty = (PetscBool)(hasempty || !vtxdist[p - 1] || !vtxdist[p]); in PetscPartitionerPartition_PTScotch()
270 if (hasempty) { in PetscPartitionerPartition_PTScotch()
282 if (hasempty) PetscCallMPI(MPI_Comm_free(&pcomm)); in PetscPartitionerPartition_PTScotch()