85std::string
createFileName(std::string name, std::string functor,
int iT,
int iC)
87 std::stringstream fNameStream;
88 fNameStream << name <<
"_"<< functor <<
"iT" << std::setw(7) << std::setfill(
'0') << iT
89 <<
"iC" << std::setw(5) << std::setfill(
'0') << iC ;
90 return fNameStream.str();
std::string createParallelFileName(std::string name, bool withSize=true)
for parallel io, e.g. adds "_rank0000001" for rank=1, and optional "_size0000016" if withSize==true