36 const word& entryName,
44 dict.readEntry(
"file", fName_);
54 <<
"Cannot open file." <<
nl
86 os.writeEntry(
"file", fName_);
Base class for table with bounds handling, interpolation and integration.
void initialise()
Check the table for size and consistency.
virtual void writeEntries(Ostream &os) const
Write keywords only in dictionary format.
List< Tuple2< scalar, Type > > table_
Table data.
Templated table container function where data are read from file.
Top level data entry class for use in dictionaries. Provides a mechanism to specify a variable as a c...
const word const dictionary & dict
bool good() const noexcept
True if next operation might succeed.
Generic input stream using a standard (STL) stream.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
A class for handling file names.
Registry of regIOobjects.
string & expand(const bool allowEmpty=false)
A class for handling words, derived from Foam::string.
#define FatalIOErrorInFunction(ios)
Report an error message using Foam::FatalIOError.
OBJstream os(runTime.globalPath()/outputName)
const fileOperation & fileHandler()
Get current file handler.
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for INVALID.
errorManipArg< error, int > exit(error &err, const int errNo=1)
constexpr char nl
The newline '\n' character (0x0a)