Zoltan2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Public Types | Static Public Member Functions | List of all members
Zoltan2::XpetraTraits< User > Struct Template Reference

Defines the traits required for Tpetra, Eptra and Xpetra objects. More...

#include <Zoltan2_XpetraTraits.hpp>

Public Types

typedef default_gno_t gno_t
 The objects global ordinal data type. More...
 
typedef default_lno_t lno_t
 The objects local ordinal data type. More...
 

Static Public Member Functions

static RCP< User > convertToXpetra (const RCP< User > &a)
 Convert the object to its Xpetra wrapped version. More...
 
static RCP< User > doMigration (const User &from, size_t numLocalRows, const gno_t *myNewRows)
 Migrate the object Given a user object and a new row distribution, create and return a new user object with the new distribution. More...
 

Detailed Description

template<typename User>
struct Zoltan2::XpetraTraits< User >

Defines the traits required for Tpetra, Eptra and Xpetra objects.

Definitions are provided for:

Definition at line 59 of file Zoltan2_XpetraTraits.hpp.

Member Typedef Documentation

template<typename User>
typedef default_gno_t Zoltan2::XpetraTraits< User >::gno_t

The objects global ordinal data type.

Definition at line 70 of file Zoltan2_XpetraTraits.hpp.

template<typename User>
typedef default_lno_t Zoltan2::XpetraTraits< User >::lno_t

The objects local ordinal data type.

Definition at line 74 of file Zoltan2_XpetraTraits.hpp.

Member Function Documentation

template<typename User>
static RCP<User> Zoltan2::XpetraTraits< User >::convertToXpetra ( const RCP< User > &  a)
inlinestatic

Convert the object to its Xpetra wrapped version.

Definition at line 63 of file Zoltan2_XpetraTraits.hpp.

template<typename User>
static RCP<User> Zoltan2::XpetraTraits< User >::doMigration ( const User &  from,
size_t  numLocalRows,
const gno_t myNewRows 
)
inlinestatic

Migrate the object Given a user object and a new row distribution, create and return a new user object with the new distribution.

Definition at line 81 of file Zoltan2_XpetraTraits.hpp.


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