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 << ' ';. More... | |
Print (int rank_, std::ostream &os_=amrex::OutStream()) | |
Print on all processors of the default communicator Example: Print(Print::AllProcs) << " x = " << x << ' ';. More... | |
Print (int rank_, MPI_Comm comm_, std::ostream &os_=amrex::OutStream()) | |
Print on process rank_ of communicator comm_ Example: Print(rank_, comm_) << " x = " << x << ' ';. More... | |
~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 |
|
inline |
Print on all processors of the default communicator Example: Print(Print::AllProcs) << " x = " << x << '
';.
|
inline |
Print on process rank_ of communicator comm_ Example: Print(rank_, comm_) << " x = " << x << '
';.
|
inline |
|
delete |
|
delete |
|
inline |
|
inline |
|
staticconstexpr |
|
private |
|
private |
|
private |
|
private |