Tpetra Matrix/Vector Services Version of the Day
Classes | Namespaces
Tpetra_Exceptions_decl.hpp File Reference

Declarations of Tpetra-specific exceptions. More...

#include <Tpetra_ConfigDefs.hpp>
#include <stdexcept>

Go to the source code of this file.

Classes

class  Tpetra::Details::InvalidGlobalIndex< GlobalOrdinal >
 Exception thrown by CrsMatrix on invalid global index. More...
class  Tpetra::Details::InvalidGlobalRowIndex< GlobalOrdinal >
 Exception thrown by CrsMatrix on invalid global row index. More...

Namespaces

namespace  Tpetra
 

Namespace Tpetra contains the class and methods constituting the Tpetra library.


namespace  Details
 

Implementation details of Tpetra.



Detailed Description

Declarations of Tpetra-specific exceptions.

Warning:
Users should not depend on the existence or interface of anything in the Details namespace.

This file includes declarations of exceptions specific to Tpetra. In particular, Details::InvalidGlobalIndex indicates an invalid global index (as the name suggests), and Details::InvalidGlobalRowIndex indicates an invalid global row index (e.g., of a CrsGraph or CrsMatrix). "Invalid" generally means "not owned by the calling process."

We do not include Details::InvalidGlobalColumnIndex because no Tpetra class or function currently throws this exception. It would be natural to add such a class (derived from Details::InvalidGlobalIndex) if this were to change in the future.

Definition in file Tpetra_Exceptions_decl.hpp.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines