37 MRFZoneName_(
dict.lookupOrDefault(
"MRFZoneName",
word::null))
56 if (mrf[i].
name() == MRFZoneName_)
63 <<
"Cannot find MRF zone " << MRFZoneName_
66 else if (mrf.
size() == 1)
70 else if (mrf.
size() == 0)
73 <<
"There are no MRF zones"
79 <<
"MRFZoneName not specified"
#define forAll(list, i)
Loop across all elements in list.
List of MRF zones with IO functionality. MRF zones are specified by a list of dictionary entries,...
void makeRelative(fvPatchField< vector > &Up) const
void makeAbsolute(fvPatchField< vector > &Up) const
void write(Ostream &) const
MRFPatchField()
Construct null.
const MRFZone & MRFzone(const objectRegistry &obr) const
List container for MRF zones.
MRF zone definition based on cell zone and parameters obtained from a control dictionary constructed ...
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
label size() const
Return the number of elements in the UPtrList.
A list of keyword definitions, which are a keyword followed by any number of values (e....
Abstract base class with a fat-interface to all derived classes covering all possible ways in which t...
const objectRegistry & db() const
Return local objectRegistry.
const fvPatch & patch() const
Return patch.
label index() const
Return the index of this patch in the fvBoundaryMesh.
Registry of regIOobjects.
const Type & lookupObject(const word &name) const
Lookup and return the object of the given Type and name.
A class for handling words, derived from string.
static const word null
An empty word.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
errorManipArg< error, int > exit(error &err, const int errNo=1)
word name(const bool)
Return a word representation of a bool.
void writeEntry(Ostream &os, const HashTable< T, Key, Hash > &ht)