Zoltan2
Loading...
Searching...
No Matches
Zoltan2::AdapterWithCoordsWrapper< User, UserCoord > Class Template Referenceabstract

#include <Zoltan2_Adapter.hpp>

Inheritance diagram for Zoltan2::AdapterWithCoordsWrapper< User, UserCoord >:
Collaboration diagram for Zoltan2::AdapterWithCoordsWrapper< User, UserCoord >:

Public Member Functions

virtual void setCoordinateInput (VectorAdapter< UserCoord > *coordData)=0
 
virtual VectorAdapter< UserCoord > * getCoordinateInput () const =0
 
- Public Member Functions inherited from Zoltan2::BaseAdapter< User >
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.
 
virtual void getWeightsView (const scalar_t *&wgt, int &stride, int idx=0) const
 Provide pointer to a weight array with stride.
 
virtual void getWeightsKokkosView (Kokkos::View< scalar_t **, typename node_t::device_type > &wgt) const
 Provide kokkos view of weights.
 
void getPartsView (const part_t *&inputPart) const
 Provide pointer to an array containing the input part assignment for each ID. The input part information may be used for re-partitioning to reduce data movement, or for mapping parts to processes. Adapters may return NULL for this pointer (the default behavior); if NULL is returned, algorithms will assume the rank.
 
template<typename Adapter>
void applyPartitioningSolution (const User &in, User *&out, const PartitioningSolution< Adapter > &solution) const
 Apply a PartitioningSolution to an input.
 
- Public Member Functions inherited from Zoltan2::BaseAdapterRoot
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

- Public Types inherited from Zoltan2::BaseAdapter< User >
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
 
- Protected Member Functions inherited from Zoltan2::BaseAdapter< User >
void generateWeightFileOnly (const char *fileprefix, const Teuchos::Comm< int > &comm) const
 

Detailed Description

template<typename User, typename UserCoord = User>
class Zoltan2::AdapterWithCoordsWrapper< User, UserCoord >

Definition at line 267 of file Zoltan2_Adapter.hpp.

Member Function Documentation

◆ setCoordinateInput()

template<typename User, typename UserCoord = User>
virtual void Zoltan2::AdapterWithCoordsWrapper< User, UserCoord >::setCoordinateInput ( VectorAdapter< UserCoord > * coordData)
pure virtual

◆ getCoordinateInput()


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