Tpetra parallel linear algebra
Version of the Day
Toggle main menu visibility
Loading...
Searching...
No Matches
core
src
Tpetra_Details_printOnce.hpp
Go to the documentation of this file.
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
12
13
#ifndef TPETRA_DETAILS_PRINTONCE_HPP
14
#define TPETRA_DETAILS_PRINTONCE_HPP
15
16
#include "TpetraCore_config.h"
17
#include <ostream>
18
#include <string>
19
20
#ifndef DOXYGEN_SHOULD_SKIP_THIS
21
namespace
Teuchos {
22
// Forward declaration of Comm.
23
template
<
class
OrdinalType>
24
class
Comm;
25
}
// namespace Teuchos
26
#endif
// DOXYGEN_SHOULD_SKIP_THIS
27
28
namespace
Tpetra
{
29
namespace
Details
{
30
43
void
printOnce
(std::ostream& out,
44
const
std::string& s,
45
const
Teuchos::Comm<int>* comm);
46
47
}
// namespace Details
48
}
// namespace Tpetra
49
50
#endif
// TPETRA_DETAILS_PRINTONCE_HPP
Tpetra::Details
Nonmember function that computes a residual Computes R = B - A * X.
Definition
Tpetra_KokkosRefactor_Details_MultiVectorLocalDeepCopy.hpp:17
Tpetra::Details::printOnce
void printOnce(std::ostream &out, const std::string &s, const Teuchos::Comm< int > *comm)
Print on one process of the given communicator, or at least try to do so (if MPI is not initialized).
Definition
Tpetra_Details_printOnce.cpp:71
Tpetra
Namespace Tpetra contains the class and methods constituting the Tpetra library.
Generated by
1.17.0