#include "petscmat.h" PetscErrorCode MatPartitioningPTScotchSetStrategy(MatPartitioning part,MPPTScotchStrategyType strategy)Collective on MatPartitioning
part | - the partitioning context | |
strategy | - the strategy, one of |
MP_PTSCOTCH_DEFAULT - Default behavior MP_PTSCOTCH_QUALITY - Prioritize quality over speed MP_PTSCOTCH_SPEED - Prioritize speed over quality MP_PTSCOTCH_BALANCE - Enforce load balance MP_PTSCOTCH_SAFETY - Avoid methods that may fail MP_PTSCOTCH_SCALABILITY - Favor scalability as much as possible
-mat_partitioning_ptscotch_strategy [quality,speed,balance,safety,scalability] | - strategy |