Zoltan2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
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 
21 namespace Zoltan2 {
22 
59 template <typename User>
60  class IdentifierAdapter : public BaseAdapter<User> {
61 
62 public:
63 
64 #ifndef DOXYGEN_SHOULD_SKIP_THIS
65  typedef typename InputTraits<User>::scalar_t scalar_t;
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;
73 #endif
74 
76 };
77 
78 } //namespace Zoltan2
79 
80 #endif
enum BaseAdapterType adapterType() const
Returns the type of adapter.
Zoltan2::BaseAdapter< userTypes_t > base_adapter_t
IdentifierAdapter defines the interface for identifiers.
typename InputTraits< User >::scalar_t scalar_t
default_part_t part_t
The data type to represent part numbers.
typename InputTraits< User >::part_t part_t
typename InputTraits< User >::node_t node_t
typename InputTraits< User >::gno_t gno_t
default_lno_t lno_t
The ordinal type (e.g., int, long, int64_t) that represents local counts and local indices...
BaseAdapterType
An enum to identify general types of adapters.
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.
typename InputTraits< User >::lno_t lno_t
default_scalar_t scalar_t
The data type for weights and coordinates.
Zoltan2::BasicUserTypes< zscalar_t, zlno_t, zgno_t > user_t
Definition: Metric.cpp:39