44 #ifndef EPETRA_BASICDIRECTORY_H
45 #define EPETRA_BASICDIRECTORY_H
47 #if defined(Epetra_SHOW_DEPRECATED_WARNINGS)
49 #warning "The Epetra package is deprecated"
120 #ifndef EPETRA_NO_32BIT_GLOBAL_INDICES
122 const int NumEntries,
123 const int * GlobalEntries,
127 bool high_rank_sharing_procs=
false)
const;
130 #ifndef EPETRA_NO_64BIT_GLOBAL_INDICES
132 const int NumEntries,
133 const long long * GlobalEntries,
137 bool high_rank_sharing_procs=
false)
const;
148 virtual void Print(std::ostream & os)
const;
160 template<
typename int_type>
205 #ifndef EPETRA_NO_32BIT_GLOBAL_INDICES
208 #ifndef EPETRA_NO_64BIT_GLOBAL_INDICES
212 template<
typename int_type>
215 template<
typename int_type>
217 const int NumEntries,
218 const int_type * GlobalEntries,
222 bool high_rank_sharing_procs)
const;
226 #ifndef EPETRA_NO_32BIT_GLOBAL_INDICES
233 #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