44 #ifndef EPETRA_IMPORT_UTIL_H
45 #define EPETRA_IMPORT_UTIL_H
61 namespace Epetra_Import_Util {
79 std::vector<int>& SourcePids);
91 const int * RemoteLIDs,
93 const int *PermuteToLIDs,
94 const int *PermuteFromLIDs,
114 const int * RemoteLIDs,
116 const int *PermuteToLIDs,
117 const int *PermuteFromLIDs,
121 int TargetNumNonzeros,
126 const std::vector<int> &SourcePids,
127 std::vector<int> &TargetPids);
144 const int * RemoteLIDs,
146 const int *PermuteToLIDs,
147 const int *PermuteFromLIDs,
151 int TargetNumNonzeros,
154 long long * CSR_colind,
156 const std::vector<int> &SourcePids,
157 std::vector<int> &TargetPids);
172 #ifndef EPETRA_NO_32BIT_GLOBAL_INDICES
174 const int *owningPIDs,
bool SortGhostsAssociatedWithEachProcessor,
188 #ifndef EPETRA_NO_64BIT_GLOBAL_INDICES
190 const int *owningPIDs,
bool SortGhostsAssociatedWithEachProcessor, std::vector<int>& RemotePIDs,
Epetra_BlockMap & NewColMap);
197 #if defined(Epetra_SHOW_DEPRECATED_WARNINGS)
199 #warning "The Epetra package is deprecated"
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...