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);
353 #if defined(Epetra_SHOW_DEPRECATED_WARNINGS)
355 #warning "The Epetra package is deprecated"
virtual void Print(std::ostream &os) const
Print object to an output stream Print method.
int * ExportLIDs() const
List of elements that will be sent to other processors.
Epetra_BlockMap SourceMap_
int NumRemoteIDs() const
Returns the number of elements that are not on the calling processor.
Epetra_Import & operator=(const Epetra_Import &src)
Epetra_Distributor: The Epetra Gather/Scatter Setup Base Class.
int NumSameIDs() const
Returns the number of elements that are identical between the source and target maps, up to the first different ID.
friend class Epetra_Import
const Epetra_BlockMap & TargetMap() const
Returns the TargetMap used to construct this exporter.
const Epetra_BlockMap & SourceMap() const
Returns the SourceMap used to construct this exporter.
Epetra_BlockMap TargetMap_
int * ExportPIDs() const
List of processors to which elements will be sent, ExportLIDs() [i] will be sent to processor ExportP...
Epetra_Export: This class builds an export object for efficient exporting of off-processor elements...
Epetra_Distributor & Distributor() const
Epetra_Import: This class builds an import object for efficient importing of off-processor elements...
int * ExportLIDs() const
List of elements that will be sent to other processors.
int NumExportIDs() const
Returns the number of elements that must be sent by the calling processor to other processors...
int * PermuteFromLIDs() const
List of elements in the source map that are permuted.
const Epetra_BlockMap & TargetMap() const
Returns the TargetMap used to construct this importer.
Epetra_Distributor * Distor_
Epetra_Object: The base Epetra class.
int * ExportPIDs() const
List of processors to which elements will be sent, ExportLIDs() [i] will be sent to processor ExportP...
Epetra_BlockMap: A class for partitioning block element vectors and matrices.
const Epetra_BlockMap & SourceMap() const
Returns the SourceMap used to construct this importer.
int NumRecv() const
Total number of elements to be received.
Epetra_BlockMap TargetMap_
int NumPermuteIDs() const
Returns the number of elements that are local to the calling processor, but not part of the first Num...
Epetra_Distributor * Distor_
int NumExportIDs() const
Returns the number of elements that must be sent by the calling processor to other processors...
int * RemoteLIDs() const
List of elements in the target map that are coming from other processors.
virtual int ReportError(const std::string Message, int ErrorCode) const
Error reporting method.
const Epetra_Distributor * DistributorPtr() const
int NumSend() const
Total number of elements to be sent.
Epetra_BlockMap SourceMap_
int * PermuteToLIDs() const
List of elements in the target map that are permuted.