Zoltan2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Public Member Functions | List of all members
Zoltan2::BaseAdapterRoot Class Referenceabstract

BaseAdapter defines methods required by all Adapters. More...

#include <Zoltan2_Adapter.hpp>

Inheritance diagram for Zoltan2::BaseAdapterRoot:
Inheritance graph
[legend]

Public Member Functions

virtual ~BaseAdapterRoot ()
 
virtual size_t getLocalNumIDs () const =0
 Returns the number of objects on this process. More...
 
virtual int getNumWeightsPerID () const
 Returns the number of weights per object. Number of weights per object should be zero or greater. If zero, then it is assumed that all objects are equally weighted. Default is zero weights per ID. More...
 

Detailed Description

BaseAdapter defines methods required by all Adapters.

Adapters provide access from Zoltan2 to the user's data. The methods in the interface must be defined by users. Many built-in adapters are already defined for common data structures, such as Tpetra and Epetra objects and C-language pointers to arrays.

Definition at line 81 of file Zoltan2_Adapter.hpp.

Constructor & Destructor Documentation

virtual Zoltan2::BaseAdapterRoot::~BaseAdapterRoot ( )
inlinevirtual

Definition at line 83 of file Zoltan2_Adapter.hpp.

Member Function Documentation

virtual size_t Zoltan2::BaseAdapterRoot::getLocalNumIDs ( ) const
pure virtual

Returns the number of objects on this process.

Objects may be coordinates, graph vertices, matrix rows, etc. They are the objects to be partitioned, ordered, or colored.

Implemented in Zoltan2::MeshAdapter< User >, Zoltan2::MatrixAdapter< User, UserCoord >, Zoltan2::GraphAdapter< User, UserCoord >, Zoltan2::BasicVectorAdapter< User >, VerySimpleVectorAdapter< User >, Zoltan2::XpetraMultiVectorAdapter< User >, Zoltan2::BasicIdentifierAdapter< User >, and Zoltan2::BasicKokkosIdentifierAdapter< User >.

virtual int Zoltan2::BaseAdapterRoot::getNumWeightsPerID ( ) const
inlinevirtual

Returns the number of weights per object. Number of weights per object should be zero or greater. If zero, then it is assumed that all objects are equally weighted. Default is zero weights per ID.

Reimplemented in Zoltan2::MeshAdapter< User >, Zoltan2::MatrixAdapter< User, UserCoord >, Zoltan2::GraphAdapter< User, UserCoord >, Zoltan2::BasicVectorAdapter< User >, Zoltan2::XpetraMultiVectorAdapter< User >, Zoltan2::BasicIdentifierAdapter< User >, and Zoltan2::BasicKokkosIdentifierAdapter< User >.

Definition at line 97 of file Zoltan2_Adapter.hpp.


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