44 #ifndef EPETRA_CRSGRAPH_H
45 #define EPETRA_CRSGRAPH_H
266 const Epetra_BlockMap& ColMap,
const int* NumIndicesPerRow,
bool StaticProfile =
false);
286 const Epetra_BlockMap& ColMap,
int NumIndicesPerRow,
bool StaticProfile =
false);
315 #ifndef EPETRA_NO_32BIT_GLOBAL_INDICES
316 int InsertGlobalIndices(
int GlobalRow,
int NumIndices,
int* Indices);
318 #ifndef EPETRA_NO_64BIT_GLOBAL_INDICES
319 int InsertGlobalIndices(
long long GlobalRow,
int NumIndices,
long long* Indices);
332 #ifndef EPETRA_NO_32BIT_GLOBAL_INDICES
333 int RemoveGlobalIndices(
int GlobalRow,
int NumIndices,
int* Indices);
335 #ifndef EPETRA_NO_64BIT_GLOBAL_INDICES
336 int RemoveGlobalIndices(
long long GlobalRow,
int NumIndices,
long long* Indices);
347 int RemoveGlobalIndices(
long long Row);
366 int InsertMyIndices(
int LocalRow,
int NumIndices,
int* Indices);
378 int RemoveMyIndices(
int LocalRow,
int NumIndices,
int* Indices);
388 int RemoveMyIndices(
int Row);
434 int OptimizeStorage();
450 #ifndef EPETRA_NO_32BIT_GLOBAL_INDICES
451 int ExtractGlobalRowCopy(
int GlobalRow,
int LenOfIndices,
int& NumIndices,
int* Indices)
const;
453 #ifndef EPETRA_NO_64BIT_GLOBAL_INDICES
454 int ExtractGlobalRowCopy(
long long GlobalRow,
int LenOfIndices,
int& NumIndices,
long long* Indices)
const;
468 int ExtractMyRowCopy(
int LocalRow,
int LenOfIndices,
int& NumIndices,
int* Indices)
const;
481 #ifndef EPETRA_NO_32BIT_GLOBAL_INDICES
482 int ExtractGlobalRowView(
int GlobalRow,
int& NumIndices,
int*& Indices)
const;
484 #ifndef EPETRA_NO_64BIT_GLOBAL_INDICES
485 int ExtractGlobalRowView(
long long GlobalRow,
int& NumIndices,
long long*& Indices)
const;
499 int ExtractMyRowView(
int LocalRow,
int& NumIndices,
int*& Indices)
const;
504 bool Filled()
const {
return(CrsGraphData_->Filled_);}
532 bool NoDiagonal()
const {
return(CrsGraphData_->NoDiagonal_);}
535 #ifndef EPETRA_NO_32BIT_GLOBAL_INDICES
539 #ifndef EPETRA_NO_64BIT_GLOBAL_INDICES
540 bool MyGlobalRow(
long long GID)
const {
return(RowMap().MyGID(GID));}
548 bool HaveColMap()
const {
return(CrsGraphData_->HaveColMap_);}
555 int NumMyRows()
const {
return(CrsGraphData_->NumMyRows_);}
558 #ifndef EPETRA_NO_32BIT_GLOBAL_INDICES
560 if(RowMap().GlobalIndicesInt())
561 return (
int) NumGlobalRows64();
562 throw "Epetra_CrsGraph::NumGlobalRows: GlobalIndices not int.";
572 int NumMyCols()
const {
return(CrsGraphData_->NumMyCols_);}
578 #ifndef EPETRA_NO_32BIT_GLOBAL_INDICES
580 if(RowMap().GlobalIndicesInt())
581 return (
int) NumGlobalCols64();
582 throw "Epetra_CrsGraph::NumGlobalCols: GlobalIndices not int.";
594 #ifndef EPETRA_NO_32BIT_GLOBAL_INDICES
596 if(RowMap().GlobalIndicesInt())
597 return (
int) NumGlobalNonzeros64();
598 throw "Epetra_CrsGraph::NumGlobalNonzeros: GlobalIndices not int.";
607 #ifndef EPETRA_NO_32BIT_GLOBAL_INDICES
609 if(RowMap().GlobalIndicesInt())
610 return (
int) NumGlobalDiagonals64();
611 throw "Epetra_CrsGraph::NumGlobalDiagonals: GlobalIndices not int.";
626 #ifndef EPETRA_NO_32BIT_GLOBAL_INDICES
628 if(RowMap().GlobalIndicesInt())
629 return (
int) NumGlobalBlockRows64();
630 throw "Epetra_CrsGraph::NumGlobalBlockRows: GlobalIndices not int.";
645 #ifndef EPETRA_NO_32BIT_GLOBAL_INDICES
647 if(RowMap().GlobalIndicesInt())
648 return (
int) NumGlobalBlockCols64();
649 throw "Epetra_CrsGraph::NumGlobalBlockCols: GlobalIndices not int.";
664 #ifndef EPETRA_NO_32BIT_GLOBAL_INDICES
666 if(RowMap().GlobalIndicesInt())
667 return (
int) NumGlobalBlockDiagonals64();
668 throw "Epetra_CrsGraph::NumGlobalBlockDiagonals: GlobalIndices not int.";
677 #ifndef EPETRA_NO_32BIT_GLOBAL_INDICES
679 if(RowMap().GlobalIndicesInt())
680 return (
int) NumGlobalEntries64();
681 throw "Epetra_CrsGraph::NumGlobalEntries: GlobalIndices not int.";
695 int MaxRowDim()
const {
return(CrsGraphData_->MaxRowDim_);}
707 int MaxColDim()
const {
return(CrsGraphData_->MaxColDim_);}
722 int NumGlobalIndices(
long long Row)
const;
725 int NumAllocatedGlobalIndices(
long long Row)
const;
759 int NumMyIndices(
int Row)
const {
if (Row<0 || Row >= NumMyRows())
return(0);
760 if (StorageOptimized())
return(CrsGraphData_->IndexOffset_[Row+1] - CrsGraphData_->IndexOffset_[Row]);
761 else return(CrsGraphData_->NumIndicesPerRow_[Row]);}
765 if (StorageOptimized())
return(CrsGraphData_->IndexOffset_[Row+1] - CrsGraphData_->IndexOffset_[Row]);
766 else return(CrsGraphData_->NumAllocatedIndicesPerRow_[Row]);}
769 #ifndef EPETRA_NO_32BIT_GLOBAL_INDICES
770 int IndexBase()
const {
772 if(RowMap().GlobalIndicesInt())
773 return (
int) IndexBase64();
774 throw "Epetra_CrsGraph::IndexBase: GlobalIndices not int.";
777 long long IndexBase64()
const {
return(CrsGraphData_->IndexBase_);};
858 #ifndef EPETRA_NO_32BIT_GLOBAL_INDICES
859 int LRID(
int GRID_in)
const {
return(RowMap().LID(GRID_in));}
862 #ifndef EPETRA_NO_64BIT_GLOBAL_INDICES
863 int LRID(
long long GRID_in)
const {
return(RowMap().LID(GRID_in));}
866 #if defined(EPETRA_NO_32BIT_GLOBAL_INDICES) && defined(EPETRA_NO_64BIT_GLOBAL_INDICES)
869 int LRID(
long long GRID_in)
const {
return(RowMap().LID(GRID_in));}
873 #ifndef EPETRA_NO_32BIT_GLOBAL_INDICES
875 if(RowMap().GlobalIndicesInt())
876 return (
int) GRID64(LRID_in);
877 throw "Epetra_CrsGraph::GRID: GlobalIndices not int.";
880 long long GRID64(
int LRID_in)
const {
return(RowMap().GID64(LRID_in));}
886 #ifndef EPETRA_NO_32BIT_GLOBAL_INDICES
889 return( CrsGraphData_->HaveColMap_ ? ColMap().LID(GCID_in) : -1 );
893 #ifndef EPETRA_NO_64BIT_GLOBAL_INDICES
894 int LCID(
long long GCID_in)
const
896 return( CrsGraphData_->HaveColMap_ ? ColMap().LID(GCID_in) : -1 );
904 #ifndef EPETRA_NO_32BIT_GLOBAL_INDICES
906 if(RowMap().GlobalIndicesInt())
907 return (
int) GCID64(LCID_in);
908 throw "Epetra_CrsGraph::GCID: GlobalIndices not int.";
913 return( CrsGraphData_->HaveColMap_ ? ColMap().GID64(LCID_in) : -1 );
917 #ifndef EPETRA_NO_32BIT_GLOBAL_INDICES
918 bool MyGRID(
int GRID_in)
const {
return(LRID(GRID_in) != -1);}
921 #ifndef EPETRA_NO_64BIT_GLOBAL_INDICES
922 bool MyGRID(
long long GRID_in)
const {
return(LRID(GRID_in) != -1);}
926 bool MyLRID(
int LRID_in)
const {
return(GRID64(LRID_in) != IndexBase64() - 1);}
932 #ifndef EPETRA_NO_32BIT_GLOBAL_INDICES
933 bool MyGCID(
int GCID_in)
const {
return(LCID(GCID_in) != -1);}
936 #ifndef EPETRA_NO_64BIT_GLOBAL_INDICES
937 bool MyGCID(
long long GCID_in)
const {
return(LCID(GCID_in) != -1);}
944 bool MyLCID(
int LCID_in)
const {
return(GCID64(LCID_in) != IndexBase64() - 1);}
958 if (StorageOptimized()){
return(CrsGraphData_->data->All_Indices_.Values() + CrsGraphData_->IndexOffset_[Loc]);}
959 else return(CrsGraphData_->data->Indices_[Loc]); }
962 if (StorageOptimized()) {
return(CrsGraphData_->data->All_Indices_.Values() +CrsGraphData_->IndexOffset_[Loc]);}
963 else return(CrsGraphData_->data->Indices_[Loc]); }
977 virtual void Print(std::ostream& os)
const;
980 void PrintGraphData(std::ostream& os,
int level)
const {CrsGraphData_->Print(os, level);}
990 int TransformToLocal();
1034 if (!StorageOptimized())
throw ReportError(
"This method: int *All_Indices() cannot be called when StorageOptimized()==false", -1);
1035 else return(CrsGraphData_->data->All_Indices_.Values());}
1036 #if defined(Epetra_ENABLE_MKL_SPARSE) && !defined(Epetra_DISABLE_MKL_SPARSE_MM)
1037 int *All_IndicesPlus1()
const;
1040 if (!StorageOptimized())
throw ReportError(
"This method: int *IndexOffset() cannot be called when StorageOptimized()==false", -1);
1041 else return(CrsGraphData_->IndexOffset_.Values());}
1043 if (StorageOptimized())
throw ReportError(
"This method: int* NumIndicesPerRow() cannot be called when StorageOptimized()==true", -1);
1044 else return(CrsGraphData_->NumIndicesPerRow_.Values());}
1046 if (StorageOptimized())
throw ReportError(
"This method: int* NumAllocatedIndicesPerRow() cannot be called when StorageOptimized()==true", -1);
1047 else return(CrsGraphData_->NumAllocatedIndicesPerRow_.Values());}
1049 if (StorageOptimized())
throw ReportError(
"This method: int** Indices() cannot be called when StorageOptimized()==true", -1);
1050 else return(CrsGraphData_->data->Indices_);}
1052 if (StorageOptimized())
return(CrsGraphData_->data->All_Indices_.Values()+CrsGraphData_->IndexOffset_[LocalRow]);
1053 else return(CrsGraphData_->data->Indices_[LocalRow]);}
1055 template<
typename int_type>
1057 if (StorageOptimized())
throw ReportError(
"This method: int_type** TIndices() cannot be called when StorageOptimized()==true", -1);
1058 else return(CrsGraphData_->Data<int_type>().Indices_);}
1060 template<
typename int_type>
1062 if (StorageOptimized())
return(CrsGraphData_->Data<int_type>().All_Indices_.Values()+CrsGraphData_->IndexOffset_[LocalRow]);
1063 else return(CrsGraphData_->Data<int_type>().Indices_[LocalRow]);}
1069 bool GlobalConstantsComputed()
const;
1070 #ifndef EPETRA_NO_32BIT_GLOBAL_INDICES
1071 bool FindGlobalIndexLoc(
int LocalRow,
int Index,
int Start,
int& Loc)
const;
1072 bool FindGlobalIndexLoc(
int NumIndices,
const int* Indices,
int Index,
int Start,
int& Loc)
const;
1074 #ifndef EPETRA_NO_64BIT_GLOBAL_INDICES
1075 bool FindGlobalIndexLoc(
int LocalRow,
long long Index,
int Start,
int& Loc)
const;
1076 bool FindGlobalIndexLoc(
int NumIndices,
const long long* Indices,
long long Index,
int Start,
int& Loc)
const;
1079 bool FindMyIndexLoc(
int LocalRow,
int Index,
int Start,
int& Loc)
const;
1080 bool FindMyIndexLoc(
int NumIndices,
const int* Indices,
int Index,
int Start,
int& Loc)
const;
1082 int InsertIndices(
int Row,
int NumIndices,
int* Indices);
1083 int InsertIndicesIntoSorted(
int Row,
int NumIndices,
int* Indices);
1085 int InsertIndices(
int Row,
int NumIndices,
long long* Indices);
1086 int InsertIndicesIntoSorted(
int Row,
int NumIndices,
long long* Indices);
1101 bool Sorted()
const {
return(CrsGraphData_->Sorted_);}
1107 int RemoveRedundantIndices();
1108 int DetermineTriangular();
1117 void ComputeIndexState();
1119 #ifndef EPETRA_NO_32BIT_GLOBAL_INDICES
1122 #ifndef EPETRA_NO_64BIT_GLOBAL_INDICES
1125 int Allocate(
const int* NumIndicesPerRow,
int Inc,
bool StaticProfile);
1127 int ComputeGlobalConstants();
1138 int* PermuteFromLIDs,
1145 int* PermuteFromLIDs,
1149 template<
typename int_type>
1154 int* PermuteFromLIDs,
1162 int* PermuteFromLIDs,
1166 template<
typename int_type>
1171 int* PermuteFromLIDs,
1219 template<
typename int_type>
1220 int TAllocate(
const int* numIndicesPerRow,
int Inc,
bool staticProfile);
1222 template<
typename int_type>
1223 int InsertGlobalIndices(int_type GlobalRow,
int NumIndices, int_type* Indices);
1225 template<
typename int_type>
1226 int TInsertIndices(
int Row,
int NumIndices, int_type* Indices);
1228 template<
typename int_type>
1229 int TInsertIndicesIntoSorted(
int Row,
int NumIndices, int_type* Indices);
1231 template<
typename int_type>
1232 int RemoveGlobalIndices(int_type GlobalRow,
int NumIndices, int_type* Indices);
1234 template<
typename int_type>
1235 int TRemoveGlobalIndices(
long long Row);
1237 template<
typename int_type>
1238 bool FindGlobalIndexLoc(
int LocalRow, int_type Index,
int Start,
int& Loc)
const;
1240 template<
typename int_type>
1241 bool FindGlobalIndexLoc(
int NumIndices,
const int_type* Indices, int_type Index,
int Start,
int& Loc)
const;
1243 template<
typename int_type>
1244 int ExtractGlobalRowCopy(int_type Row,
int LenOfIndices,
int& NumIndices, int_type* Indices)
const;
1246 template<
typename int_type>
1247 int ExtractMyRowCopy(
int Row,
int LenOfIndices,
int& NumIndices, int_type* targIndices)
const;
void SetFilled(bool Flag)
const Epetra_BlockMap & RangeMap() const
Returns the RangeMap associated with this graph.
bool HaveColMap() const
Returns true if we have a well-defined ColMap, and returns false otherwise.
int GlobalMaxNumIndices() const
Returns the maximun number of nonzero entries across all rows across all processors.
int NumGlobalRows() const
Returns the number of matrix rows in global matrix.
long long NumGlobalRows64() const
int NumMyBlockRows() const
Returns the number of block matrix rows on this processor.
long long GCID64(int LCID_in) const
const Epetra_Comm & Comm() const
Returns a pointer to the Epetra_Comm communicator associated with this graph.
const Epetra_Comm & Comm() const
Returns the address of the Epetra_Comm for this multi-vector.
Epetra_Distributor: The Epetra Gather/Scatter Setup Base Class.
virtual int CopyAndPermute(const Epetra_SrcDistObject &Source, int NumSameIDs, int NumPermuteIDs, int *PermuteToLIDs, int *PermuteFromLIDs, const Epetra_OffsetIndex *Indexor, Epetra_CombineMode CombineMode=Zero)=0
Perform ID copies and permutations that are on processor.
Epetra_OffsetIndex: This class builds index for efficient mapping of data from one Epetra_CrsGraph ba...
int MaxColDim() const
Returns the max column dimension of block entries on the processor.
int * IndexOffset() const
bool MyGlobalRow(int GID) const
Returns true of GID is owned by the calling processor, otherwise it returns false.
int NumGlobalBlockCols() const
Returns the number of Block matrix columns in global matrix.
long long NumGlobalCols64() const
virtual void Print(std::ostream &os) const
Print method.
bool MyGRID(int GRID_in) const
Returns true if the GRID passed in belongs to the calling processor in this map, otherwise returns fa...
Epetra Finite-Element CrsGraph.
int NumMyEntries() const
Returns the number of entries on this processor.
const Epetra_Import * Importer() const
Returns the Importer associated with this graph.
long long NumGlobalDiagonals64() const
int NumMyBlockCols() const
Returns the number of Block matrix columns on this processor.
int NumMyBlockDiagonals() const
Returns the number of Block diagonal entries in the local graph, based on global row/column index com...
int NumMyRows() const
Returns the number of matrix rows on this processor.
Epetra_Export: This class builds an export object for efficient exporting of off-processor elements...
Epetra_VbrMatrix: A class for the construction and use of real-valued double-precision variable block...
const Epetra_BlockMap & ColMap() const
Returns the Column Map associated with this graph.
const Epetra_BlockMap & ImportMap() const
Use ColMap() instead.
void SetAllocated(bool Flag)
const Epetra_BlockMap & DomainMap() const
Returns the DomainMap associated with this graph.
int NumGlobalEntries() const
Returns the number of entries in the global graph.
Epetra_Import: This class builds an import object for efficient importing of off-processor elements...
int_type ** TIndices() const
long long NumGlobalBlockDiagonals64() const
bool StaticProfile() const
int MaxNumNonzeros() const
Returns the maximum number of nonzero points across all rows on this processor.
Epetra_CrsGraphData * CrsGraphData_
virtual int CheckSizes(const Epetra_SrcDistObject &Source)=0
Allows the source and target (this) objects to be compared for compatibility, return nonzero if not...
int LCID(long long GCID_in) const
int NumGlobalBlockDiagonals() const
Returns the number of Block diagonal entries in the global graph, based on global row/column index co...
Epetra_Time: The Epetra Timing Class.
int NumMyCols() const
Returns the number of entries in the set of column-indices that appear on this processor.
Epetra_CrsGraphData: The Epetra CrsGraph Data Class.
bool NoRedundancies() const
If RemoveRedundantIndices() has been called, this query returns true, otherwise it returns false...
int LRID(int GRID_in) const
Returns the local row index for given global row index, returns -1 if no local row for this global ro...
Epetra_Util: The Epetra Util Wrapper Class.
long long NumGlobalNonzeros64() const
bool MyLRID(int LRID_in) const
Returns true if the LRID passed in belongs to the calling processor in this map, otherwise returns fa...
const Epetra_CrsGraphData * DataPtr() const
Returns a pointer to the CrsGraphData instance this CrsGraph uses.
Epetra Finite-Element CrsMatrix.
int LCID(int GCID_in) const
Returns the local column index for given global column index, returns -1 if no local column for this ...
int NumGlobalCols() const
Returns the number of matrix columns in global matrix.
bool MyGlobalRow(long long GID) const
bool Sorted() const
If SortIndices() has been called, this query returns true, otherwise it returns false.
void PrintGraphData(std::ostream &os, int level) const
Epetra_Comm: The Epetra Communication Abstract Base Class.
int MaxRowDim() const
Returns the max row dimension of block entries on the processor.
void SetIndicesAreGlobal(bool Flag)
void SetIndicesAreLocal(bool Flag)
bool MyLCID(int LCID_in) const
Returns true if the LRID passed in belongs to the calling processor in this map, otherwise returns fa...
void SetNoRedundancies(bool Flag)
int * NumIndicesPerRow() const
void SetIndicesAreContiguous(bool Flag)
long long NumGlobalBlockRows64() const
long long NumGlobalBlockCols64() const
bool IndicesAreGlobal() const
If column indices are in global range, this query returns true, otherwise it returns false...
virtual int UnpackAndCombine(const Epetra_SrcDistObject &Source, int NumImportIDs, int *ImportLIDs, int LenImports, char *Imports, int &SizeOfPacket, Epetra_Distributor &Distor, Epetra_CombineMode CombineMode, const Epetra_OffsetIndex *Indexor)=0
Perform any unpacking and combining after call to DoTransfer().
Epetra_BlockMap: A class for partitioning block element vectors and matrices.
int GCID(int LCID_in) const
Returns the global column index for give local column index, returns IndexBase-1 if we don't have thi...
long long GRID64(int LRID_in) const
int NumGlobalNonzeros() const
Returns the number of indices in the global graph.
const Epetra_BlockMap & RowMap() const
Returns the RowMap associated with this graph.
int NumAllocatedMyIndices(int Row) const
Returns the allocated number of nonzero entries in specified local row on this processor.
int LRID(long long GRID_in) const
int * All_Indices() const
void SetGlobalConstantsComputed(bool Flag)
void SortGhostsAssociatedWithEachProcessor(bool Flag)
Forces FillComplete() to locally order ghostnodes associated with each remote processor in ascending ...
Epetra_DistObject & operator=(const Epetra_DistObject &src)
int GlobalMaxColDim() const
Returns the max column dimension of block entries across all processors.
bool MyGCID(long long GCID_in) const
int ReferenceCount() const
Returns the reference count of CrsGraphData.
int NumMyIndices(int Row) const
Returns the current number of nonzero entries in specified local row on this processor.
int GRID(int LRID_in) const
Returns the global row index for give local row index, returns IndexBase-1 if we don't have this loca...
void SetSorted(bool Flag)
int * NumAllocatedIndicesPerRow() const
int GlobalMaxRowDim() const
Returns the max row dimension of block entries across all processors.
Epetra Finite-Element VbrMatrix.
bool UpperTriangular() const
If graph is upper triangular in local index space, this query returns true, otherwise it returns fals...
int_type * TIndices(int LocalRow) const
bool StorageOptimized() const
If OptimizeStorage() has been called, this query returns true, otherwise it returns false...
bool MyGCID(int GCID_in) const
Returns true if the GCID passed in belongs to the calling processor in this map, otherwise returns fa...
int * Indices(int LocalRow) const
Epetra_CrsMatrix: A class for constructing and using real-valued double-precision sparse compressed r...
bool IndicesAreContiguous() const
int MaxNumIndices() const
Returns the maximum number of nonzero entries across all rows on this processor.
virtual int ReportError(const std::string Message, int ErrorCode) const
Error reporting method.
int NumMyDiagonals() const
Returns the number of diagonal entries in the local graph, based on global row/column index compariso...
long long IndexBase64() const
const Epetra_Export * Exporter() const
Returns the Exporter associated with this graph.
bool NoDiagonal() const
If graph has no diagonal entries in global index space, this query returns true, otherwise it returns...
Epetra_SrcDistObject: A class for supporting flexible source distributed objects for import/export op...
int * operator[](int Loc) const
Epetra_RowMatrix: A pure virtual class for using real-valued double-precision row matrices...
void PrintGraphData(std::ostream &os) const
int * operator[](int Loc)
Inlined bracket operator for fast access to data. (Const and Non-const versions)
int NumGlobalBlockRows() const
Returns the number of Block matrix rows in global matrix.
int NumMyNonzeros() const
Returns the number of indices in the local graph.
bool LowerTriangular() const
If graph is lower triangular in local index space, this query returns true, otherwise it returns fals...
int GlobalMaxNumNonzeros() const
Returns the maximun number of nonzero points across all rows across all processors.
long long NumGlobalEntries64() const
Epetra_CrsGraph: A class for constructing and using sparse compressed row graphs. ...
int NumGlobalDiagonals() const
Returns the number of diagonal entries in the global graph, based on global row/column index comparis...
Epetra_DistObject: A class for constructing and using dense multi-vectors, vectors and matrices in pa...
bool MyGRID(long long GRID_in) const
virtual int PackAndPrepare(const Epetra_SrcDistObject &Source, int NumExportIDs, int *ExportLIDs, int &LenExports, char *&Exports, int &SizeOfPacket, int *Sizes, bool &VarSizes, Epetra_Distributor &Distor)=0
Perform any packing or preparation required for call to DoTransfer().
const Epetra_BlockMap & Map() const
Returns the address of the Epetra_BlockMap for this multi-vector.
bool IndicesAreLocal() const
If column indices are in local range, this query returns true, otherwise it returns false...