Zoltan2
Loading...
Searching...
No Matches
Zoltan2_IdentifierAdapter.hpp
Go to the documentation of this file.
1// @HEADER
2// *****************************************************************************
3// Zoltan2: A package of combinatorial algorithms for scientific computing
4//
5// Copyright 2012 NTESS and the Zoltan2 contributors.
6// SPDX-License-Identifier: BSD-3-Clause
7// *****************************************************************************
8// @HEADER
9
14#ifndef _ZOLTAN2_IDENTIFIERADAPTER_HPP_
15#define _ZOLTAN2_IDENTIFIERADAPTER_HPP_
16
17#include <Zoltan2_Adapter.hpp>
18
19#include <string>
20
21namespace Zoltan2 {
22
59template <typename User>
60 class IdentifierAdapter : public BaseAdapter<User> {
61
62public:
63
64#ifndef DOXYGEN_SHOULD_SKIP_THIS
66 typedef typename InputTraits<User>::lno_t lno_t;
67 typedef typename InputTraits<User>::gno_t gno_t;
68 typedef typename InputTraits<User>::part_t part_t;
69 typedef typename InputTraits<User>::node_t node_t;
70 typedef User user_t;
71 typedef User userCoord_t;
72 typedef IdentifierAdapter<User> base_adapter_t;
73#endif
74
76};
77
78} //namespace Zoltan2
79
80#endif
Zoltan2::BasicUserTypes< zscalar_t, zlno_t, zgno_t > user_t
Definition Metric.cpp:39
typename InputTraits< User >::node_t node_t
typename InputTraits< User >::lno_t lno_t
typename InputTraits< User >::scalar_t scalar_t
typename InputTraits< User >::gno_t gno_t
typename InputTraits< User >::part_t part_t
IdentifierAdapter defines the interface for identifiers.
enum BaseAdapterType adapterType() const
Returns the type of adapter.
Created by mbenlioglu on Aug 31, 2020.
BaseAdapterType
An enum to identify general types of adapters.
@ IdentifierAdapterType
identifier data, just a list of IDs
default_gno_t gno_t
The ordinal type (e.g., int, long, int64_t) that can represent global counts and identifiers.
default_node_t node_t
The Kokkos node type. This is only meaningful for users of Tpetra objects.
default_lno_t lno_t
The ordinal type (e.g., int, long, int64_t) that represents local counts and local indices.
default_part_t part_t
The data type to represent part numbers.
default_scalar_t scalar_t
The data type for weights and coordinates.