42 runTime.time().constant(),
71 const bool allRegions = args.
optionFound(
"allRegions");
83 if (
findIndex(regionNames, regions[i]) == -1)
85 regionNames.
append(regions[i]);
95 regionNames =
wordList(1, regionName);
#define forAll(list, i)
Loop across all elements in list.
static word defaultRegion
Return the default region name.
bool optionFound(const word &opt) const
Return true if the named option is found.
Simple class to hold region information for coupled region simulations.
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
bool optionReadIfPresent(const word &opt, T &) const
Read a value from the named option if present.
IOdictionary is derived from dictionary and IOobject to give the dictionary automatic IO functionalit...
const word & regionDir(const word ®ionName)
stressControl lookup("compactNormalStress") >> compactNormalStress
A class for handling words, derived from string.
Extract command arguments and options from the supplied argc and argv parameters. ...
void append(const T &)
Append an element at the end of the list.
regionProperties rp(runTime)
static const word null
An empty word.
An STL-conforming hash table.
forAllConstIter(PtrDictionary< phaseModel >, mixture.phases(), phase)
label findIndex(const ListType &, typename ListType::const_reference, const label start=0)
Find first occurrence of given element and return index,.
regionProperties(const Time &runTime)
Construct from components.
List< word > wordList
A List of words.
~regionProperties()
Destructor.
Foam::argList args(argc, argv)
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
wordList selectRegionNames(const argList &args, const Time &runTime)