63 iodict.readEntry(
"regions", props);
74 const HashTable<wordList>& props = *
this;
78 n += iter.val().size();
91 const HashTable<wordList>& props = *
this;
93 for (
const word& grp : props.sortedToc())
95 for (
const word&
name : props[grp])
112 const HashTable<wordList>& props = *
this;
116 for (
const word&
name : iter.val())
Simple class to hold region information for coupled region simulations.
Ignore writing from objectRegistry::writeObject()
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
IOdictionary is derived from dictionary and IOobject to give the dictionary automatic IO functionalit...
unsigned int count(const UList< bool > &bools, const bool val=true)
Count number of 'true' entries.
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for INVALID.
const Time & time() const noexcept
Return time registry.
void sort(UList< T > &list)
Sort the list.
const objectRegistry & db() const noexcept
Return the local objectRegistry.
label count() const
Total count of all region names.
const word & constant() const noexcept
Return constant name.
wordList sortedNames() const
The region names in sorted order.
bool isReadRequired() const noexcept
True if (MUST_READ | READ_MODIFIED) bits are set.
regionProperties(const Time &runTime)
Construct from Time.
List< word > wordList
List of word.
Defines the attributes of an object for which implicit objectRegistry management is supported...
forAllConstIters(mixture.phases(), phase)
wordList names() const
The region names. Sorted by region type.
readOption
Enumeration defining read preferences.