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.
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 ...
MRF zones DemandDrivenMeshObject read from MRFProperties dictionary.
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 keywords followed by any number of values (e.g. words and numbers) or sub-dictionaries.
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 LagrangianState state)
Return a string representation of a Lagrangian state enumeration.
void writeEntry(Ostream &os, const word &key, const DimensionedFieldFunction< DimensionedFieldType > &f)