Teuchos_ErrorPolling.hpp File Reference

#include "Teuchos_ConfigDefs.hpp"
#include "Teuchos_TestForException.hpp"
Include dependency graph for Teuchos_ErrorPolling.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


class  Teuchos::ErrorPolling
 ErrorPolling provides utilities for establishing agreement between processors on whether an std::exception has been detected on any one processor. More...


namespace  Teuchos



Define Documentation

#define TEUCHOS_POLL_FOR_FAILURES ( comm   ) 
TEST_FOR_EXCEPTION(Teuchos::ErrorPolling::pollForFailures(comm), \
                     std::runtime_error,                                     \
                     "off-processor error detected by proc=" << (comm).getRank());

This macro polls all processors in the given communicator to find out whether an error has been reported by a call to ErrorPolling::reportFailure(comm).

comm [in] The communicator on which polling will be done

Definition at line 107 of file Teuchos_ErrorPolling.hpp.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Generated on Wed Apr 13 09:57:33 2011 for Teuchos Package Browser (Single Doxygen Collection) by  doxygen 1.6.3