Zoltan2
|
The traits required of User input classes or structures. More...
#include <Zoltan2_InputTraits.hpp>
Public Types | |
typedef default_scalar_t | scalar_t |
The data type for weights and coordinates. More... | |
typedef default_lno_t | lno_t |
The ordinal type (e.g., int, long, int64_t) that represents local counts and local indices. More... | |
typedef default_gno_t | gno_t |
The ordinal type (e.g., int, long, int64_t) that can represent global counts and identifiers. More... | |
typedef default_offset_t | offset_t |
The data type to represent offsets. More... | |
typedef default_part_t | part_t |
The data type to represent part numbers. More... | |
typedef default_node_t | node_t |
The Kokkos node type. This is only meaningful for users of Tpetra objects. More... | |
Static Public Member Functions | |
static std::string | name () |
The name of the user's input object. More... | |
The traits required of User input classes or structures.
We use the symbol User as an abtraction of the user's input. If the user's data structure is an instance of a C++ class, or is a C-language struct, then it should have an InputTraits specialization. The InputAdapter is templated on the User object, and Zoltan2 uses the User object traits to get the user's data types.
If the User object is not a C++ class or C-language struct, and particularly if you do not plan to pass your User object as an argument to the InputAdapter constructor, you can use the BasicUserTypes class as your User class.
InputTraits already exist for:
Definition at line 142 of file Zoltan2_InputTraits.hpp.
typedef default_scalar_t Zoltan2::InputTraits< User >::scalar_t |
The data type for weights and coordinates.
Definition at line 146 of file Zoltan2_InputTraits.hpp.
typedef default_lno_t Zoltan2::InputTraits< User >::lno_t |
The ordinal type (e.g., int, long, int64_t) that represents local counts and local indices.
Definition at line 151 of file Zoltan2_InputTraits.hpp.
typedef default_gno_t Zoltan2::InputTraits< User >::gno_t |
The ordinal type (e.g., int, long, int64_t) that can represent global counts and identifiers.
Definition at line 156 of file Zoltan2_InputTraits.hpp.
typedef default_offset_t Zoltan2::InputTraits< User >::offset_t |
The data type to represent offsets.
Definition at line 160 of file Zoltan2_InputTraits.hpp.
typedef default_part_t Zoltan2::InputTraits< User >::part_t |
The data type to represent part numbers.
Definition at line 164 of file Zoltan2_InputTraits.hpp.
typedef default_node_t Zoltan2::InputTraits< User >::node_t |
The Kokkos node type. This is only meaningful for users of Tpetra objects.
Definition at line 169 of file Zoltan2_InputTraits.hpp.
|
inlinestatic |
The name of the user's input object.
Definition at line 173 of file Zoltan2_InputTraits.hpp.