/[escript]/trunk/paso/src/Coupler.h
ViewVC logotype

Diff of /trunk/paso/src/Coupler.h

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

revision 2067 by ksteube, Thu Sep 25 23:11:13 2008 UTC revision 2068 by phornby, Thu Nov 20 09:11:01 2008 UTC
# Line 59  typedef struct Paso_Coupler { Line 59  typedef struct Paso_Coupler {
59  } Paso_Coupler;  } Paso_Coupler;
60    
61    
62    
63    PASO_DLL_API
64  Paso_Connector* Paso_Connector_alloc(Paso_SharedComponents * send, Paso_SharedComponents* recv);  Paso_Connector* Paso_Connector_alloc(Paso_SharedComponents * send, Paso_SharedComponents* recv);
65    
66    PASO_DLL_API
67  Paso_Connector* Paso_Connector_getReference(Paso_Connector*);  Paso_Connector* Paso_Connector_getReference(Paso_Connector*);
68    
69    PASO_DLL_API
70  Paso_Connector* Paso_Connector_unroll(Paso_Connector* in, index_t block_size);  Paso_Connector* Paso_Connector_unroll(Paso_Connector* in, index_t block_size);
71    
72    PASO_DLL_API
73  Paso_Connector* Paso_Connector_copy(Paso_Connector* in);  Paso_Connector* Paso_Connector_copy(Paso_Connector* in);
74    
75    PASO_DLL_API
76  void Paso_Connector_free(Paso_Connector*);  void Paso_Connector_free(Paso_Connector*);
77    
78    
79    PASO_DLL_API
80  Paso_Coupler* Paso_Coupler_alloc(Paso_Connector*, dim_t blockSize);  Paso_Coupler* Paso_Coupler_alloc(Paso_Connector*, dim_t blockSize);
81    
82    PASO_DLL_API
83  Paso_Coupler* Paso_Coupler_getReference(Paso_Coupler*);  Paso_Coupler* Paso_Coupler_getReference(Paso_Coupler*);
84    
85    PASO_DLL_API
86  void Paso_Coupler_startCollect(Paso_Coupler* self,const double* in);  void Paso_Coupler_startCollect(Paso_Coupler* self,const double* in);
87    
88    PASO_DLL_API
89  double* Paso_Coupler_finishCollect(Paso_Coupler* self);  double* Paso_Coupler_finishCollect(Paso_Coupler* self);
90    
91    PASO_DLL_API
92  void Paso_Coupler_free(Paso_Coupler* in);  void Paso_Coupler_free(Paso_Coupler* in);
93    
94  #define Paso_Coupler_borrowLocalData(_in_) (_in_)->data  #define Paso_Coupler_borrowLocalData(_in_) (_in_)->data
95  #define Paso_Coupler_borrowRemoteData(_in_) (_in_)->recv_buffer  #define Paso_Coupler_borrowRemoteData(_in_) (_in_)->recv_buffer
96    
97    PASO_DLL_API
98  void Paso_Coupler_copyAll(const Paso_Coupler* src, Paso_Coupler* target);  void Paso_Coupler_copyAll(const Paso_Coupler* src, Paso_Coupler* target);
99    
100    PASO_DLL_API
101  dim_t Paso_Coupler_getLocalLength(const Paso_Coupler* in);  dim_t Paso_Coupler_getLocalLength(const Paso_Coupler* in);
102  #endif  #endif

Legend:
Removed from v.2067  
changed lines
  Added in v.2068

  ViewVC Help
Powered by ViewVC 1.1.26