/[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 1561 by gross, Thu May 8 08:52:41 2008 UTC revision 1562 by gross, Wed May 21 13:04:40 2008 UTC
# Line 43  typedef struct Paso_Coupler { Line 43  typedef struct Paso_Coupler {
43    
44    Paso_Connector* connector;    Paso_Connector* connector;
45    
46      double *data; /* unmanaged pointer to data be send */
47    double *send_buffer;    double *send_buffer;
48    double *recv_buffer;    double *recv_buffer;
49    #ifdef PASO_MPI    #ifdef PASO_MPI
# Line 67  void Paso_Connector_free(Paso_Connector* Line 68  void Paso_Connector_free(Paso_Connector*
68    
69  Paso_Coupler* Paso_Coupler_alloc(Paso_Connector*, dim_t blockSize);  Paso_Coupler* Paso_Coupler_alloc(Paso_Connector*, dim_t blockSize);
70  Paso_Coupler* Paso_Coupler_getReference(Paso_Coupler*);  Paso_Coupler* Paso_Coupler_getReference(Paso_Coupler*);
71  void Paso_Coupler_startCollect(Paso_Coupler* self,const double* in);  void Paso_Coupler_startCollect(Paso_Coupler* self,double* in);
72  double* Paso_Coupler_finishCollect(Paso_Coupler* self);  double* Paso_Coupler_finishCollect(Paso_Coupler* self);
73  void Paso_Coupler_free(Paso_Coupler* in);  void Paso_Coupler_free(Paso_Coupler* in);
74    #define Paso_Coupler_borrowLocalData(_in_) (_in_)->data
75    #define Paso_Coupler_borrowRemoteData(_in_) (_in_)->recv_buffer
76    void Paso_Coupler_copyAll(const Paso_Coupler* src, Paso_Coupler* target);
77    dim_t Paso_Coupler_getLocalLength(const Paso_Coupler* in);
78  #endif  #endif

Legend:
Removed from v.1561  
changed lines
  Added in v.1562

  ViewVC Help
Powered by ViewVC 1.1.26