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;
163 const word& functionName
166 if (available.
found(ext))
174 Info<<
"Unknown file extension for " << functionName
175 <<
" : " << ext <<
nl
180 Info<<
" " << known[i];
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 into a string function.
A class for handling file names.
Generic input stream using standard (STL) streams.
bool isFile(const fileName &name, const bool checkGzip=true, const bool followLink=true)
Does the name exist as a FILE in the file system?
Ostream & endl(Ostream &os)
Add newline and flush stream.
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")
#define forAll(list, i)
Loop across all elements in list.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
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.
Input/output from file streams.
static word defaultName
The default surface name: default.
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.