createMesh.H File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

 if (args.found("dry-run")||args.found("dry-run-write"))
 
 meshPtr ().init(true)
 

Variables

Foam::autoPtr< Foam::fvMeshmeshPtr (nullptr)
 
Foam::word regionName = Foam::fvMesh::defaultRegion
 
 else
 
Foam::fvMeshmesh = meshPtr()
 

Function Documentation

◆ if()

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

Definition at line 4 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:

◆ meshPtr()

meshPtr ( )

Variable Documentation

◆ meshPtr

◆ regionName

Definition at line 2 of file createMesh.H.

Referenced by if().

◆ else

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

Definition at line 42 of file createMesh.H.

◆ mesh

Foam::fvMesh& mesh = meshPtr()

Definition at line 73 of file createMesh.H.

runTime
engineTime & runTime
Definition: createEngineTime.H:13
Foam::autoPtr::reset
void reset(T *p=nullptr) noexcept
Delete managed object and set to new given pointer.
Definition: autoPtrI.H:109
Foam::IOobject
Defines the attributes of an object for which implicit objectRegistry management is supported,...
Definition: IOobject.H:104
meshPtr
Foam::autoPtr< Foam::fvMesh > meshPtr(nullptr)
regionName
Foam::word regionName
Definition: createMesh.H:2
Foam::endl
Ostream & endl(Ostream &os)
Add newline and flush stream.
Definition: Ostream.H:350
Foam::argList::readIfPresent
bool readIfPresent(const word &optName, T &val) const
Read a value from the named option if present.
Definition: argListI.H:296
Foam::Info
messageStream Info
Information stream (uses stdout - output is on the master only)
Foam::fvMesh
Mesh data needed to do the Finite Volume discretisation.
Definition: fvMesh.H:83
Foam::nl
constexpr char nl
Definition: Ostream.H:385
args
Foam::argList args(argc, argv)
Foam::IOobject::MUST_READ
Definition: IOobject.H:120