1 /* Copyright 2009 ENSEIRB, INRIA & CNRS
2 **
3 ** This file is part of the Scotch software package for static mapping,
4 ** graph partitioning and sparse matrix ordering.
5 **
6 ** This software is governed by the CeCILL-C license under French law
7 ** and abiding by the rules of distribution of free software. You can
8 ** use, modify and/or redistribute the software under the terms of the
9 ** CeCILL-C license as circulated by CEA, CNRS and INRIA at the following
10 ** URL: "http://www.cecill.info".
11 **
12 ** As a counterpart to the access to the source code and rights to copy,
13 ** modify and redistribute granted by the license, users are provided
14 ** only with a limited warranty and the software's author, the holder of
15 ** the economic rights, and the successive licensors have only limited
16 ** liability.
17 **
18 ** In this respect, the user's attention is drawn to the risks associated
19 ** with loading, using, modifying and/or developing or reproducing the
20 ** software by the user in light of its specific status of free software,
21 ** that may mean that it is complicated to manipulate, and that also
22 ** therefore means that it is reserved for developers and experienced
23 ** professionals having in-depth computer knowledge. Users are therefore
24 ** encouraged to load and test the software's suitability as regards
25 ** their requirements in conditions enabling the security of their
26 ** systems and/or data to be ensured and, more generally, to use and
27 ** operate it in the same conditions as regards security.
28 **
29 ** The fact that you are presently reading this means that you have had
30 ** knowledge of the CeCILL-C license and that you accept its terms.
31 */
32 /************************************************************/
33 /**                                                        **/
34 /**   NAME       : module.h                                **/
35 /**                                                        **/
36 /**   AUTHOR     : Francois PELLEGRINI                     **/
37 /**                                                        **/
38 /**   FUNCTION   : This is the global configuration file   **/
39 /**                for the ESMUMPS library module.         **/
40 /**                                                        **/
41 /**   DATES      : # Version 5.1  : from : 22 jan 2009     **/
42 /**                                 to     22 jan 2009     **/
43 /**                                                        **/
44 /************************************************************/
45 
46 #define MODULE_H
47 
48 /*
49 ** Function renaming.
50 */
51 
52 #if ((! defined SCOTCH_COMMON_EXTERNAL) || (defined SCOTCH_COMMON_RENAME))
53 #define clockGet                    _SCOTCHclockGet
54 
55 #define fileNameDistExpand          _SCOTCHfileNameDistExpand
56 
57 #define usagePrint                  _SCOTCHusagePrint
58 
59 #define errorPrint                  SCOTCH_errorPrint
60 #define errorPrintW                 SCOTCH_errorPrintW
61 #define errorProg                   SCOTCH_errorProg
62 
63 #define intLoad                     _SCOTCHintLoad
64 #define intSave                     _SCOTCHintSave
65 #define intAscn                     _SCOTCHintAscn
66 #define intPerm                     _SCOTCHintPerm
67 #define intRandReset                _SCOTCHintRandReset
68 #define intRandInit                 _SCOTCHintRandInit
69 /* #define intRandVal               _SCOTCHintRandVal Already a macro */
70 #define intSearchDicho              _SCOTCHintSearchDicho
71 #define intSort1asc1                _SCOTCHintSort1asc1
72 #define intSort2asc1                _SCOTCHintSort2asc1
73 #define intSort2asc2                _SCOTCHintSort2asc2
74 #define intSort3asc1                _SCOTCHintSort3asc1
75 
76 #define memAllocGroup               _SCOTCHmemAllocGroup
77 #define memReallocGroup             _SCOTCHmemReallocGroup
78 #define memOffset                   _SCOTCHmemOffset
79 #endif /* ((! defined SCOTCH_COMMON_EXTERNAL) || (defined SCOTCH_COMMON_RENAME)) */
80