createMRF.H
Go to the documentation of this file.
2 
3 if (!MRF.size())
4 {
5  Info << "No MRF regions present" << endl;
6 }
static MRFZones & New(const word &name, const fvMesh &mesh)
Construct and return the named DemandDrivenMeshObject.
MRF zones DemandDrivenMeshObject read from MRFProperties dictionary.
Definition: MRFZones.H:76
label size() const
Return the number of elements in the UPtrList.
Definition: UPtrListI.H:29
const Foam::MRFZones & MRF(Foam::MRFZones::New(mesh))
Foam::fvMesh mesh(Foam::IOobject(regionName, runTime.name(), runTime, Foam::IOobject::MUST_READ), false)
Ostream & endl(Ostream &os)
Add newline and flush stream.
Definition: Ostream.H:288
messageStream Info