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

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

#include <Tpetra_Exceptions_decl.hpp>

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

Public Member Functions

 InvalidGlobalRowIndex (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::InvalidGlobalRowIndex< GlobalOrdinal >

Exception thrown by CrsMatrix on invalid global row index.

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

Definition at line 72 of file Tpetra_Exceptions_decl.hpp.

Constructor & Destructor Documentation

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

Constructor.

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

Definition at line 78 of file Tpetra_Exceptions_decl.hpp.

Member Function Documentation

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

The offending global index.

Definition at line 59 of file Tpetra_Exceptions_decl.hpp.


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