GEOS
Namespaces | Functions
ScotchInterface.hpp File Reference
#include "common/DataTypes.hpp"
#include "linearAlgebra/utilities/LinearSolverParameters.hpp"

Go to the source code of this file.

Namespaces

 geos
 

Functions

void geos::scotch::partition (CRSMatrixView< int64_t const, int64_t const, int64_t const > const &graph, LinearSolverParameters::Multiscale::Coarsening::Graph::Scotch const &params, int64_t const numPart, arrayView1d< int64_t > const &partition)
 Compute a graph partitioning using Scotch. More...
 

Function Documentation

◆ partition()

void geos::scotch::partition ( CRSMatrixView< int64_t const, int64_t const, int64_t const > const &  graph,
LinearSolverParameters::Multiscale::Coarsening::Graph::Scotch const &  params,
int64_t const  numPart,
arrayView1d< int64_t > const &  partition 
)

Compute a graph partitioning using Scotch.

Parameters
graphthe input graph
paramsScotch parameters
numPartnumber of partitions
partitionwritable view of pre-allocated output array