#include <Epetra_Directory.h>
Inheritance diagram for Epetra_Directory:

Public Member Functions | |
Constructors/Destructor | |
| virtual | ~Epetra_Directory () |
| Epetra_Directory destructor. | |
Query method | |
| virtual 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 =0 |
| GetDirectoryEntries : Returns proc and local id info for non-local map entries. | |
| virtual bool | GIDsAllUniquelyOwned () const =0 |
| GIDsAllUniquelyOwned: returns true if all GIDs appear on just one processor. | |
For Epetra_BlockMap objects, a Epetra_Directory object must be created by a call to the Epetra_Comm CreateDirectory method. The Directory is needed to allow referencing of non-local elements.
|
||||||||||||||||||||||||||||||||
|
GetDirectoryEntries : Returns proc and local id info for non-local map entries. Given a list of Global Entry IDs, this function returns the list of processor IDs and local IDs on the owning processor that correspond to the list of entries. If LocalEntries is 0, then local IDs are not returned. If EntrySizes is nonzero, it will contain a list of corresponding element sizes for the requested global entries.
Implemented in Epetra_BasicDirectory. |
|
|
GIDsAllUniquelyOwned: returns true if all GIDs appear on just one processor. If any GIDs are owned by multiple processors, returns false. Implemented in Epetra_BasicDirectory. |
1.3.9.1