Tpetra parallel linear algebra  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Tpetra::Details::GetMasterLocalObject< LocalAccessType > Struct Template Reference

Mapping from LocalAccess to the "master" local object type. More...

#include <Tpetra_withLocalAccess.hpp>

Detailed Description

template<class LocalAccessType>
struct Tpetra::Details::GetMasterLocalObject< LocalAccessType >

Mapping from LocalAccess to the "master" local object type.

Template Parameters
LocalAccessTypeSpecialization of LocalAccess.

The latter gets the local data from a global object, and holds on to it until after the user's function (input to withLocalAccess) returns. "Holds on to it" is key: the master object owns (governs the lifetime of) any data accessible from any resulting nonowning local object (see GetNonowningLocalObject below).

Specializations require the following two public features:

Definition at line 155 of file Tpetra_withLocalAccess.hpp.


The documentation for this struct was generated from the following file: