Tpetra parallel linear algebra
Version of the Day
|
Traits class for "invalid" (flag) values of integer types that Tpetra uses as local ordinals or global ordinals. More...
#include <Tpetra_Details_OrdinalTraits.hpp>
Traits class for "invalid" (flag) values of integer types that Tpetra uses as local ordinals or global ordinals.
T | Built-in integer type. |
I didn't choose these values. For backwards compatibility, they are the same as the values found in Teuchos::OrdinalTraits<T>::invalid(). I can't call Teuchos::OrdinalTraits<T>::invalid() because it is not marked as a Kokkos device function. I also can't use std::numeric_limits for the same reason.
Definition at line 69 of file Tpetra_Details_OrdinalTraits.hpp.