58 checkTimeIndex_ = mesh_.time().timeIndex() + 2;
64 allOk = (allOk && ok);
72 if (mesh_.time().timeIndex() == checkTimeIndex_)
88 checkTimeIndex_(mesh_.time().startTimeIndex() + 2)
98 checkTimeIndex_(mesh_.time().startTimeIndex() + 2)
123 const word&
name = dEntry.keyword();
154 return readOptions(optionsDict(
dict));
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
A list of pointers to objects of type <T>, with allocation/deallocation management of the pointers....
virtual bool read()
Re-read model coefficients if they have changed.
static autoPtr< Time > New()
Construct (dummy) Time - no functionObjects or libraries.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
const dictionary & optionalSubDict(const word &keyword, enum keyType::option matchOpt=keyType::REGEX) const
Find and return a sub-dictionary, otherwise return this dictionary.
void reset()
Reset to defaults.
A keyword and a list of tokens is an 'entry'.
List of finite volume options.
Mesh data needed to do the Finite Volume discretisation.
List of finite volume options.
void reset(const dictionary &dict)
Reset the source list.
virtual bool writeData(Ostream &os) const
Write data to Ostream.
void checkApplied() const
Check that all sources have been applied.
bool readOptions(const dictionary &dict)
Read options dictionary.
bool appliesToField(const word &fieldName) const
Return whether there is something to apply to the field.
static const dictionary & optionsDict(const dictionary &dict)
Return "options" sub-dictionary (if present) or return dict.
Base abstract class for handling finite volume options (i.e. fvOption).
const word & name() const noexcept
Return const access to the source name.
virtual void checkApplied() const
Check that the source has been applied.
virtual label applyToField(const word &fieldName) const
Return index of field name if found in fieldNames list.
virtual bool read(const dictionary &dict)
Read source dictionary.
virtual void writeHeader(Ostream &) const
Write the source header information.
virtual void writeFooter(Ostream &) const
Write the source footer information.
virtual void writeData(Ostream &) const
Write the source properties.
A class for handling words, derived from Foam::string.
#define defineTypeNameAndDebug(Type, DebugSwitch)
Define the typeName and debug information.
patchWriters resize(patchIds.size())
OBJstream os(runTime.globalPath()/outputName)
Ostream & operator<<(Ostream &, const boundaryPatch &p)
Write boundaryPatch as dictionary entries (without surrounding braces)
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for INVALID.
constexpr char nl
The newline '\n' character (0x0a)