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
180 <<
"Valid types: " <<
flatOutput(available.sortedToc()) <<
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")
bool good() const noexcept
True if next operation might succeed.
messageStream Info
Information stream (stdout output on master, null elsewhere)
instantList times() const
Search the case for valid time directories.
FlatOutput::OutputAdaptor< Container, Delimiters > flatOutput(const Container &obj, Delimiters delim)
Global flatOutput() function with specified output delimiters.
fileName path() const
Return path.
static word defaultName
The default surface name: default.
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for INVALID.
Various functions to operate on Lists.
static const word prefix
The prefix to local: surfaces.
const word & constant() const
Return constant name.