37 typeIOobject<IOdictionary> io
48 Info<<
"Creating porosity model list from " << io.name() <<
nl <<
endl;
55 Info<<
"No porosity models present" <<
nl <<
endl;
IOdictionary is derived from dictionary and IOobject to give the dictionary automatic IO functionalit...
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
IOporosityModelList(const fvMesh &mesh)
Construct from mesh.
virtual bool read()
Read dictionary.
static const word & constant()
Return constant name.
Mesh data needed to do the Finite Volume discretisation.
const Time & time() const
Return the top-level database.
List container for porosity models.
bool read(const dictionary &dict)
Read dictionary.
virtual bool read()
Read object.
Foam::fvMesh mesh(Foam::IOobject(regionName, runTime.name(), runTime, Foam::IOobject::MUST_READ), false)
Ostream & endl(Ostream &os)
Add newline and flush stream.