OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
mumps_metis.h
Go to the documentation of this file.
1/*
2 *
3 * This file is part of MUMPS 5.5.1, released
4 * on Tue Jul 12 13:17:24 UTC 2022
5 *
6 *
7 * Copyright 1991-2022 CERFACS, CNRS, ENS Lyon, INP Toulouse, Inria,
8 * Mumps Technologies, University of Bordeaux.
9 *
10 * This version of MUMPS is provided to you free of charge. It is
11 * released under the CeCILL-C license
12 * (see doc/CeCILL-C_V1-en.txt, doc/CeCILL-C_V1-fr.txt, and
13 * https://cecill.info/licences/Licence_CeCILL-C_V1-en.html)
14 *
15 */
16#ifndef MUMPS_METIS_H
17#define MUMPS_METIS_H
18/* Interfacing with 32-bit (par)metis, for METIS 4 or METIS 5 */
19#include "mumps_common.h" /* includes mumps_compat.h and mumps_c_types.h */
20#if defined(parmetis) || defined(parmetis3)
21#include "mpi.h"
22#define MUMPS_PARMETIS \
23 F_SYMBOL(parmetis,PARMETIS)
24void MUMPS_CALL
25MUMPS_PARMETIS(MUMPS_INT *first, MUMPS_INT *vertloctab,
26 MUMPS_INT *edgeloctab, MUMPS_INT *numflag,
27 MUMPS_INT *options, MUMPS_INT *order,
28 MUMPS_INT *sizes, MUMPS_INT *comm,
29 MUMPS_INT *ierr);
30#endif
31#if defined(parmetis) || defined(metis) || defined(parmetis3) || defined(metis4)
32#define MUMPS_METIS_KWAY \
33 F_SYMBOL(metis_kway,METIS_KWAY)
34void MUMPS_CALL
35MUMPS_METIS_KWAY(MUMPS_INT *n, MUMPS_INT *iptr,
36 MUMPS_INT *jcn, MUMPS_INT *k,
37 MUMPS_INT *part);
38#define MUMPS_METIS_KWAY_AB \
39 F_SYMBOL(metis_kway_ab,METIS_KWAY_AB)
40void MUMPS_CALL
41MUMPS_METIS_KWAY_AB(MUMPS_INT *n, MUMPS_INT *iptr,
42 MUMPS_INT *jcn, MUMPS_INT *k,
43 MUMPS_INT *part, MUMPS_INT *vwgt);
44#endif
45#endif
#define MUMPS_INT
#define MUMPS_CALL
n