createNamedPolyMesh.H
Go to the documentation of this file.
1 //
2 // createNamedPolyMesh.H
3 // ~~~~~~~~~~~~~~~~~~~~~
4 
6 
8  {
10  << "Create polyMesh " << regionName << " for time = "
11  << runTime.timeName() << Foam::nl << Foam::endl;
12  }
13  else
14  {
17  << "Create polyMesh for time = "
18  << runTime.timeName() << Foam::nl << Foam::endl;
19  }
20 
22  (
24  (
25  regionName,
26  runTime.timeName(),
27  runTime,
29  )
30  );
Foam::IOobject
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
Definition: IOobject.H:91
Foam::word
A class for handling words, derived from string.
Definition: word.H:59
Foam::polyMesh::defaultRegion
static word defaultRegion
Return the default region name.
Definition: polyMesh.H:306
Foam::IOobject::MUST_READ
@ MUST_READ
Definition: IOobject.H:108
Foam::endl
Ostream & endl(Ostream &os)
Add newline and flush stream.
Definition: Ostream.H:251
Foam::polyMesh
Mesh consisting of general polyhedral cells.
Definition: polyMesh.H:74
Foam::nl
static const char nl
Definition: Ostream.H:260
Foam::Info
messageStream Info
regionName
Foam::word regionName
Definition: createNamedPolyMesh.H:5
mesh
dynamicFvMesh & mesh
Definition: createDynamicFvMesh.H:18
args
Foam::argList args(argc, argv)
Foam::argList::optionReadIfPresent
bool optionReadIfPresent(const word &opt, T &) const
Read a value from the named option if present.
Definition: argListI.H:198