Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
ElmerCSC
GitHub Repository: ElmerCSC/elmerfem
Path: blob/devel/elmergrid/src/metis-5.1.0/libmetis/metislib.h
3206 views
1
/*
2
* Copyright 1997, Regents of the University of Minnesota
3
*
4
* metis.h
5
*
6
* This file includes all necessary header files
7
*
8
* Started 8/27/94
9
* George
10
*
11
* $Id: metislib.h 10655 2011-08-02 17:38:11Z benjamin $
12
*/
13
14
#ifndef _LIBMETIS_METISLIB_H_
15
#define _LIBMETIS_METISLIB_H_
16
17
#include <GKlib.h>
18
19
#if defined(ENABLE_OPENMP)
20
#include <omp.h>
21
#endif
22
23
24
#include <metis.h>
25
#include <rename.h>
26
#include <gklib_defs.h>
27
28
#include <defs.h>
29
#include <struct.h>
30
#include <macros.h>
31
#include <proto.h>
32
33
34
#if defined(COMPILER_MSC)
35
#if defined(rint)
36
#undef rint
37
#endif
38
#define rint(x) ((idx_t)((x)+0.5)) /* MSC does not have rint() function */
39
#endif
40
41
#endif
42
43