Zoltan2
|
#include <Zoltan2_Adapter.hpp>
Public Member Functions | |
virtual void | setCoordinateInput (VectorAdapter< UserCoord > *coordData)=0 |
virtual VectorAdapter< UserCoord > * | getCoordinateInput () const =0 |
![]() | |
virtual enum BaseAdapterType | adapterType () const =0 |
Returns the type of adapter. | |
virtual | ~BaseAdapter () |
Destructor. | |
virtual void | getIDsView (const gno_t *&ids) const |
Provide a pointer to this process' identifiers. | |
virtual void | getIDsKokkosView (Kokkos::View< const gno_t *, typename node_t::device_type > &ids) const |
Provide a Kokkos view to this process' identifiers. | |
void | getPartsView (const part_t *&inputPart) const |
Provide pointer to a weight array with stride. | |
template<typename Adapter > | |
void | applyPartitioningSolution (const User &in, User *&out, const PartitioningSolution< Adapter > &solution) const |
Apply a PartitioningSolution to an input. | |
![]() | |
virtual | ~BaseAdapterRoot () |
virtual size_t | getLocalNumIDs () const =0 |
Returns the number of objects on this process. | |
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. | |
Additional Inherited Members | |
![]() | |
typedef InputTraits< User >::lno_t | lno_t |
typedef InputTraits< User >::gno_t | gno_t |
typedef InputTraits< User >::scalar_t | scalar_t |
typedef InputTraits< User >::node_t | node_t |
typedef InputTraits< User >::part_t | part_t |
typedef InputTraits< User >::offset_t | offset_t |
![]() | |
void | generateWeightFileOnly (const char *fileprefix, const Teuchos::Comm< int > &comm) const |
Definition at line 267 of file Zoltan2_Adapter.hpp.
|
pure virtual |
Implemented in Zoltan2::GraphAdapter< User, UserCoord >, and Zoltan2::MatrixAdapter< User, UserCoord >.
|
pure virtual |