44 #ifndef EPETRA_IMPORT_H 45 #define EPETRA_IMPORT_H 305 virtual void Print(std::ostream & os)
const;
316 bool throw_error =
true;
318 throw ReportError(
"Epetra_Import::operator= not supported.",-1);
343 template<
typename int_type>
346 template<
typename int_type>
347 void Construct_Expert(
const Epetra_BlockMap & TargetMap,
const Epetra_BlockMap & SourceMap,
int NumRemotePIDs,
const int * RemotePIDs,
const int & NumExportIDs,
const int * ExportLIDs,
const int * ExportPIDs);
int NumPermuteIDs() const
Returns the number of elements that are local to the calling processor, but not part of the first Num...
Epetra_BlockMap SourceMap_
int * ExportLIDs() const
List of elements that will be sent to other processors.
const Epetra_Distributor * DistributorPtr() const
Epetra_Import & operator=(const Epetra_Import &src)
int NumSameIDs() const
Returns the number of elements that are identical between the source and target maps, up to the first different ID.
Epetra_Distributor: The Epetra Gather/Scatter Setup Base Class.
int * ExportPIDs() const
List of processors to which elements will be sent, ExportLIDs() [i] will be sent to processor ExportP...
friend class Epetra_Import
int * PermuteFromLIDs() const
List of elements in the source map that are permuted.
Epetra_BlockMap TargetMap_
const Epetra_BlockMap & SourceMap() const
Returns the SourceMap used to construct this importer.
int NumRemoteIDs() const
Returns the number of elements that are not on the calling processor.
const Epetra_BlockMap & TargetMap() const
Returns the TargetMap used to construct this importer.
int * PermuteToLIDs() const
List of elements in the target map that are permuted.
Epetra_Export: This class builds an export object for efficient exporting of off-processor elements...
virtual int ReportError(const std::string Message, int ErrorCode) const
Error reporting method.
Epetra_Import: This class builds an import object for efficient importing of off-processor elements...
int * RemoteLIDs() const
List of elements in the target map that are coming from other processors.
virtual void Print(std::ostream &os) const
Print object to an output stream Print method.
int NumExportIDs() const
Returns the number of elements that must be sent by the calling processor to other processors...
int NumSend() const
Total number of elements to be sent.
Epetra_Distributor * Distor_
Epetra_Object: The base Epetra class.
Epetra_BlockMap: A class for partitioning block element vectors and matrices.
Epetra_Distributor & Distributor() const
int * ExportLIDs() const
List of elements that will be sent to other processors.
Epetra_BlockMap TargetMap_
Epetra_Distributor * Distor_
int NumExportIDs() const
Returns the number of elements that must be sent by the calling processor to other processors...
int * ExportPIDs() const
List of processors to which elements will be sent, ExportLIDs() [i] will be sent to processor ExportP...
const Epetra_BlockMap & SourceMap() const
Returns the SourceMap used to construct this exporter.
int NumRecv() const
Total number of elements to be received.
const Epetra_BlockMap & TargetMap() const
Returns the TargetMap used to construct this exporter.
Epetra_BlockMap SourceMap_