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

« back to all changes in this revision

Viewing changes to src/libscotch/arch_tleaf.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
 
/* Copyright 2004,2007,2008 ENSEIRB, INRIA & CNRS
 
1
/* Copyright 2004,2007,2008,2010 ENSEIRB, INRIA & CNRS
2
2
**
3
3
** This file is part of the Scotch software package for static mapping,
4
4
** graph partitioning and sparse matrix ordering.
60
60
/**                # Version 4.0  : from : 10 dec 2003     **/
61
61
/**                                 to     10 dec 2003     **/
62
62
/**                # Version 5.1  : from : 21 jan 2008     **/
63
 
/**                                 to     21 jan 2008     **/
 
63
/**                                 to     24 jun 2010     **/
64
64
/**                                                        **/
65
65
/************************************************************/
66
66
 
71
71
/** The Tree-Leaf graph definitions. **/
72
72
 
73
73
typedef struct ArchTleaf_ {
74
 
  Anum                      leafdep;              /*+ Maximum leaf depth                      +*/
75
 
  Anum                      clusdep;              /*+ Depth before reaching complete clusters +*/
76
 
  Anum                      linkval;              /*+ Value of extra-cluster links            +*/
 
74
  Anum                      levlnbr;              /*+ Number of levels                             +*/
 
75
  Anum                      sizeval;              /*+ Number of terminal domains in architecture   +*/
 
76
  Anum *                    sizetab;              /*+ Array of cluster sizes, per descending level +*/
 
77
  Anum *                    linktab;              /*+ Value of extra-cluster link costs            +*/
77
78
} ArchTleaf;
78
79
 
79
80
typedef struct ArchTleafDom_ {
80
 
  Anum                      leaflvl;              /*+ Current leaf depth +*/
81
 
  Anum                      leafnum;              /*+ Leaf number        +*/
 
81
  Anum                      levlnum;              /*+ Current block level         +*/
 
82
  Anum                      indxmin;              /*+ Minimum index in level      +*/
 
83
  Anum                      indxnbr;              /*+ Number of indices in domain +*/
82
84
} ArchTleafDom;
83
85
 
84
86
/*
90
92
#endif
91
93
 
92
94
int                         archTleafArchLoad   (ArchTleaf * restrict const, FILE * restrict const);
 
95
int                         archTleafArchFree   (ArchTleaf * restrict const);
93
96
int                         archTleafArchSave   (const ArchTleaf * const, FILE * restrict const);
94
 
#define archTleafArchFree           NULL
95
97
ArchDomNum                  archTleafDomNum     (const ArchTleaf * const, const ArchTleafDom * const);
96
98
int                         archTleafDomTerm    (const ArchTleaf * const, ArchTleafDom * restrict const, const ArchDomNum);
97
99
Anum                        archTleafDomSize    (const ArchTleaf * const, const ArchTleafDom * const);