84 Info<<
" Reading " << io.headerClassName()
85 <<
" : " << name <<
endl;
100 if (d.
found(
"faceLabels"))
105 if (d.
found(
"flipMap"))
110 if (d.
found(
"cellLabels"))
115 if (d.
found(
"pointLabels"))
133 runTime.writeCompression()
143 int main(
int argc,
char *argv[])
149 "exclude the 'constant/' dir in the times list" 163 Info<<
"Excluding the constant directory." <<
nl <<
endl;
180 Info<<
"Using region " << regionName <<
nl <<
endl;
189 runTime.setTime(timeDirs[timeI], timeI);
190 Info<<
"Time = " << runTime.timeName() <<
endl;
193 writeMeshObject<cellCompactIOList>(
"cells", meshDir, runTime);
194 writeMeshObject<labelIOList>(
"owner", meshDir, runTime);
195 writeMeshObject<labelIOList>(
"neighbour", meshDir, runTime);
196 writeMeshObject<faceCompactIOList>(
"faces", meshDir, runTime);
197 writeMeshObject<pointIOField>(
"points", meshDir, runTime);
198 writeMeshObject<labelIOList>(
"pointProcAddressing", meshDir, runTime);
199 writeMeshObject<labelIOList>(
"faceProcAddressing", meshDir, runTime);
200 writeMeshObject<labelIOList>(
"cellProcAddressing", meshDir, runTime);
201 writeMeshObject<labelIOList>
203 "boundaryProcAddressing",
209 writeMeshObject<pointIOField>
211 "internalDelaunayVertices",
220 writeZones(
"cellZones", meshDir, runTime);
221 writeZones(
"faceZones", meshDir, runTime);
222 writeZones(
"pointZones", meshDir, runTime);
226 IOobjectList objects(runTime, runTime.timeName(), regionPrefix);
230 const word& headerClassName = iter()->headerClassName();
253 Info<<
" Reading " << headerClassName
254 <<
" : " << iter()->name() <<
endl;
262 Info<<
" Writing " << iter()->name() <<
endl;
263 fDict.regIOobject::write();
bool setOption(const word &opt, const string ¶m="")
Set option directly (use with caution)
#define forAll(list, i)
Loop across all elements in list.
A class for handling file names.
List of IOobjects with searching and retrieving facilities.
bool unsetOption(const word &opt)
Unset option directly (use with caution)
A list of keyword definitions, which are a keyword followed by any number of values (e...
Write a mesh object in the format specified in controlDict.
static const char *const typeName
static word meshSubDir
Return the mesh sub-directory name (usually "polyMesh")
bool optionReadIfPresent(const word &opt, T &) const
Read a value from the named option if present.
static word defaultRegion
Return the default region name.
Ostream & endl(Ostream &os)
Add newline and flush stream.
static word timeName(const scalar, const int precision=precision_)
Return time name of given scalar time.
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
List< bool > boolList
Bool container classes.
static fileCheckTypes fileModificationChecking
bool optionFound(const word &opt) const
Return true if the named option is found.
A class for handling words, derived from string.
static const word null
An empty word.
bool found(const word &, bool recursive=false, bool patternMatch=true) const
Search dictionary for given keyword.
List< label > labelList
A List of labels.
forAllConstIter(PtrDictionary< phaseModel >, mixture.phases(), phase)
defineTemplateTypeNameAndDebug(IOPtrList< ensightPart >, 0)
Read field as dictionary (without mesh).
static instantList select0(Time &runTime, const argList &args)
Return the set of times selected based on the argList options.
A PtrList of objects of type <T> with automated input and output.
static const versionNumber currentVersion
Current version number.
void set(entry *)
Assign a new entry, overwrite any existing entry.
static void addBoolOption(const word &opt, const string &usage="")
Add to a bool option to validOptions with usage information.
Foam::argList args(argc, argv)
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
static void addOptions(const bool constant=true, const bool withZero=false)
Add the options handled by timeSelector to argList::validOptions.
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.