Tpetra parallel linear algebra  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Tpetra_Details_gathervPrint.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 
16 
17 #ifndef TPETRA_DETAILS_GATHERPRINT_HPP
18 #define TPETRA_DETAILS_GATHERPRINT_HPP
19 
20 #include <Tpetra_ConfigDefs.hpp>
21 #include <Teuchos_Comm.hpp>
22 #include <string>
23 #include <ostream>
24 
25 namespace Tpetra {
26 namespace Details {
27 
60 void
61 gathervPrint (std::ostream& out,
62  const std::string& s,
63  const Teuchos::Comm<int>& comm);
64 
65 } // namespace Details
66 } // namespace Tpetra
67 
68 #endif // TPETRA_DETAILS_GATHERPRINT_HPP
void gathervPrint(std::ostream &out, const std::string &s, const Teuchos::Comm< int > &comm)
On Process 0 in the given communicator, print strings from each process in that communicator, in rank order.