Tpetra parallel linear algebra  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Public Member Functions | List of all members
Tpetra::Details::InvalidGlobalIndex< GlobalOrdinal > Class Template Reference

Exception thrown by CrsMatrix on invalid global index. More...

#include <Tpetra_Exceptions_decl.hpp>

Inheritance diagram for Tpetra::Details::InvalidGlobalIndex< GlobalOrdinal >:
Inheritance graph
[legend]

Public Member Functions

 InvalidGlobalIndex (const std::string &msg, const GlobalOrdinal globalIndex)
 Constructor. More...
 
GlobalOrdinal offendingIndex () const
 The offending global index. More...
 

Detailed Description

template<class GlobalOrdinal>
class Tpetra::Details::InvalidGlobalIndex< GlobalOrdinal >

Exception thrown by CrsMatrix on invalid global index.

Template Parameters
GlobalOrdinalSame as the GlobalOrdinal template parameter of Map, CrsGraph, CrsMatrix, MultiVector, etc.

Definition at line 80 of file Tpetra_Exceptions_decl.hpp.

Constructor & Destructor Documentation

template<class GlobalOrdinal >
Tpetra::Details::InvalidGlobalIndex< GlobalOrdinal >::InvalidGlobalIndex ( const std::string &  msg,
const GlobalOrdinal  globalIndex 
)
inline

Constructor.

Parameters
msg[in] The exception message.
globalIndex[in] The offending global index.

Definition at line 86 of file Tpetra_Exceptions_decl.hpp.

Member Function Documentation

template<class GlobalOrdinal >
GlobalOrdinal Tpetra::Details::InvalidGlobalIndex< GlobalOrdinal >::offendingIndex ( ) const
inline

The offending global index.

Definition at line 91 of file Tpetra_Exceptions_decl.hpp.


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