Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
ElmerCSC
GitHub Repository: ElmerCSC/elmerfem
Path: blob/devel/elmergrid/src/metis-5.1.0/GKlib/GKlib.h
3206 views
1
/*
2
* GKlib.h
3
*
4
* George's library of most frequently used routines
5
*
6
* $Id: GKlib.h 13005 2012-10-23 22:34:36Z karypis $
7
*
8
*/
9
10
#ifndef _GKLIB_H_
11
#define _GKLIB_H_ 1
12
13
#define GKMSPACE
14
15
#if defined(_MSC_VER)
16
#define __MSC__
17
#endif
18
#if defined(__ICC)
19
#define __ICC__
20
#endif
21
22
23
#include "gk_arch.h" /*!< This should be here, prior to the includes */
24
25
26
/*************************************************************************
27
* Header file inclusion section
28
**************************************************************************/
29
#include <stddef.h>
30
#include <stdlib.h>
31
#include <stdarg.h>
32
#include <stdio.h>
33
#include <errno.h>
34
#include <ctype.h>
35
#include <math.h>
36
#include <float.h>
37
#include <time.h>
38
#include <string.h>
39
#include <limits.h>
40
#include <signal.h>
41
#include <setjmp.h>
42
#include <assert.h>
43
#include <sys/stat.h>
44
45
#if defined(__WITHPCRE__)
46
#include <pcreposix.h>
47
#else
48
#if defined(USE_GKREGEX)
49
#include "gkregex.h"
50
#else
51
#include <regex.h>
52
#endif /* defined(USE_GKREGEX) */
53
#endif /* defined(__WITHPCRE__) */
54
55
56
57
#if defined(__OPENMP__)
58
#include <omp.h>
59
#endif
60
61
62
63
64
#include <gk_types.h>
65
#include <gk_struct.h>
66
#include <gk_externs.h>
67
#include <gk_defs.h>
68
#include <gk_macros.h>
69
#include <gk_getopt.h>
70
71
#include <gk_mksort.h>
72
#include <gk_mkblas.h>
73
#include <gk_mkmemory.h>
74
#include <gk_mkpqueue.h>
75
#include <gk_mkpqueue2.h>
76
#include <gk_mkrandom.h>
77
#include <gk_mkutils.h>
78
79
#include <gk_proto.h>
80
81
82
#endif /* GKlib.h */
83
84
85
86