50 while ((line.empty() || line[0] ==
'#') && is.
good());
86 for (instanceI = ts.
size()-1; instanceI >= 0; --instanceI)
99 for (
label i = instanceI; i >= 0; --i)
126 for (instanceI = ts.
size()-1; instanceI >= 0; --instanceI)
139 for (
label i = instanceI; i >= 0; --i)
161 const word& functionName
164 if (available.
found(ext))
173 Info<<
"Unknown file extension for " << functionName
174 <<
" : " << ext <<
nl 179 Info<<
" " << known[i];
static word nativeExt
The file extension corresponding to 'native' surface format.
static word defaultName
The default surface name: default.
static fileName localMeshFileName(const word &surfName="")
Return the local file name (within time directory)
fileName path() const
Return path.
static fileName findMeshFile(const Time &, const word &surfName="")
Find mesh file with surfName.
word name(const complex &)
Return a string representation of a complex.
Xfer< List< T > > xfer()
Transfer contents to the Xfer container.
A class for handling words, derived from string.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
A class for handling character strings derived from std::string.
void size(const label)
Override size to be inconsistent with allocated storage.
scalar timeOutputValue() const
Return current time value.
const word & constant() const
Return constant name.
surfaceFormatsCore()
Construct null.
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
Ostream & endl(Ostream &os)
Add newline and flush stream.
static bool checkSupport(const wordHashSet &available, const word &ext, const bool verbose, const word &functionName)
A list that is sorted upon construction or when explicitly requested with the sort() method...
bool good() const
Return true if next operation might succeed.
List< Key > toc() const
Return the table of contents.
ISstream & getLine(string &)
Raw, low-level getline into a string function.
static const word prefix
The prefix to local: surfaces.
A class for handling file names.
A HashTable with keys but without contents.
static string getLineNoComment(IFstream &)
Read non-comment line.
instantList times() const
Search the case for valid time directories.
bool isFile(const fileName &, const bool checkGzip=true)
Does the name exist as a FILE in the file system?
virtual ~surfaceFormatsCore()
Destructor.
bool found(const Key &) const
Return true if hashedEntry is found in table.
static fileName findMeshInstance(const Time &, const word &surfName="")
Find instance with surfName.
static word meshSubDir
Return the mesh sub-directory name (normally "surfMesh")