44 #ifndef EPETRA_IMPORT_UTIL_H
45 #define EPETRA_IMPORT_UTIL_H
47 #if defined(Epetra_SHOW_DEPRECATED_WARNINGS)
49 #warning "The Epetra package is deprecated"
69 namespace Epetra_Import_Util {
87 std::vector<int>& SourcePids);
99 const int * RemoteLIDs,
101 const int *PermuteToLIDs,
102 const int *PermuteFromLIDs,
122 const int * RemoteLIDs,
124 const int *PermuteToLIDs,
125 const int *PermuteFromLIDs,
129 int TargetNumNonzeros,
134 const std::vector<int> &SourcePids,
135 std::vector<int> &TargetPids);
152 const int * RemoteLIDs,
154 const int *PermuteToLIDs,
155 const int *PermuteFromLIDs,
159 int TargetNumNonzeros,
162 long long * CSR_colind,
164 const std::vector<int> &SourcePids,
165 std::vector<int> &TargetPids);
180 #ifndef EPETRA_NO_32BIT_GLOBAL_INDICES
182 const int *owningPIDs,
bool SortGhostsAssociatedWithEachProcessor,
196 #ifndef EPETRA_NO_64BIT_GLOBAL_INDICES
198 const int *owningPIDs,
bool SortGhostsAssociatedWithEachProcessor, std::vector<int>& RemotePIDs,
Epetra_BlockMap & NewColMap);
Epetra_Map: A class for partitioning vectors and matrices.
int UnpackWithOwningPIDsCount(const Epetra_CrsMatrix &SourceMatrix, int NumSameIDs, int NumRemoteIDs, const int *RemoteLIDs, int NumPermuteIDs, const int *PermuteToLIDs, const int *PermuteFromLIDs, int LenImports, char *Imports)
UnpackWithOwningPIDsCount.
int PackAndPrepareWithOwningPIDs(const Epetra_CrsMatrix &SourceMatrix, int NumExportIDs, int *ExportLIDs, int &LenExports, char *&Exports, int &SizeOfPacket, int *Sizes, bool &VarSizes, std::vector< int > &SourcePids)
PackAndPrepareWithOwningPIDs.
Epetra_Import: This class builds an import object for efficient importing of off-processor elements...
int UnpackAndCombineIntoCrsArrays(const Epetra_CrsMatrix &SourceMatrix, int NumSameIDs, int NumRemoteIDs, const int *RemoteLIDs, int NumPermuteIDs, const int *PermuteToLIDs, const int *PermuteFromLIDs, int LenImports, char *Imports, int TargetNumRows, int TargetNumNonzeros, int MyTargetPID, int *CSR_rowptr, int *CSR_colind, double *CSR_values, const std::vector< int > &SourcePids, std::vector< int > &TargetPids)
UnpackAndCombineIntoCrsArrays.
Epetra_BlockMap: A class for partitioning block element vectors and matrices.
int LowCommunicationMakeColMapAndReindex(int N, const int *rowptr, int *colind, const Epetra_Map &domainMap, const int *owningPIDs, bool SortGhostsAssociatedWithEachProcessor, std::vector< int > &RemotePIDs, Epetra_BlockMap &NewColMap)
LowCommunicationMakeColMapAndReindex.
Epetra_CrsMatrix: A class for constructing and using real-valued double-precision sparse compressed r...