44 #ifndef EPETRA_BASICDIRECTORY_H
45 #define EPETRA_BASICDIRECTORY_H
112 #ifndef EPETRA_NO_32BIT_GLOBAL_INDICES
114 const int NumEntries,
115 const int * GlobalEntries,
119 bool high_rank_sharing_procs=
false)
const;
122 #ifndef EPETRA_NO_64BIT_GLOBAL_INDICES
124 const int NumEntries,
125 const long long * GlobalEntries,
129 bool high_rank_sharing_procs=
false)
const;
140 virtual void Print(std::ostream & os)
const;
152 template<
typename int_type>
197 #ifndef EPETRA_NO_32BIT_GLOBAL_INDICES
200 #ifndef EPETRA_NO_64BIT_GLOBAL_INDICES
204 template<
typename int_type>
207 template<
typename int_type>
209 const int NumEntries,
210 const int_type * GlobalEntries,
214 bool high_rank_sharing_procs)
const;
218 #ifndef EPETRA_NO_32BIT_GLOBAL_INDICES
225 #ifndef EPETRA_NO_64BIT_GLOBAL_INDICES
Epetra_Map: A class for partitioning vectors and matrices.
const Epetra_Map & DirectoryMap() const
Returns the Epetra_Map containing the directory.
bool entryOnMultipleProcs_
bool GIDsAllUniquelyOwned() const
GIDsAllUniquelyOwned: returns true if all GIDs appear on just one processor.
Epetra_BasicDirectory(const Epetra_BlockMap &Map)
Epetra_BasicDirectory constructor.
int GetDirectoryEntries(const Epetra_BlockMap &Map, const int NumEntries, const int *GlobalEntries, int *Procs, int *LocalEntries, int *EntrySizes, bool high_rank_sharing_procs=false) const
GetDirectoryEntries : Returns proc and local id info for non-local map entries.
virtual ~Epetra_BasicDirectory(void)
Epetra_BasicDirectory destructor.
Epetra_Directory: This class is a pure virtual class whose interface allows Epetra_Map and Epetr_Bloc...
int Generate(const Epetra_BlockMap &Map)
Generate: Sets up Directory tables.
void create_ProcListArrays()
Epetra_BasicDirectory: This class allows Epetra_Map objects to reference non-local elements...
Epetra_BlockMap: A class for partitioning block element vectors and matrices.
long long * AllMinGIDs_LL_
Epetra_BasicDirectory & operator=(const Epetra_BasicDirectory &src)
Epetra_Map * DirectoryMap_
virtual void Print(std::ostream &os) const
Print method.
void addProcToList(int proc, int LID)
const int_type * AllMinGIDs() const