source: ThirdParty/HSL/trunk/metis_dummy.c @ 3338

Last change on this file since 3338 was 2469, checked in by stefan, 10 years ago

make metis optional

File size: 1020 bytes
Line 
1/* Copyright (C) 2011 Stefan Vigerske
2 * All Rights Reserved.
3 * This file is distributed under the Eclipse Public License.
4 */
5
6/* $Id$ */
7
8/* this file provides dummy implementations of the method metis_nodend as expected by the HSL codes if Metis is not available
9 * as in Metis, we implement the method in several naming variants to copy with C and fortran naming style conventions
10 */
11
12typedef int idxtype;
13
14void METIS_NODEND(int * a, idxtype * b, idxtype * c, int * d, int * e, idxtype * f, idxtype * perm)
15{
16  perm[0] = -1;
17}
18
19void metis_nodend(int * a, idxtype * b, idxtype * c, int * d, int * e, idxtype * f, idxtype * perm)
20{
21  perm[0] = -1;
22}
23
24void metis_nodend_(int * a, idxtype * b, idxtype * c, int * d, int * e, idxtype * f, idxtype * perm)
25{
26  perm[0] = -1;
27}
28
29void metis_nodend__(int * a, idxtype * b, idxtype * c, int * d, int * e, idxtype * f, idxtype * perm)
30{
31  perm[0] = -1;
32}
33
34void METIS_NodeND(int * a, idxtype * b, idxtype * c, int * d, int * e, idxtype * f, idxtype * perm)
35{
36  perm[0] = -1;
37}
Note: See TracBrowser for help on using the repository browser.