SCOTCH.h

Note

The documentation on this page was automatically extracted from the DOLFIN C++ code and may need to be edited or expanded.

class SCOTCH

This class provides an interface to SCOTCH-PT (parallel version)

static void compute_partition(const MPI_Comm mpi_comm, std::vector<std::size_t> &cell_partition, std::map<std::size_t, dolfin::Set<unsigned int>> &ghost_procs, const LocalMeshData &mesh_data)

Compute cell partition from local mesh data. The vector cell_partition contains the desired destination process numbers for each cell. Cells shared on multiple processes have an entry in ghost_procs pointing to the set of sharing process numbers.

static std::vector<int> compute_gps(const Graph &graph, std::size_t num_passes = 5)

Compute reordering (map[old] -> new) using Gibbs-Poole-Stockmeyer re-ordering