13 #include "../config/config.hpp"
22 OutStream
out(std::cout);
23 OutStream
err(std::cerr);
27 bool mfem_out_initialized =
false;
28 bool mfem_err_initialized =
false;
35 internal::mfem_out_initialized =
true;
39 internal::mfem_err_initialized =
true;
44 const std::string suffix,
const int width)
46 std::stringstream fname;
47 fname << prefix << std::setw(width) << std::setfill(
'0') << myid << suffix;
51 #ifdef MFEM_COUNT_FLOPS
std::string MakeParFilename(const std::string &prefix, const int myid, const std::string suffix, const int width)
Construct a string of the form "<prefix><myid><suffix>" where the integer myid is padded with leading...
OutStream err(std::cerr)
Global stream used by the library for standard error output. Initially it uses the same std::streambu...
OutStream out(std::cout)
Global stream used by the library for standard output. Initially it uses the same std::streambuf as s...
void SetGlobalMPI_Comm(MPI_Comm comm)
Set MFEM's "global" MPI communicator.
MPI_Comm GetGlobalMPI_Comm()
Get MFEM's "global" MPI communicator.