44 #ifndef EPETRA_SERIALDISTRIBUTOR_H
45 #define EPETRA_SERIALDISTRIBUTOR_H
47 #if defined(Epetra_SHOW_DEPRECATED_WARNINGS)
49 #warning "The Epetra package is deprecated"
94 const int * ExportPIDs,
99 const int * RemoteGIDs,
100 const int * RemotePIDs,
106 #ifndef EPETRA_NO_64BIT_GLOBAL_INDICES
108 const long long * RemoteGIDs,
109 const int * RemotePIDs,
112 long long *& ExportGIDs,
116 int Do (
char * export_objs,
118 int & len_import_objs,
119 char *& import_objs);
122 int & len_import_objs,
123 char *& import_objs);
125 int DoPosts(
char * export_objs,
127 int & len_import_objs,
128 char *& import_objs);
133 int & len_import_objs,
134 char *& import_objs);
138 int Do (
char * export_objs,
141 int & len_import_objs,
142 char *& import_objs);
146 int & len_import_objs,
147 char *& import_objs);
149 int DoPosts(
char * export_objs,
152 int & len_import_objs,
153 char *& import_objs);
158 int & len_import_objs,
159 char *& import_objs);
161 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.