Go to the documentation of this file.
16 #include "fvOptions.H"
44 dictionary allOptions_;
62 template<
class classType>
63 classType
getOption(
const word key)
const;
66 template<
class classType>
69 const classType value);
72 template<
class classType>
75 const word subDictKey)
const;
78 template<
class classType>
81 const word subDictKey,
82 const classType value);
91 template<
class classType>
122 allOptions_.readEntry<classType>(key, val);
126 template<
class classType>
129 const classType value)
159 allOptions_.set(key, value);
164 template<
class classType>
167 const word subDictKey)
const
194 dictionary subDictF = allOptions_.subDict(subDict);
196 subDictF.readEntry<classType>(subDictKey, val);
200 template<
class classType>
203 const word subDictKey,
204 const classType value)
233 dictionary& subDictF = allOptions_.subDict(subDict);
234 subDictF.set(subDictKey, value);
void setSubDictOption(const word subDict, const word subDictKey, const classType value)
set an dictionary option to subDict and key
virtual ~DAOption()
Destructor.
classType getOption(const word key) const
get an option from subDict and key
void updateDAOption(PyObject *pyOptions)
update the allOptions_ dict in DAOption based on the pyOptions from pyDAFoam
const dictionary & getAllOptions() const
return a reference of allOptions_ dictionary
classType getSubDictOption(const word subDict, const word subDictKey) const
get an dictionary option from subDict and key
bool writeData(Ostream &os) const
this is a virtual function for regIOobject
void setOption(const word key, const classType value)
set an option to subDict and key