Tpetra Matrix/Vector Services Version of the Day
Public Member Functions
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]

List of all members.

Public Member Functions

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

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:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines