Searched refs:hasempty (Results 1 – 2 of 2) sorted by relevance
98 PetscBool hasempty = PETSC_FALSE; in PetscPartitionerPartition_ParMetis() local109 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()
214 PetscBool hasempty = PETSC_FALSE; in PetscPartitionerPartition_PTScotch() local226 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()