Go to the documentation of this file.
58 checkTimeIndex_ = mesh_.time().timeIndex() + 2;
64 allOk = (allOk && ok);
72 if (mesh_.time().timeIndex() == checkTimeIndex_)
86 PtrList<
fv::option>(),
88 checkTimeIndex_(mesh_.time().startTimeIndex() + 2)
98 checkTimeIndex_(mesh_.time().startTimeIndex() + 2)
119 for (
const entry& dEntry :
dict)
123 const word&
name = dEntry.keyword();
124 const dictionary& sourceDict = dEntry.dict();
138 for (
const fv::option& source : *
this)
140 const label fieldi = source.applyToField(fieldName);
154 return readOptions(optionsDict(
dict));
178 options.writeData(
os);
A keyword and a list of tokens is an 'entry'.
const word & name() const noexcept
bool appliesToField(const word &fieldName) const
void set(List< bool > &bools, const labelRange &range)
A class for handling words, derived from Foam::string.
optionList(const optionList &)=delete
virtual void checkApplied() const
void reset(const dictionary &dict)
virtual void writeData(Ostream &) const
virtual label applyToField(const word &fieldName) const
Ostream & operator<<(Ostream &, const boundaryPatch &p)
label timeIndex() const noexcept
patchWriters resize(patchIds.size())
Base abstract class for handling finite volume options (i.e. fvOption).
bool readOptions(const dictionary &dict)
void checkApplied() const
A list of pointers to objects of type <T>, with allocation/deallocation management of the pointers....
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
OBJstream os(runTime.globalPath()/outputName)
virtual void writeHeader(Ostream &) const
Mesh data needed to do the Finite Volume discretisation.
static autoPtr< option > New(const word &name, const dictionary &dict, const fvMesh &mesh)
virtual bool read(const dictionary &dict)
meshPtr reset(new Foam::fvMesh(Foam::IOobject(regionName, runTime.timeName(), runTime, Foam::IOobject::MUST_READ), false))
unsigned int count(const UList< bool > &bools, const bool val=true)
word name(const expressions::valueTypeCode typeCode)
const Time & time() const
defineTypeNameAndDebug(atmAmbientTurbSource, 0)
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
List of finite volume options.
virtual bool read(const dictionary &dict)
static const dictionary & optionsDict(const dictionary &dict)
virtual void writeFooter(Ostream &) const
virtual bool writeData(Ostream &os) const