Tpetra parallel linear algebra Version of the Day
Loading...
Searching...
No Matches
Tpetra_Details_checkGlobalError.hpp
1// @HEADER
2// *****************************************************************************
3// Tpetra: Templated Linear Algebra Services Package
4//
5// Copyright 2008 NTESS and the Tpetra contributors.
6// SPDX-License-Identifier: BSD-3-Clause
7// *****************************************************************************
8// @HEADER
9
16
17#ifndef TPETRA_DETAILS_GLOBALERROR_HPP
18#define TPETRA_DETAILS_GLOBALERROR_HPP
19
20#include "TpetraCore_config.h"
21
22namespace Teuchos {
23template <class OrdinalType>
24class Comm;
25} // namespace Teuchos
26
27#include <ostream>
28
29namespace Tpetra {
30namespace Details {
31
32void checkGlobalError(std::ostream& globalOutputStream,
33 const bool localSuccess,
34 const char localErrorMessage[],
35 const char globalErrorMessageHeader[],
36 const Teuchos::Comm<int>& comm);
37
38} // namespace Details
39} // namespace Tpetra
40
41#endif // TPETRA_DETAILS_GLOBALERROR_HPP
Implementation details of Tpetra.
Namespace Tpetra contains the class and methods constituting the Tpetra library.