findMeshDefinitionDict.H File Reference

Go to the source code of this file.


const word dictName ("faMeshDefinition")
 if (args.readIfPresent("dict", dictPath))
else if (exists(runTime.path()/runTime.caseConstant()/regionDir/faMesh::meshSubDir/dictName))
IOobject meshDictIO (dictPath, runTime, IOobject::MUST_READ, IOobject::NO_WRITE, false, true)
 if (!meshDictIO.typeHeaderOk< IOdictionary >(true))


autoPtr< IOdictionary > meshDictPtr
const word & regionDir
IOdictionary & meshDefDict = *meshDictPtr

Detailed Description

Original source file findMeshDefinitionDict.H

Definition in file findMeshDefinitionDict.H.

Function Documentation

◆ dictName()

◆ if() [1/3]

if ( args.  readIfPresent"dict", dictPath)

Definition at line 37 of file findMeshDefinitionDict.H.

References dictName(), and Foam::isDir().

Here is the call graph for this function:

◆ if() [2/3]

else if ( exists( runTime.path()/runTime.caseConstant()/regionDir/faMesh::meshSubDir/dictName )

Definition at line 47 of file findMeshDefinitionDict.H.

References args, dictName(), Foam::endl(), argList::executable(), Foam::nl, regionDir, runTime, and WarningIn.

Here is the call graph for this function:

◆ meshDictIO()

IOobject meshDictIO ( dictPath  ,
runTime  ,
IOobject::MUST_READ  ,
IOobject::NO_WRITE  ,
false  ,

Referenced by if().

Here is the caller graph for this function:

◆ if() [3/3]

if ( !meshDictIO.typeHeaderOk< IOdictionary >  true)

Definition at line 90 of file findMeshDefinitionDict.H.

References Foam::exit(), Foam::FatalError, FatalErrorInFunction, meshDictIO(), and Foam::nl.

Here is the call graph for this function:

Variable Documentation

◆ meshDictPtr

autoPtr<IOdictionary> meshDictPtr

Definition at line 29 of file findMeshDefinitionDict.H.

◆ regionDir

const word& regionDir
Initial value:
(regionName == polyMesh::defaultRegion ? word::null : regionName)

Definition at line 34 of file findMeshDefinitionDict.H.

Referenced by if(), and vtkWrite::write().

◆ else

Initial value:
dictPath = runTime.system()/regionDir/dictName

Definition at line 74 of file findMeshDefinitionDict.H.

◆ meshDefDict

IOdictionary& meshDefDict = *meshDictPtr

Definition at line 103 of file findMeshDefinitionDict.H.

engineTime & runTime
Definition: createEngineTime.H:13
const word dictName("faMeshDefinition")
Foam::word regionName
Definition: createNamedDynamicFvMesh.H:1
const word & regionDir
Definition: findMeshDefinitionDict.H:34