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>
Epetra_Distributor: The Epetra Gather/Scatter Setup Base Class.
Epetra_Export: This class builds an export object for efficient exporting of off-processor elements.
int * PermuteToLIDs() const
List of elements in the target map that are permuted.
int NumPermuteIDs() const
Returns the number of elements that are local to the calling processor, but not part of the first Num...
int * ExportPIDs() const
List of processors to which elements will be sent, ExportLIDs() [i] will be sent to processor ExportP...
Epetra_BlockMap SourceMap_
int * PermuteFromLIDs() const
List of elements in the source map that are permuted.
friend class Epetra_Export
int NumExportIDs() const
Returns the number of elements that must be sent by the calling processor to other processors.
Epetra_BlockMap TargetMap_
int NumSameIDs() const
Returns the number of elements that are identical between the source and target maps,...
Epetra_Distributor & Distributor() const
void Construct(const Epetra_BlockMap &targetMap, const Epetra_BlockMap &sourceMap, int NumRemotePIDs=-1, const int *UserRemotePIDs=0)
int NumRecv() const
Total number of elements to be received.
int * RemoteLIDs() const
List of elements in the target map that are coming from other processors.
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)
Epetra_Import & operator=(const Epetra_Import &src)
int NumRemoteIDs() const
Returns the number of elements that are not on the calling processor.
int NumSend() const
Total number of elements to be sent.
int * ExportLIDs() const
List of elements that will be sent to other processors.
const Epetra_Distributor * DistributorPtr() const
Epetra_Import(const Epetra_BlockMap &TargetMap, const Epetra_BlockMap &SourceMap)
Constructs a Epetra_Import object from the source and target maps.
const Epetra_BlockMap & SourceMap() const
Returns the SourceMap used to construct this importer.
Epetra_Distributor * Distor_
const Epetra_BlockMap & TargetMap() const
Returns the TargetMap used to construct this importer.
friend class Epetra_BlockMap
virtual void Print(std::ostream &os) const
Print object to an output stream Print method.
virtual int ReportError(const std::string Message, int ErrorCode) const
Error reporting method.
Epetra_Object(int TracebackModeIn=-1, bool set_label=true)
Epetra_Object Constructor.