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 ()=default
 
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 50 of file Zoltan2_Adapter.hpp.

Constructor & Destructor Documentation

virtual Zoltan2::BaseAdapterRoot::~BaseAdapterRoot ( )
virtualdefault

Member Function Documentation

virtual size_t Zoltan2::BaseAdapterRoot::getLocalNumIDs ( ) const
pure virtual
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::MatrixAdapter< User, UserCoord >, Zoltan2::MeshAdapter< User >, Zoltan2::GraphAdapter< User, UserCoord >, Zoltan2::BasicVectorAdapter< User >, KokkosVectorAdapter< User >, Zoltan2::XpetraMultiVectorAdapter< User >, Zoltan2::BasicKokkosIdentifierAdapter< User >, Zoltan2::BasicIdentifierAdapter< User >, OldSchoolVectorAdapterStrided< User >, and OldSchoolVectorAdapterContig< User >.

Definition at line 66 of file Zoltan2_Adapter.hpp.


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