Go to the documentation of this file.
43 int main(
int argc,
char *argv[])
72 const label nProcessors
77 for(
label procI=0;procI<nProcessors;++procI)
80 std::ostringstream ss;
86 mkDir(runTime.path()/file);
89 cp(runTime.path()/
"constant", runTime.path()/file);
92 mkDir(runTime.path()/file/
"0");
IOdictionary is derived from dictionary and IOobject to give the dictionary automatic IO functionalit...
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
A class for handling file names.
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.
Ostream & endl(Ostream &os)
Add newline and flush stream.
bool cp(const fileName &src, const fileName &dst)
Copy, recursively if necessary, the source to the destination.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
int main(int argc, char *argv[])
label readLabel(Istream &is)
bool mkDir(const fileName &, mode_t=0777)
Make a directory and return an error if it could not be created.