Tpetra parallel linear algebra  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Public Attributes | List of all members
Tpetra::Details::FHT::FillPairsResult< KeyType > Struct Template Reference

Reduction result for FillPairs functor below. More...

#include <Tpetra_Details_FixedHashTable_def.hpp>

Public Attributes

KeyType minKey_
 The current minimum key. More...
 
KeyType maxKey_
 The current maximum key. More...
 
bool success_
 Whether fill succeeded (it can only fail on a bug) More...
 

Detailed Description

template<class KeyType>
struct Tpetra::Details::FHT::FillPairsResult< KeyType >

Reduction result for FillPairs functor below.

The reduction result finds the min and max keys, and reports whether FillPairs succeeded (it should always succeed, unless there a bug in earlier code manifested). The default values (minKey_ set to max KeyType value, and maxKey_ set to min KeyType value) ensure correct behavior even if there is only one key.

Template Parameters
KeyTypeType of each input of the hash function. It must be an integer type.

Definition at line 228 of file Tpetra_Details_FixedHashTable_def.hpp.

Member Data Documentation

template<class KeyType >
KeyType Tpetra::Details::FHT::FillPairsResult< KeyType >::minKey_

The current minimum key.

Definition at line 264 of file Tpetra_Details_FixedHashTable_def.hpp.

template<class KeyType >
KeyType Tpetra::Details::FHT::FillPairsResult< KeyType >::maxKey_

The current maximum key.

Definition at line 265 of file Tpetra_Details_FixedHashTable_def.hpp.

template<class KeyType >
bool Tpetra::Details::FHT::FillPairsResult< KeyType >::success_

Whether fill succeeded (it can only fail on a bug)

Definition at line 266 of file Tpetra_Details_FixedHashTable_def.hpp.


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