Go to the documentation of this file.
36 const word& entryName,
42 mark_(
dict.getOrDefaultCompat<scalar>(
"mark", {{
"markSpace", 2006}}, 1)),
43 space_(
dict.getOrDefault<scalar>(
"space", 1))
61 os.writeEntryIfDifferent<scalar>(
"mark", 1, mark_);
62 os.writeEntryIfDifferent<scalar>(
"space", 1, space_);
A class for handling words, derived from Foam::string.
virtual void writeData(Ostream &os) const
Write in dictionary format.
A templated sine function, with support for offset etc.
void writeEntries(Ostream &os) const
Write coefficient entries in dictionary format.
Registry of regIOobjects.
A templated square-wave function with support for offset, etc.
Square(const word &entryName, const dictionary &dict, const objectRegistry *obrPtr=nullptr)
Construct from entry name, dictionary and optional registry.
virtual void writeData(Ostream &os) const
Write in dictionary format.
void writeEntries(Ostream &os) const
Write coefficient entries in dictionary format.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
OBJstream os(runTime.globalPath()/outputName)
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for INVALID.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...