FreeFOAM The Cross-Platform CFD Toolkit
Hosted by SourceForge:
Get FreeFOAM at SourceForge.net.
            Fast, secure and Free Open Source software downloads

setRoots.H File Reference

Go to the source code of this file.

Functions

argList::validArgs  clear ()
argList::validArgs  append ("source dir")
argList::validOptions  insert ("sourceTime","scalar")
argList::validOptions  insert ("parallelSource","")
argList::validOptions  insert ("parallelTarget","")
argList::validOptions  insert ("consistent","")
argList  args (argc, argv)
 if (!args.check())
fileName  rootDirTarget (args.rootPath())
fileName  caseDirTarget (args.globalCaseName())
fileName  casePath (args.additionalArgs()[0])

Variables

fileName  rootDirSource = casePath.path()
fileName  caseDirSource = casePath.name()

Function Documentation

argList::validArgs clear (  )
argList::validArgs append ( "source dir"    )
argList::validOptions insert ( "sourceTime"   ,
"scalar"    
)
argList::validOptions insert ( "parallelSource"   ,
""    
)
argList::validOptions insert ( "parallelTarget"   ,
""    
)
argList::validOptions insert ( "consistent"   ,
""    
)
argList args ( argc   ,
argv    
)
if ( !args.   check()  )

Definition at line 12 of file setRoots.H.

References Foam::FatalError.

fileName rootDirTarget ( args.   rootPath()  )
fileName caseDirTarget ( args.   globalCaseName()  )
fileName casePath ( args.   additionalArgs()[0]  )

Variable Documentation

fileName rootDirSource = casePath.path()

Definition at line 21 of file setRoots.H.

fileName caseDirSource = casePath.name()

Definition at line 22 of file setRoots.H.