GEOS
MetisInterface.hpp
Go to the documentation of this file.
1 /*
2  * ------------------------------------------------------------------------------------------------------------
3  * SPDX-License-Identifier: LGPL-2.1-only
4  *
5  * Copyright (c) 2018-2019 Lawrence Livermore National Security LLC
6  * Copyright (c) 2018-2019 The Board of Trustees of the Leland Stanford Junior University
7  * Copyright (c) 2018-2019 Total, S.A
8  * Copyright (c) 2019- GEOS/GEOSX Contributors
9  * All right reserved
10  *
11  * See top level LICENSE, COPYRIGHT, CONTRIBUTORS, NOTICE, and ACKNOWLEDGEMENTS files for details.
12  * ------------------------------------------------------------------------------------------------------------
13  */
14 
19 #ifndef GEOS_LINEARALGEBRA_MULTISCALE_METISINTERFACE_HPP_
20 #define GEOS_LINEARALGEBRA_MULTISCALE_METISINTERFACE_HPP_
21 
22 #include "common/DataTypes.hpp"
24 
25 namespace geos
26 {
27 
28 namespace metis
29 {
30 
40  int64_t const numPart,
41  arrayView1d< int64_t > const & partition );
42 
43 } // namespace metis
44 
45 } // namespace geos
46 
47 #endif //GEOS_LINEARALGEBRA_MULTISCALE_METISINTERFACE_HPP_
void partition(CRSMatrixView< int64_t const, int64_t const, int64_t const > const &graph, LinearSolverParameters::Multiscale::Coarsening::Graph::Metis const &params, int64_t const numPart, arrayView1d< int64_t > const &partition)
Compute a graph partitioning using METIS.
ArrayView< T, 1 > arrayView1d
Alias for 1D array view.
Definition: DataTypes.hpp:179
LvArray::CRSMatrixView< T, COL_INDEX, INDEX_TYPE const, LvArray::ChaiBuffer > CRSMatrixView
Alias for CRS Matrix View.
Definition: DataTypes.hpp:309