14#define _CRT_SECURE_NO_WARNINGS
27OutStream
out(std::cout);
28OutStream
err(std::cerr);
32bool mfem_out_initialized =
false;
33bool mfem_err_initialized =
false;
40 internal::mfem_out_initialized =
true;
44 internal::mfem_err_initialized =
true;
49 const std::string suffix,
const int width)
51 std::stringstream fname;
52 fname << prefix << std::setw(width) << std::setfill(
'0') << myid << suffix;
56#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...
const char * GetEnv(const char *name)
Wrapper for std::getenv.
OutStream out(std::cout)
Global stream used by the library for standard output. Initially it uses the same std::streambuf as s...
OutStream err(std::cerr)
Global stream used by the library for standard error output. Initially it uses the same std::streambu...
void SetGlobalMPI_Comm(MPI_Comm comm)
Set MFEM's "global" MPI communicator.
MPI_Comm GetGlobalMPI_Comm()
Get MFEM's "global" MPI communicator.