|
| template<class LocalAccessType > |
| GetMasterLocalObject< LocalAccessType >::master_local_object_type | Tpetra::Details::getMasterLocalObject (LocalAccessType LA) |
| | Given a LocalAccess instance (which has a reference to a global object), get an instance of its master local object. More...
|
| |
| template<class LocalAccessType > |
| GetNonowningLocalObject< LocalAccessType >::nonowning_local_object_type | Tpetra::Details::getNonowningLocalObject (LocalAccessType LA, const typename GetMasterLocalObject< LocalAccessType >::master_local_object_type &master) |
| | Given a master local object, get an instance of a nonowning local object. More...
|
| |
| template<class GlobalObjectType > |
| Details::LocalAccess< GlobalObjectType, typename Details::DefaultMemorySpace< GlobalObjectType >::type, Details::AccessMode::ReadOnly > | Tpetra::readOnly (GlobalObjectType &) |
| | Declare that you want to access the given global object's local data in read-only mode, in the object's default memory space. More...
|
| |
| template<class GlobalObjectType > |
| Details::LocalAccess< GlobalObjectType, typename Details::DefaultMemorySpace< GlobalObjectType >::type, Details::AccessMode::ReadOnly > | Tpetra::readOnly (const GlobalObjectType &) |
| | Declare that you want to access the given global object's local data in read-only mode (overload for const GlobalObjectType), in the object's default memory space. More...
|
| |
| template<class GlobalObjectType > |
| Details::LocalAccess< GlobalObjectType, typename Details::DefaultMemorySpace< GlobalObjectType >::type, Details::AccessMode::WriteOnly > | Tpetra::writeOnly (GlobalObjectType &) |
| | Declare that you want to access the given global object's local data in write-only mode, in the object's default memory space. More...
|
| |
| template<class GlobalObjectType > |
| Details::LocalAccess< GlobalObjectType, typename Details::DefaultMemorySpace< GlobalObjectType >::type, Details::AccessMode::ReadWrite > | Tpetra::readWrite (GlobalObjectType &) |
| | Declare that you want to access the given global object's local data in read-and-write mode, in the object's default memory space. More...
|
| |
| template<class ... LocalAccessTypes> |
| void | Tpetra::withLocalAccess (typename Details::ArgsToFunction< LocalAccessTypes... >::type userFunction, LocalAccessTypes... localAccesses) |
| | Get access to a Tpetra global object's local data. More...
|
| |
Declaration and definition of Tpetra::withLocalAccess; declaration of helper classes for users to specialize.
Definition in file Tpetra_withLocalAccess.hpp.