179 logger(
ERROR,
"Please enter problem name as first argument");
181 std::string
name(argv[1]);
189 if (!strcmp(argv[2],
"-info")) {
192 files.splittinginfo =
true;
193 files.info0 = std::atoi(argv[3]);
194 files.info1 = std::atoi(argv[4]);
203 files.splittingradius = std::atof(argv[2]);
LL< Log::INFO > INFO
Info log level.
Definition: Logger.cc:55
Logger< MERCURYDPM_LOGLEVEL > logger("MercuryKernel")
Definition of different loggers with certain modules. A user can define its own custom logger here.
LL< Log::ERROR > ERROR
Error log level.
Definition: Logger.cc:53
takes data and fstat files and splits them into *.data.???? and *.fstat.???? files
Definition: centerofmass.cpp:40
std::string name
Definition: MercuryProb.h:48
References CFile::copy(), ERROR, INFO, CFile::info0, CFile::info1, logger, units::name, NO_FLUSH, CFile::splittinginfo, and CFile::splittingradius.