/[escript]/trunk-mpi-branch/paso/src/SystemMatrixPattern.h
ViewVC logotype

Diff of /trunk-mpi-branch/paso/src/SystemMatrixPattern.h

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

revision 1086 by gross, Tue Mar 6 04:41:55 2007 UTC revision 1087 by gross, Thu Apr 12 10:01:47 2007 UTC
# Line 28  Line 28 
28  #include "Distribution.h"  #include "Distribution.h"
29  #include "Common.h"  #include "Common.h"
30  #include "Paso_MPI.h"  #include "Paso_MPI.h"
31    #ifdef PASO_MPI
32    #include "finley/Distribution.h"
33    #endif
34    
35  /**************************************************************/  /**************************************************************/
36    
# Line 38  Line 41 
41  typedef struct Paso_SystemMatrixPattern {  typedef struct Paso_SystemMatrixPattern {
42    int type;    int type;
43    dim_t myNumOutput;    dim_t myNumOutput;
44      dim_t maxNumOutput;
45    index_t numOutput;    index_t numOutput;
46    dim_t myNumInput;    dim_t myNumInput;
47      dim_t maxNumInput;
48    index_t numInput;    index_t numInput;
49    index_t* ptr;    index_t* ptr;
50    index_t* index;    index_t* index;
51      dim_t numHops;
52      index_t *hop;
53    dim_t myLen;    dim_t myLen;
54    dim_t reference_counter;    dim_t reference_counter;
55    Paso_MPIInfo *mpi_info;    Paso_MPIInfo *mpi_info;
56    Paso_Distribution *output_distribution;    Paso_Distribution *output_distribution;
57    Paso_Distribution *input_distribution;    Paso_Distribution *input_distribution;
58    
59      #ifdef PASO_MPI
60      /* this will go */
61      Finley_NodeDistribution *output_node_distribution;
62      Finley_NodeDistribution *input_node_distribution;
63      #endif
64    
65  } Paso_SystemMatrixPattern;  } Paso_SystemMatrixPattern;
66    
67    
68  /*  interfaces: */  /*  interfaces: */
69    
70  Paso_SystemMatrixPattern* Paso_SystemMatrixPattern_alloc(int type, Paso_Distribution* ptr_distribution, Paso_Distribution* index_range_distribution, index_t* ptr, index_t* index);  Paso_SystemMatrixPattern* Paso_SystemMatrixPattern_alloc(int type, Paso_Distribution* ptr_distribution, Paso_Distribution* index_range_distribution, index_t* ptr, index_t* index, dim_t numHops, index_t *hop);
71  Paso_SystemMatrixPattern* Paso_SystemMatrixPattern_reference(Paso_SystemMatrixPattern*);  Paso_SystemMatrixPattern* Paso_SystemMatrixPattern_reference(Paso_SystemMatrixPattern*);
72  void Paso_SystemMatrixPattern_dealloc(Paso_SystemMatrixPattern*);  void Paso_SystemMatrixPattern_dealloc(Paso_SystemMatrixPattern*);
73  int Paso_comparIndex(const void *,const void *);  int Paso_comparIndex(const void *,const void *);
74  Paso_SystemMatrixPattern* Paso_SystemMatrixPattern_getSubpattern(Paso_SystemMatrixPattern*,dim_t,dim_t,index_t*,index_t*);  Paso_SystemMatrixPattern* Paso_SystemMatrixPattern_getSubpattern(Paso_SystemMatrixPattern*,dim_t,dim_t,index_t*,index_t*);
75  void Paso_SystemMatrixPattern_mis(Paso_SystemMatrixPattern* pattern_p, index_t* mis_marker);  void Paso_SystemMatrixPattern_mis(Paso_SystemMatrixPattern* pattern_p, index_t* mis_marker);
76  Paso_SystemMatrixPattern* Paso_SystemMatrixPattern_unrollBlocks(Paso_SystemMatrixPattern*,int, dim_t,dim_t);  Paso_SystemMatrixPattern* Paso_SystemMatrixPattern_unrollBlocks(Paso_SystemMatrixPattern*,int, dim_t,dim_t);
77    void Paso_SystemMatrixPattern_makeHops(int type, Paso_Distribution* distribution, index_t* ptr, index_t* index, dim_t* numHops, index_t **hop);
78    
79  #endif /* #ifndef INC_PASO_SYSTEMPATTERN */  #endif /* #ifndef INC_PASO_SYSTEMPATTERN */

Legend:
Removed from v.1086  
changed lines
  Added in v.1087

  ViewVC Help
Powered by ViewVC 1.1.26