Lines Matching refs:imb
36 PetscErrorCode MatPartitioningPTScotchSetImbalance(MatPartitioning part, PetscReal imb) in MatPartitioningPTScotchSetImbalance() argument
40 PetscValidLogicalCollectiveReal(part, imb, 2); in MatPartitioningPTScotchSetImbalance()
41 …ryMethod(part, "MatPartitioningPTScotchSetImbalance_C", (MatPartitioning, PetscReal), (part, imb)); in MatPartitioningPTScotchSetImbalance()
45 …ic PetscErrorCode MatPartitioningPTScotchSetImbalance_PTScotch(MatPartitioning part, PetscReal imb) in MatPartitioningPTScotchSetImbalance_PTScotch() argument
50 if (imb == PETSC_DEFAULT) scotch->imbalance = 0.01; in MatPartitioningPTScotchSetImbalance_PTScotch()
52 …PetscCheck(imb >= 0.0 && imb <= 1.0, PetscObjectComm((PetscObject)part), PETSC_ERR_ARG_OUTOFRANGE,… in MatPartitioningPTScotchSetImbalance_PTScotch()
53 scotch->imbalance = (double)imb; in MatPartitioningPTScotchSetImbalance_PTScotch()
74 PetscErrorCode MatPartitioningPTScotchGetImbalance(MatPartitioning part, PetscReal *imb) in MatPartitioningPTScotchGetImbalance() argument
78 PetscAssertPointer(imb, 2); in MatPartitioningPTScotchGetImbalance()
79 …Method(part, "MatPartitioningPTScotchGetImbalance_C", (MatPartitioning, PetscReal *), (part, imb)); in MatPartitioningPTScotchGetImbalance()
83 …c PetscErrorCode MatPartitioningPTScotchGetImbalance_PTScotch(MatPartitioning part, PetscReal *imb) in MatPartitioningPTScotchGetImbalance_PTScotch() argument
88 *imb = scotch->imbalance; in MatPartitioningPTScotchGetImbalance_PTScotch()