Go to the documentation of this file.
51 #ifndef _ZOLTAN2_VECTORADAPTER_HPP_
52 #define _ZOLTAN2_VECTORADAPTER_HPP_
97 template <
typename User>
103 #ifndef DOXYGEN_SHOULD_SKIP_THIS
111 typedef User userCoord_t;
144 int idx = 0)
const = 0;
virtual int getNumEntriesPerID() const =0
Return the number of vectors (typically one).
VectorAdapter defines the interface for vector input.
InputTraits< User >::offset_t offset_t
void getCoordinatesView(const scalar_t *&elements, int &stride, int idx=0) const
Zoltan2::BaseAdapter< userTypes_t > base_adapter_t
InputTraits< User >::part_t part_t
InputTraits< User >::lno_t lno_t
InputTraits< User >::gno_t gno_t
virtual void getEntriesView(const scalar_t *&elements, int &stride, int idx=0) const =0
Provide a pointer to the elements of the specified vector.
BaseAdapterType
An enum to identify general types of adapters.
virtual ~VectorAdapter()
Destructor.
InputTraits< User >::scalar_t scalar_t
enum BaseAdapterType adapterType() const
Returns the type of adapter.