Tpetra parallel linear algebra  Version of the Day
List of all members
Tpetra::Details::OrdinalTraits< T > Struct Template Reference

Traits class for "invalid" (flag) values of integer types that Tpetra uses as local ordinals or global ordinals. More...

#include <Tpetra_Details_OrdinalTraits.hpp>

Detailed Description

template<class T>
struct Tpetra::Details::OrdinalTraits< T >

Traits class for "invalid" (flag) values of integer types that Tpetra uses as local ordinals or global ordinals.

Template Parameters
TBuilt-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.


The documentation for this struct was generated from the following file: