Zoltan2 Version of the Day
Public Types | Static Public Member Functions
Zoltan2::XpetraTraits< User > Struct Template Reference

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

#include <Zoltan2_XpetraTraits.hpp>

List of all members.

Public Types

typedef long gno_t
 The objects global ordinal data type.
typedef int lno_t
 The objects local ordinal data type.

Static Public Member Functions

static RCP< const User > convertToXpetra (const RCP< const User > &a)
 Convert the object to its Xpetra wrapped version.
static RCP< const User > doMigration (const RCP< const User > &from, lno_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.

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 92 of file Zoltan2_XpetraTraits.hpp.


Member Typedef Documentation

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

The objects global ordinal data type.

Definition at line 103 of file Zoltan2_XpetraTraits.hpp.

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

The objects local ordinal data type.

Definition at line 107 of file Zoltan2_XpetraTraits.hpp.


Member Function Documentation

template<typename User>
static RCP<const User> Zoltan2::XpetraTraits< User >::convertToXpetra ( const RCP< const User > &  a) [inline, static]

Convert the object to its Xpetra wrapped version.

Definition at line 96 of file Zoltan2_XpetraTraits.hpp.

template<typename User>
static RCP<const User> Zoltan2::XpetraTraits< User >::doMigration ( const RCP< const User > &  from,
lno_t  numLocalRows,
const gno_t myNewRows 
) [inline, static]

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 114 of file Zoltan2_XpetraTraits.hpp.


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