37 namespace functionObjects
77 !
dict.readIfPresent<
wordRes>(
"regions", regionMatcher);
122 <<
"No regions applied" 128 Info<<
" Spawned additional object(s):" <<
nl;
147 for (
auto&
f : functions_)
149 result =
f.execute() && result;
160 for (
auto&
f : functions_)
162 result =
f.write() && result;
defineTypeNameAndDebug(ObukhovLength, 0)
multiRegion(const multiRegion &)=delete
No copy construct.
virtual bool read(const dictionary &dict)
Read the controls.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
static bool entriesPresent(const dictionary &dict)
Helper function to identify if a timeControl object is present.
virtual bool write()
Write the multiRegion.
constexpr char nl
The newline '\n' character (0x0a)
Ostream & endl(Ostream &os)
Add newline and flush stream.
Wrapper around functionObjects to add time control.
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
Macros for easy insertion into run-time selection tables.
const word & name() const noexcept
Return the name of this functionObject.
Foam::word regionName(Foam::polyMesh::defaultRegion)
static word scopedName(const std::string &scope, const word &name)
Create scope:name or scope_name string.
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for INVALID.
PtrList< functionObject > functions_
List of cloned objects (1 per region)
A class for handling words, derived from Foam::string.
wordList sortedNames() const
The sorted names of all objects.
virtual const word & type() const =0
Runtime type information.
A List of wordRe with additional matching capabilities.
const T * set(const label i) const
Return const pointer to element (can be nullptr), or nullptr for out-of-range access (ie...
addToRunTimeSelectionTable(functionObject, ObukhovLength, dictionary)
void resize(const label newLen)
Adjust size of PtrList.
bool empty() const noexcept
True if the list is empty (ie, size() is zero)
#define WarningInFunction
Report a warning using Foam::Warning.
virtual bool read(const dictionary &dict)
Read and set the function object if its data have changed.
Mesh data needed to do the Finite Volume discretisation.
bool match(const std::string &text, bool literal=false) const
Smart match as literal or regex, stopping on the first match.
messageStream Info
Information stream (stdout output on master, null elsewhere)
static autoPtr< functionObject > New(const word &name, const Time &runTime, const dictionary &dict)
Select from dictionary, based on its "type" entry.
virtual bool execute()
Execute, currently does nothing.
const Time & time_
Reference to the time database.