~ubuntu-branches/ubuntu/trusty/scotch/trusty

« back to all changes in this revision

Viewing changes to src/libscotchmetis/parmetis.h

  • Committer: Bazaar Package Importer
  • Author(s): "Adam C. Powell, IV", Christophe Trophime, Adam C. Powell, IV
  • Date: 2010-12-29 13:07:19 UTC
  • mfrom: (1.1.6 upstream)
  • Revision ID: james.westby@ubuntu.com-20101229130719-jwalolw5d6av6wqx
Tags: 5.1.11.dfsg-1
[Christophe Trophime]
* New upstream release
* Forward-ported patches to version 5.1.10b.
* Install scotch headers properly.
* Fix chrpath commands in debian/rules.
* Fix (pt)scotch library install paths.
* Fix lintian errors and warnings.

[Adam C. Powell, IV]
* Forward-ported patches to version 5.1.11.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*********************************************************
2
2
**                                                      **
3
 
**  WARNING : THIS IS NOT THE ORIGINAL INCLUDE FILE OF  **
 
3
**  WARNING: THIS IS NOT THE ORIGINAL INCLUDE FILE OF   **
4
4
**  THE ParMeTiS SOFTWARE PACKAGE.                      **
5
5
**  This file is a compatibility include file provided  **
6
6
**  as part of the Scotch software distribution.        **
9
9
**  the libPTScotchMeTiS library.                       **
10
10
**                                                      **
11
11
*********************************************************/
12
 
/* Copyright 2007,2008 ENSEIRB, INRIA & CNRS
 
12
/* Copyright 2007,2008,2010 ENSEIRB, INRIA & CNRS
13
13
**
14
14
** This file is part of the Scotch software package for static mapping,
15
15
** graph partitioning and sparse matrix ordering.
53
53
/**   DATES      : # Version 5.0  : from : 17 oct 2007     **/
54
54
/**                                 to     18 oct 2007     **/
55
55
/**                # Version 5.1  : from : 19 jun 2008     **/
56
 
/**                                 to     20 jun 2008     **/
 
56
/**                                 to     30 jun 2010     **/
57
57
/**                                                        **/
58
58
/************************************************************/
59
59
 
68
68
 
69
69
#endif /* __parmetis_h__ */
70
70
 
 
71
#ifdef SCOTCH_METIS_PREFIX
 
72
#define SCOTCH_METIS_PREFIXL        scotch_
 
73
#define SCOTCH_METIS_PREFIXU        SCOTCH_
 
74
#endif /* SCOTCH_METIS_PREFIX */
 
75
 
 
76
#ifndef SCOTCH_METIS_PREFIXL
 
77
#define SCOTCH_METIS_PREFIXL
 
78
#endif /* SCOTCH_METIS_PREFIXL */
 
79
 
 
80
#ifndef SCOTCH_METIS_PREFIXU
 
81
#define SCOTCH_METIS_PREFIXU
 
82
#endif /* SCOTCH_METIS_PREFIXU */
 
83
 
 
84
#ifndef METISNAMEL
 
85
#define METISNAMEL(s)               METISNAME2(METISNAME3(SCOTCH_METIS_PREFIXL),s)
 
86
#define METISNAMEU(s)               METISNAME2(METISNAME3(SCOTCH_METIS_PREFIXU),s)
 
87
#define METISNAME2(p,s)             METISNAME4(p,s)
 
88
#define METISNAME3(s)               s
 
89
#define METISNAME4(p,s)             p##s
 
90
#endif /* METISNAMEL */
 
91
 
71
92
/*
72
93
**  The function prototypes.
73
94
*/
74
95
 
75
 
void                        ParMETIS_V3_NodeND  (const int * const, int * const, int * const, const int * const, const int * const, int * const, int * const, MPI_Comm * const);
76
 
void                        ParMETIS_V3_PartGeomKway (const int * const, int * const, int * const, int * const, int * const, const int * const, const int * const, const int * const, const float * const, const int * const, const int * const, const float * const, const float * const, const int * const, int * const, int * const, MPI_Comm * const);
77
 
void                        ParMETIS_V3_PartKway (const int * const, int * const, int * const, int * const, int * const, const int * const, const int * const, const int * const, const int * const, const float * const, const float * const, const int * const, int * const, int * const, MPI_Comm * const);
 
96
void                        METISNAMEU(ParMETIS_V3_NodeND) (const int * const, int * const, int * const, const int * const, const int * const, int * const, int * const, MPI_Comm * const);
 
97
void                        METISNAMEU(ParMETIS_V3_PartGeomKway) (const int * const, int * const, int * const, int * const, int * const, const int * const, const int * const, const int * const, const float * const, const int * const, const int * const, const float * const, const float * const, const int * const, int * const, int * const, MPI_Comm * const);
 
98
void                        METISNAMEU(ParMETIS_V3_PartKway) (const int * const, int * const, int * const, int * const, int * const, const int * const, const int * const, const int * const, const int * const, const float * const, const float * const, const int * const, int * const, int * const, MPI_Comm * const);