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

Mapping from "master" local object type to the nonowning "local view" type that users see (as arguments to the function that they give to withLocalAccess). More...

#include <Tpetra_withLocalAccess.hpp>

Detailed Description

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

Mapping from "master" local object type to the nonowning "local view" type that users see (as arguments to the function that they give to withLocalAccess).

Template Parameters
LocalAccessTypeSpecialization of LocalAccess, the same as that used by the corresponding GetMasterLocalObject specialization.

The master local object may encode the memory space and access mode, but the mapping to local view type may also need run-time information.

Specializations require the following public features:

Implementations of get() need not use the first LocalAccessType argument. It exists mainly to help the compiler deduce template parameters of the nonmember getNonowningLocalObject function below.

Definition at line 179 of file Tpetra_withLocalAccess.hpp.


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