Go to the documentation of this file.
52 while ((
line.empty() ||
line[0] == comment) && is.
good());
59 Foam::fileName Foam::fileFormats::edgeMeshFormatsCore::localMeshFileName
74 Foam::fileName Foam::fileFormats::edgeMeshFormatsCore::findMeshInstance
80 fileName localName = localMeshFileName(meshName);
88 for (instanceI = ts.size()-1; instanceI >= 0; --instanceI)
101 for (label i = instanceI; i >= 0; --i)
114 Foam::fileName Foam::fileFormats::edgeMeshFormatsCore::findMeshFile
120 fileName localName = localMeshFileName(meshName);
128 for (instanceI = ts.size()-1; instanceI >= 0; --instanceI)
130 if (ts[instanceI].value() <= t.timeOutputValue())
141 for (label i = instanceI; i >= 0; --i)
143 fileName testName(t.path()/ts[i].name()/localName);
153 return t.path()/t.constant()/localName;
161 const word& fileType,
163 const char* functionName
166 if (available.
found(fileType))
172 Info<<
"Unknown file type";
176 Info<<
" for " << functionName;
179 Info<<
" : " << fileType <<
nl
scalar timeOutputValue() const
Return current time value.
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
A class for handling words, derived from Foam::string.
ISstream & getLine(std::string &str, char delim='\n')
Raw, low-level getline (until delimiter) into a string.
A class for handling file names.
Generic input stream using a standard (STL) stream.
bool isFile(const fileName &name, const bool checkGzip=true, const bool followLink=true)
Does the name exist as a FILE in the file system?
A class for handling character strings derived from std::string.
List< instant > instantList
List of instants.
static word meshSubDir
Return the mesh sub-directory name (normally "surfMesh")
messageStream Info
Information stream (uses stdout - output is on the master only)
word name(const complex &c)
Return string representation of complex.
instantList times() const
Search the case for valid time directories.
List< Key > sortedToc() const
The table of contents (the keys) in sorted order.
fileName path() const
Return path.
FlatOutput< Container > flatOutput(const Container &obj, label len=0)
Global flatOutput function.
static word defaultName
The default surface name: default.
Various functions to operate on Lists.
static const word prefix
The prefix to local: surfaces.
bool good() const
Return true if next operation might succeed.
bool found(const Key &key) const
Return true if hashed entry is found in table.
const word & constant() const
Return constant name.