Zoltan2
|
BaseAdapter defines methods required by all Adapters. More...
#include <Zoltan2_Adapter.hpp>
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... | |
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.
|
inlinevirtual |
Definition at line 83 of file Zoltan2_Adapter.hpp.
|
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 >.
|
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.