createMesh.H File Reference

Required Variables. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

 if (args.dryRun()||args.found("dry-run-write"))
 
meshPtr reset (new Foam::fvMesh(Foam::IOobject(regionName, runTime.timeName(), runTime, Foam::IOobject::MUST_READ), false))
 
 meshPtr ().init(true)
 

Variables

Foam::autoPtr< Foam::fvMeshmeshPtr (nullptr)
 
Foam::word regionName (Foam::polyMesh::defaultRegion)
 
 else
 

Detailed Description

Required Variables.

Original source file createMesh.H

Provided Variables

Definition in file createMesh.H.

Function Documentation

◆ if()

if ( args.  dryRun)||args.found("dry-run-write")

Definition at line 34 of file createMesh.H.

References FieldBase::allowConstructFromLargerSize, args, Foam::endl(), argList::found(), Foam::Info, meshPtr, functionObject::outputPrefix, argList::readIfPresent(), regionName, autoPtr< T >::reset(), runTime, Time::saNoWriteNow, and Time::saWriteNow.

Here is the call graph for this function:

◆ reset()

◆ meshPtr()

meshPtr ( )

Variable Documentation

◆ meshPtr

◆ regionName

Referenced by if().

◆ else

else
Initial value:
{
if (args.readIfPresent("region", regionName))
{
Foam::Info << "Create mesh " << regionName;
}
else
{
Foam::Info << "Create mesh";
}
Foam::Info << " for time = " << runTime.timeName() << Foam::nl

Definition at line 72 of file createMesh.H.

runTime
engineTime & runTime
Definition: createEngineTime.H:13
Foam::argList::readIfPresent
bool readIfPresent(const word &optName, T &val) const
Read a value from the named option if present.
Definition: argListI.H:323
Foam::Info
messageStream Info
Information stream (stdout output on master, null elsewhere)
Foam::nl
constexpr char nl
Definition: Ostream.H:404
args
Foam::argList args(argc, argv)
regionName
Foam::word regionName(Foam::polyMesh::defaultRegion)