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),
95 regionModel_(cfol.regionModel_),
113 this->operator[](i).preEvolveRegion();
122 this->operator[](i).postEvolveRegion();
A list of keyword definitions, which are a keyword followed by a number of values (eg...
const dictionary & dict() const
Return the forces dictionary.
Ostream & endl(Ostream &os)
Add newline and flush stream.
virtual ~regionModelFunctionObjectList()
Destructor.
wordList toc() const
Return the table of contents.
#define forAll(list, i)
Loop across all elements in list.
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.
A class for handling words, derived from Foam::string.
virtual void postEvolveRegion()
Post-evolve hook.
Region model function object base class.
void setSize(const label newLen)
Same as resize()
const regionModel & region() const
Return const access to the cloud region.
static autoPtr< regionModelFunctionObject > New(const dictionary &dict, regionModel ®ion, const word &modelType)
Selector.
A list of pointers to objects of type <T>, with allocation/deallocation management of the pointers...
messageStream Info
Information stream (stdout output on master, null elsewhere)
Base class for region models.
virtual void preEvolveRegion()
Pre-evolve hook.
regionModelFunctionObjectList(regionModel ®ion)
Null constructor.