59 Info<<
" Selecting region model functions" <<
endl;
61 if (modelNames.size() > 0)
63 this->
setSize(modelNames.size());
67 const word& modelName = modelNames[i];
91 const regionModelFunctionObjectList& cfol
94 PtrList<regionModelFunctionObject>(cfol),
122 this->operator[](i).postEvolveRegion();
A list of pointers to objects of type <T>, with allocation/deallocation management of the pointers....
const regionModelFunctionObject * set(const label i) const
void setSize(const label n)
constexpr PtrList() noexcept
void size(const label n)
Older name for setAddressableSize.
const regionModelFunctionObject & operator[](const label i) const
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
regionModel & regionModel_
Reference to the region region model.
const regionModel & region() const
Return const access to the cloud region.
virtual void postEvolveRegion()
Post-evolve hook.
virtual ~regionModelFunctionObjectList()
Destructor.
virtual void preEvolveRegion()
Pre-evolve hook.
const dictionary dict_
Dictionary.
const dictionary & dict() const
Return the forces dictionary.
regionModelFunctionObjectList(regionModel ®ion)
Null constructor.
Region model function object base class.
static autoPtr< regionModelFunctionObject > New(const dictionary &dict, regionModel ®ion, const word &modelType)
Selector.
Base class for region models.
A class for handling words, derived from Foam::string.
List< word > wordList
List of word.
void readFields(const typename GeoFieldType::Mesh &mesh, const IOobjectList &objects, const NameMatchPredicate &selectedFields, DynamicList< regIOobject * > &storedObjects)
Read the selected GeometricFields of the templated type and store on the objectRegistry.
messageStream Info
Information stream (stdout output on master, null elsewhere).
Ostream & endl(Ostream &os)
Add newline and flush stream.
#define forAll(list, i)
Loop across all elements in list.