Tpetra parallel linear algebra
Version of the Day
Toggle main menu visibility
Loading...
Searching...
No Matches
core
src
Tpetra_Details_makeValidVerboseStream.cpp
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
10
#include "Tpetra_Details_makeValidVerboseStream.hpp"
11
#include <iostream>
12
13
namespace
Tpetra
{
14
namespace
Details
{
15
16
Teuchos::RCP<Teuchos::FancyOStream>
17
makeValidVerboseStream(
const
Teuchos::RCP<Teuchos::FancyOStream>& out) {
18
if
(out.is_null()) {
19
return
Teuchos::getFancyOStream(Teuchos::rcpFromRef(std::cerr));
20
}
else
{
21
return
out;
22
}
23
}
24
25
}
// namespace Details
26
}
// namespace Tpetra
Tpetra::Details
Nonmember function that computes a residual Computes R = B - A * X.
Definition
Tpetra_KokkosRefactor_Details_MultiVectorLocalDeepCopy.hpp:17
Tpetra
Namespace Tpetra contains the class and methods constituting the Tpetra library.
Generated by
1.17.0