db7fac3f24
git-svn-id: https://openfoam-extend.svn.sourceforge.net/svnroot/openfoam-extend/trunk/Core/OpenFOAM-1.5-dev@1731 e4e07f05-0c2f-0410-a05a-b8ba57e0c909
23 lines
679 B
C
23 lines
679 B
C
argList::validArgs.clear();
|
|
|
|
argList::validArgs.append("master root");
|
|
argList::validArgs.append("master case");
|
|
|
|
argList::validArgs.append("root to add");
|
|
argList::validArgs.append("case to add");
|
|
|
|
argList args(argc, argv);
|
|
|
|
if (!args.check())
|
|
{
|
|
FatalError.exit();
|
|
}
|
|
|
|
fileName rootDirMaster(args.additionalArgs()[0]);
|
|
fileName caseDirMaster(args.additionalArgs()[1]);
|
|
|
|
fileName rootDirToAdd(args.additionalArgs()[2]);
|
|
fileName caseDirToAdd(args.additionalArgs()[3]);
|
|
|
|
Info<< "Master: " << rootDirMaster << " " << caseDirMaster << nl
|
|
<< "mesh to add: " << rootDirToAdd << " " << caseDirToAdd << endl;
|