filename = filenamePattern; \
filename.replace(filename.find("%s"), 2, suffix); \
logPrintf(
"Dumping '%s'... ", filename.c_str());
logFlush(); \
bool isHead() const
whether this is the root process (makes code more readable)
Definition: MPIUtil.h:51
void saveRawBinary(const Tptr &X, FILE *fp)
Save the data in raw binary format to stream.
Definition: ScalarFieldIO.h:35
#define logFlush()
fflush() for log files
Definition: Util.h:132
MPIUtil * mpiWorld
MPI across all processes.
#define logPrintf(...)
printf() for log files
Definition: Util.h:131