The traits required of User input classes or structures. More...
|The data type for weights and coordinates. |
|The ordinal type (e.g., int, long, int64_t) that represents local counts and local indices. |
|The ordinal type (e.g., int, long, int64_t) that can represent global counts and identifiers. |
|The data type that the user uses for global Identifiers. |
|The data type to represent part numbers. |
|The Kokkos node type. This is only meaningful for users of Tpetra objects. |
|static std::string||name ()|
|The name of the user's input object. |
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:
|typedef KokkosClassic::DefaultNode::DefaultNodeType Zoltan2::InputTraits< User >::node_t|
|static std::string Zoltan2::InputTraits< User >::name||(||)||