44 #ifndef EPETRA_SERIALDISTRIBUTOR_H
45 #define EPETRA_SERIALDISTRIBUTOR_H
86 const int * ExportPIDs,
91 const int * RemoteGIDs,
92 const int * RemotePIDs,
98 #ifndef EPETRA_NO_64BIT_GLOBAL_INDICES
100 const long long * RemoteGIDs,
101 const int * RemotePIDs,
104 long long *& ExportGIDs,
108 int Do (
char * export_objs,
110 int & len_import_objs,
111 char *& import_objs);
114 int & len_import_objs,
115 char *& import_objs);
117 int DoPosts(
char * export_objs,
119 int & len_import_objs,
120 char *& import_objs);
125 int & len_import_objs,
126 char *& import_objs);
130 int Do (
char * export_objs,
133 int & len_import_objs,
134 char *& import_objs);
138 int & len_import_objs,
139 char *& import_objs);
141 int DoPosts(
char * export_objs,
144 int & len_import_objs,
145 char *& import_objs);
150 int & len_import_objs,
151 char *& import_objs);
153 virtual void Print(std::ostream & os)
const;
int DoReversePosts(char *export_objs, int obj_size, int &len_import_objs, char *&import_objs)
Do reverse post of buffer of export objects (can do other local work before executing Waits) ...
int CreateFromRecvs(const int &NumRemoteIDs, const int *RemoteGIDs, const int *RemotePIDs, bool Deterministic, int &NumExportIDs, int *&ExportGIDs, int *&ExportPIDs)
Create Distributor object using list of Remote global IDs and corresponding PIDs. ...
Epetra_SerialDistributor: The Epetra Serial implementation of the Epetra_Distributor Gather/Scatter S...
Epetra_Distributor: The Epetra Gather/Scatter Setup Base Class.
Epetra_Distributor * ReverseClone()
Create and extract the reverse version of the distributor.
int Do(char *export_objs, int obj_size, int &len_import_objs, char *&import_objs)
Execute plan on buffer of export objects in a single step.
Epetra_Object: The base Epetra class.
Epetra_SerialDistributor(const Epetra_SerialComm &Comm)
Constructor.
virtual void Print(std::ostream &os) const
virtual ~Epetra_SerialDistributor()
Epetra_Comm Destructor.
int DoPosts(char *export_objs, int obj_size, int &len_import_objs, char *&import_objs)
Post buffer of export objects (can do other local work before executing Waits)
Epetra_SerialComm: The Epetra Serial Communication Class.
int CreateFromSends(const int &NumExportIDs, const int *ExportPIDs, bool Deterministic, int &NumRemoteIDs)
Create Distributor object using list of process IDs to which we export.
int DoReverseWaits()
Wait on a reverse set of posts.
int DoReverse(char *export_objs, int obj_size, int &len_import_objs, char *&import_objs)
Execute reverse of plan on buffer of export objects in a single step.
Epetra_Distributor * Clone()
Clone method.
int DoWaits()
Wait on a set of posts.