Tpetra parallel linear algebra
Version of the Day
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
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
{
19
if
(out.is_null ()) {
20
return
Teuchos::getFancyOStream (Teuchos::rcpFromRef (std::cerr));
21
}
22
else
{
23
return
out;
24
}
25
}
26
27
}
// namespace Details
28
}
// namespace Tpetra
Generated on Fri Nov 22 2024 09:17:31 for Tpetra parallel linear algebra by
1.8.5