Go to the documentation of this file.
47 if (
dict.found(
"options"))
49 return dict.subDict(
"options");
67 allOk = (allOk && ok);
75 if (mesh_.time().timeIndex() == checkTimeIndex_)
79 const option& bs = this->operator[](i);
92 checkTimeIndex_(mesh_.time().startTimeIndex() + 2)
102 checkTimeIndex_(mesh_.time().startTimeIndex() + 2)
126 const word&
name = iter().keyword();
141 return readOptions(optionsDict(
dict));
151 this->operator[](i).writeHeader(os);
152 this->operator[](i).writeData(os);
153 this->operator[](i).writeFooter(os);
points setSize(newPointi)
A class for handling words, derived from string.
const dictionary & optionsDict(const dictionary &dict) const
Return the "options" sub-dictionary if present otherwise return dict.
#define forAll(list, i)
Loop across all elements in list.
const word & name() const
Return const access to the source name.
virtual void checkApplied() const
Check that the source has been applied.
const fvMesh & mesh_
Reference to the mesh database.
void reset(const dictionary &dict)
Reset the source list.
label checkTimeIndex_
Time index to check that all defined sources have been applied.
forAllConstIter(PtrDictionary< phaseModel >, mixture.phases(), phase)
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Finite volume options abtract base class. Provides a base set of controls, e.g.
bool readOptions(const dictionary &dict)
Read options dictionary.
void checkApplied() const
Check that all sources have been applied.
const T & operator[](const label) const
Return element const reference.
A templated 1D list of pointers to objects of type <T>, where the size of the array is known and used...
Ostream & operator<<(Ostream &, const edgeMesh &)
A list of keyword definitions, which are a keyword followed by any number of values (e....
Mesh data needed to do the Finite Volume discretisation.
static autoPtr< option > New(const word &name, const dictionary &dict, const fvMesh &mesh)
Return a reference to the selected fvOption model.
virtual bool read(const dictionary &dict)
Read source dictionary.
defineTypeNameAndDebug(option, 0)
optionList(const optionList &)
Disallow default bitwise copy construct.
const Time & time() const
Return the top-level database.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
label timeIndex() const
Return current time index.
bool good() const
Return true if next operation might succeed.
List of finite volume options.
word name(const complex &)
Return a string representation of a complex.
virtual bool read(const dictionary &dict)
Read dictionary.
virtual bool writeData(Ostream &os) const
Write data to Ostream.