This class provides the user with a few print options. More...
#include <AMReX_Print.H>
Public Member Functions | |
| Print (std::ostream &os_=amrex::OutStream()) | |
| Print on I/O Processor of the default communicator Example: Print() << " x = " << x << ' ';. | |
| Print (int rank_, std::ostream &os_=amrex::OutStream()) | |
| Print on given rank of the default communicator Example: Print(2) << " x = " << x << ' '; // Print on rank 2. | |
| Print (int rank_, MPI_Comm comm_, std::ostream &os_=amrex::OutStream()) | |
| Print on process rank_ of communicator comm_ Example: Print(rank_, comm_) << " x = " << x << ' ';. | |
| ~Print () | |
| Print (Print const &)=delete | |
| Print (Print &&)=delete | |
| Print & | operator= (Print const &)=delete |
| Print & | operator= (Print &&)=delete |
| Print & | SetPrecision (int p) |
| template<typename T > | |
| Print & | operator<< (const T &x) |
| Print & | operator<< (std::basic_ostream< char, std::char_traits< char > > &(*func)(std::basic_ostream< char, std::char_traits< char > > &)) |
Static Public Attributes | |
| static constexpr int | AllProcs = -1 |
Private Attributes | |
| int | rank |
| MPI_Comm | comm |
| std::ostream & | os |
| std::ostringstream | ss |
This class provides the user with a few print options.
|
inlineexplicit |
Print on I/O Processor of the default communicator Example: Print() << " x = " << x << '
';.
|
inline |
|
inline |
Print on process rank_ of communicator comm_ Example: Print(rank_, comm_) << " x = " << x << '
';.
|
inline |
|
delete |
|
delete |
|
inline |
|
inline |
|
inline |
|
staticconstexpr |
|
private |
|
private |
|
private |
|
private |