MPPTScotchStrategyType — PETSc 3.25.4 documentation

Skip to main content
`Ctrl`+`K`

# MPPTScotchStrategyType

Pre-defined strategy used by `MATPARTITIONINGPTSCOTCH` when delegating to the PT-Scotch library

## Synopsis

    typedef enum {
      MP_PTSCOTCH_DEFAULT,
      MP_PTSCOTCH_QUALITY,
      MP_PTSCOTCH_SPEED,
      MP_PTSCOTCH_BALANCE,
      MP_PTSCOTCH_SAFETY,
      MP_PTSCOTCH_SCALABILITY
    } MPPTScotchStrategyType;

## Values

- `MP_PTSCOTCH_DEFAULT` - the default PT-Scotch strategy

- `MP_PTSCOTCH_QUALITY` - focus on partition quality at the expense of time

- `MP_PTSCOTCH_SPEED` - focus on time to compute the partition

- `MP_PTSCOTCH_BALANCE` - favor load balance

- `MP_PTSCOTCH_SAFETY` - use the most reliable internal heuristics

- `MP_PTSCOTCH_SCALABILITY` - favor scalability at large process counts

## See Also

Matrices, `MatPartitioning`, `MATPARTITIONINGPTSCOTCH`, `MatPartitioningPTScotchSetStrategy()`, `MatPartitioningPTScotchGetStrategy()`

## Level

intermediate

## Location

include/petscmat.h

Index of all Mat routines
Table of Contents for all manual pages
Index of all manual pages