/[escript]/trunk/finley/src/Distribution.h
ViewVC logotype

Diff of /trunk/finley/src/Distribution.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 750 by bcumming, Mon May 15 04:09:52 2006 UTC revision 751 by bcumming, Mon Jun 26 01:46:34 2006 UTC
# Line 5  Line 5 
5    
6    
7  #include "Finley.h"  #include "Finley.h"
8    #include "./paso/CommBuffer.h"
9    
10  #ifdef PASO_MPI  #ifdef PASO_MPI
11    
# Line 46  struct Finley_NodeDistribution Line 47  struct Finley_NodeDistribution
47    index_t numExternal;    /* number of nodes belonging to other subdomains that    index_t numExternal;    /* number of nodes belonging to other subdomains that
48                               share elements with local boundary nodes */                               share elements with local boundary nodes */
49    index_t *indexExternal;  /* global indices of the external nodes stored on this Pid */    index_t *indexExternal;  /* global indices of the external nodes stored on this Pid */
50    index_t *vtxdist;       /* process i has nodes with global indices    index_t *vtxdist;        /* process i has nodes with global indices
51                               vtxdist[i] to vtxdist[i]-1. */                               vtxdist[i] to vtxdist[i]-1. */
52    index_t numGlobal;      /* total number of nodes in the global domain */    index_t numGlobal;      /* total number of nodes in the global domain */
53    index_t numNeighbours;  /* number of neighbour domains */    index_t numNeighbours;  /* number of neighbour domains */
# Line 93  typedef struct Finley_ElementDistributio Line 94  typedef struct Finley_ElementDistributio
94  Finley_NodeDistribution*  Finley_NodeDistribution_alloc( Paso_MPIInfo *MPIInfo );  Finley_NodeDistribution*  Finley_NodeDistribution_alloc( Paso_MPIInfo *MPIInfo );
95  void                      Finley_NodeDistribution_dealloc( Finley_NodeDistribution *in );  void                      Finley_NodeDistribution_dealloc( Finley_NodeDistribution *in );
96  Finley_NodeDistribution*  Finley_NodeDistribution_getReference( Finley_NodeDistribution *in );  Finley_NodeDistribution*  Finley_NodeDistribution_getReference( Finley_NodeDistribution *in );
97  void                      Finley_NodeDistibution_allocTable( Finley_NodeDistribution *in, dim_t numLocal, dim_t numExternal, dim_t numNeighbours );  void                      Finley_NodeDistribution_allocTable( Finley_NodeDistribution *in, dim_t numLocal, dim_t numExternal, dim_t numNeighbours );
98  void                      Finley_NodeDistribution_deallocTable( Finley_NodeDistribution *in );  void                      Finley_NodeDistribution_deallocTable( Finley_NodeDistribution *in );
99  void                      Finley_NodeDistribution_addForward( Finley_NodeDistribution *in, index_t domain, dim_t numForward, index_t* indexLocal  );  void                      Finley_NodeDistribution_addForward( Finley_NodeDistribution *in, index_t domain, dim_t numForward, index_t* indexLocal  );
100  void                      Finley_NodeDistribution_addBackward( Finley_NodeDistribution *in, index_t domain, dim_t numBackward, index_t* indexLocal  );  void                      Finley_NodeDistribution_addBackward( Finley_NodeDistribution *in, index_t domain, dim_t numBackward, index_t* indexLocal  );
101    void                      Finley_NodeDistribution_calculateIndexExternal( Finley_NodeDistribution *Distribution, Paso_CommBuffer *CommBuffer );
102    void                      Finley_NodeDistribution_formCommBuffer( Finley_NodeDistribution *in, Paso_CommBuffer *CommBuffer );
103    void                      Finley_NodeDistribution_print( Finley_NodeDistribution *in, FILE *fid );
104    
105  /* Finley_NodeGhostEdge */  /* Finley_NodeGhostEdge */
106  Finley_NodeGhostEdge* Finley_NodeGhostEdge_alloc( void );  Finley_NodeGhostEdge* Finley_NodeGhostEdge_alloc( void );

Legend:
Removed from v.750  
changed lines
  Added in v.751

  ViewVC Help
Powered by ViewVC 1.1.26