List of zoneGenerators. More...


Public Member Functions | |
| zoneGeneratorList (const polyMesh &mesh) | |
| Construct from mesh. More... | |
| zoneGeneratorList (const polyMesh &mesh, const dictionary &dict, const bool topLevel=false) | |
| Construct from mesh and dictionary. More... | |
| zoneGeneratorList (const polyMesh &mesh, const dictionary &dict, const word &zoneName, const word &zonesName) | |
| Construct from mesh and dictionary and sub-dictionary names. More... | |
| zoneGeneratorList (const zoneGeneratorList &)=delete | |
| Disallow default bitwise copy construction. More... | |
| bool | moveUpdate () const |
| Return true if any of the zoneGenerators updates any of the zones. More... | |
| void | generate () |
| Generate and register the zones. More... | |
| void | movePoints () |
| Update the zones following mesh point movement. More... | |
| void | operator= (const zoneGeneratorList &)=delete |
| Disallow default bitwise assignment. More... | |
Public Member Functions inherited from PtrListDictionary< zoneGenerator > | |
| PtrListDictionary (const label size) | |
| Construct given initial list size. More... | |
| PtrListDictionary (const PtrListDictionary &) | |
| Copy constructor. More... | |
| PtrListDictionary (PtrListDictionary &&) | |
| Move constructor. More... | |
| PtrListDictionary (Istream &, const INew &) | |
| Construct from Istream using given Istream constructor class. More... | |
| PtrListDictionary (Istream &) | |
| Construct from Istream. More... | |
| label | findIndex (const word &key) const |
| Return the index of the given the key or -1 if not found. More... | |
| List< label > | findIndices (const wordRe &key) const |
| Return the indices for all matches. More... | |
| void | append (const word &key, zoneGenerator *) |
| Append an element at the end of the list. More... | |
| void | append (const word &key, const autoPtr< zoneGenerator > &) |
| Append an element at the end of the list. More... | |
| void | append (const word &key, const tmp< zoneGenerator > &) |
| Append an element at the end of the list. More... | |
| void | append (zoneGenerator *) |
| Append an element at the end of the list. More... | |
| void | append (const autoPtr< zoneGenerator > &) |
| Append an element at the end of the list. More... | |
| void | append (const tmp< zoneGenerator > &) |
| Append an element at the end of the list. More... | |
| autoPtr< zoneGenerator > | set (const label, const word &key, zoneGenerator *) |
| Set element to pointer provided and return old element. More... | |
| autoPtr< zoneGenerator > | set (const label, const word &key, const autoPtr< zoneGenerator > &) |
| Set element to autoPtr value provided and return old element. More... | |
| autoPtr< zoneGenerator > | set (const label, const word &key, const tmp< zoneGenerator > &) |
| Set element to tmp value provided and return old element. More... | |
| autoPtr< zoneGenerator > | set (const label, zoneGenerator *) |
| Set element to pointer provided and return old element. More... | |
| autoPtr< zoneGenerator > | set (const label, const autoPtr< zoneGenerator > &) |
| Set element to autoPtr value provided and return old element. More... | |
| autoPtr< zoneGenerator > | set (const label, const tmp< zoneGenerator > &) |
| Set element to tmp value provided and return old element. More... | |
| autoPtr< zoneGenerator > | remove (const word &key) |
| Remove an entry from the list and return. More... | |
| UPtrListDictionary< T2 > | convert () |
| Convert to list of different type. More... | |
| Foam::UPtrListDictionary< T2 > | convert () |
| UPtrListDictionary< T2 > | lookupType () |
| Lookup and return the sub-list of the given type. More... | |
| UPtrListDictionary< const T2 > | lookupType () const |
| Lookup and return the sub-list of the given type. More... | |
| Foam::UPtrListDictionary< T2 > | lookupType () |
| Foam::UPtrListDictionary< const T2 > | lookupType () const |
| const zoneGenerator & | operator[] (const word &key) const |
| Find and return entry. More... | |
| zoneGenerator & | operator[] (const word &key) |
| Find and return entry. More... | |
Public Member Functions inherited from DictionaryBase< IDLListType, T > | |
| DictionaryBase (const label size=128) | |
| Construct given initial table size. More... | |
| DictionaryBase (const DictionaryBase &) | |
| Copy constructor. More... | |
| DictionaryBase (DictionaryBase &&) | |
| Move constructor. More... | |
| template<class INew > | |
| DictionaryBase (Istream &, const INew &) | |
| Construct from Istream using given Istream constructor class. More... | |
| DictionaryBase (Istream &) | |
| Construct from Istream using default Istream constructor class. More... | |
| bool | found (const word &) const |
| Search DictionaryBase for given keyword. More... | |
| const T * | lookupPtr (const word &) const |
| Find and return an entry if present, otherwise return nullptr. More... | |
| T * | lookupPtr (const word &) |
| Find and return an entry if present, otherwise return nullptr. More... | |
| const T * | lookup (const word &) const |
| Find and return entry. More... | |
| T * | lookup (const word &) |
| Find and return entry. More... | |
| wordList | toc () const |
| Return the table of contents. More... | |
| wordList | sortedToc () const |
| Return the table of contents as a sorted list. More... | |
| void | insert (const word &, T *) |
| Add at head of dictionary. More... | |
| void | append (const word &, T *) |
| Add at tail of dictionary. More... | |
| T * | remove (const word &) |
| Remove and return entry specified by keyword. More... | |
| void | clear () |
| Clear the dictionary. More... | |
| void | transfer (DictionaryBase< IDLListType, T > &) |
| Transfer the contents of the argument into this DictionaryBase. More... | |
| void | operator= (const DictionaryBase &) |
| const T * | operator[] (const word &key) const |
| Find and return entry. More... | |
| T * | operator[] (const word &key) |
| Find and return entry. More... | |
Protected Member Functions | |
| void | read (const dictionary &dict, const bool topLevel=false) |
Protected Member Functions inherited from DictionaryBase< IDLListType, T > | |
| void | addEntries () |
Protected Attributes | |
| const polyMesh & | mesh_ |
| Reference to the polyMesh. More... | |
Protected Attributes inherited from DictionaryBase< IDLListType, T > | |
| HashTable< T * > | hashedTs_ |
| HashTable of the entries held on the IDLListType for quick lookup. More... | |
List of zoneGenerators.
Used by Foam::zonesGenerator to generate and store the zones and also by the zoneGenerators::Union, zoneGenerators::difference and zoneGenerators::intersection zoneGenerators to construct the list of zones they combine.
Definition at line 59 of file zoneGeneratorList.H.
| zoneGeneratorList | ( | const polyMesh & | mesh | ) |
Construct from mesh.
Definition at line 172 of file zoneGeneratorList.C.
| zoneGeneratorList | ( | const polyMesh & | mesh, |
| const dictionary & | dict, | ||
| const bool | topLevel = false |
||
| ) |
Construct from mesh and dictionary.
Definition at line 179 of file zoneGeneratorList.C.
References dict, and zoneGeneratorList::read().

| zoneGeneratorList | ( | const polyMesh & | mesh, |
| const dictionary & | dict, | ||
| const word & | zoneName, | ||
| const word & | zonesName | ||
| ) |
Construct from mesh and dictionary and sub-dictionary names.
Definition at line 192 of file zoneGeneratorList.C.
References PtrListDictionary< zoneGenerator >::append(), dict, dictionary::entries(), Foam::exit(), Foam::FatalIOError, FatalIOErrorInFunction, IOstream::lineNumber(), mesh, zoneGeneratorList::mesh_, Foam::name(), zoneGenerator::New(), and zoneGeneratorList::read().

|
delete |
Disallow default bitwise copy construction.
|
protected |
Definition at line 32 of file zoneGeneratorList.C.
References dict, dictionary::entries(), forAllConstIter, DictionaryBase< IDLListType, T >::found(), zoneGeneratorList::mesh_, Foam::name(), zoneGenerator::New(), PtrListDictionary< zoneGenerator >::set(), and setSize().
Referenced by zonesGenerator::readData(), and zoneGeneratorList::zoneGeneratorList().


| bool moveUpdate | ( | ) | const |
Return true if any of the zoneGenerators updates any of the zones.
following mesh point motion
Definition at line 257 of file zoneGeneratorList.C.
References forAll.
Referenced by intersection::intersection().

| void generate | ( | ) |
Generate and register the zones.
Definition at line 273 of file zoneGeneratorList.C.
References forAll.
| void movePoints | ( | ) |
Update the zones following mesh point movement.
Definition at line 284 of file zoneGeneratorList.C.
References forAll.
Referenced by zonesGenerator::movePoints().

|
delete |
Disallow default bitwise assignment.
|
protected |
Reference to the polyMesh.
Definition at line 68 of file zoneGeneratorList.H.
Referenced by zoneGeneratorList::read(), and zoneGeneratorList::zoneGeneratorList().