46 os.writeEntry(
"type",
type());
47 os.writeEntry(
"active", active_);
50 coeffs_.writeEntry(
word(
type() +
"Coeffs"),
os);
56 dict.readIfPresent(
"active", active_);
58 coeffs_ =
dict.optionalSubDict(modelType_ +
"Coeffs");
A list of keyword definitions, which are a keyword followed by a number of values (eg...
constexpr char nl
The newline '\n' character (0x0a)
fileName::Type type(const fileName &name, const bool followLink=true)
Return the file type: DIRECTORY or FILE, normally following symbolic links.
const word name_
Source name.
A class for handling words, derived from Foam::string.
virtual void writeFooter(Ostream &) const
Write the source footer information.
virtual bool read(const dictionary &dict)
Read source dictionary.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
OBJstream os(runTime.globalPath()/outputName)
virtual void writeHeader(Ostream &) const
Write the source header information.
virtual void writeData(Ostream &) const
Write the source properties.