#include <Tpetra_Directory.hpp>
Inheritance diagram for Tpetra::Directory< OrdinalType >:


Public Member Functions | |
| Directory (ElementSpace< OrdinalType > const &ElementSpace) | |
| constructor | |
| Directory (Directory< OrdinalType > const &Directory) | |
| copy constructor | |
| ~Directory () | |
| destructor. | |
| void | getDirectoryEntries (std::vector< OrdinalType > const &globalEntries, std::vector< OrdinalType > &images) const |
| getDirectoryEntries : Returns image info for non-local ElementSpace entries | |
| void | getDirectoryEntries (std::vector< OrdinalType > const &globalEntries, std::vector< OrdinalType > &images, std::vector< OrdinalType > &localEntries) const |
| getDirectoryEntries : Returns image and local id info for non-local ElementSpace entries | |
For ElementSpace objects, a Directory object must be created to allow referencing of non-local elements. Tpetra::Directory produces and contains a uniform linear ElementSpace and a list of imageIDs allowing non-local elements to be accessed by dereferencing throught the Directory.
This class currently has one constructor, taking an ElementSpace object.
| void Tpetra::Directory< OrdinalType >::getDirectoryEntries | ( | std::vector< OrdinalType > const & | globalEntries, | |
| std::vector< OrdinalType > & | images, | |||
| std::vector< OrdinalType > & | localEntries | |||
| ) | const [inline] |
getDirectoryEntries : Returns image and local id info for non-local ElementSpace entries
Given a list of Global Entry IDs, this function returns the list of image IDs and local IDs on the owning memory image 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.
| In | globalEntries - List of Global IDs being passed in. | |
| Out | images - On return contains list of Image IDs owning the Global IDs in question. | |
| Out | localEntries - On return contains the local ID of the global on the owning image. |
| void Tpetra::Directory< OrdinalType >::getDirectoryEntries | ( | std::vector< OrdinalType > const & | globalEntries, | |
| std::vector< OrdinalType > & | images | |||
| ) | const [inline] |
getDirectoryEntries : Returns image info for non-local ElementSpace entries
Given a list of Global Entry IDs, this function returns the list of IDs of the owning memory image that correspond to the list of entries.
| In | globalEntries - List of Global IDs being passed in. | |
| Out | images - On return contains list of Image IDs owning the Global IDs in question. |
1.4.7