1 argList::validArgs.clear();
3 argList::validArgs.append("master root");
4 argList::validArgs.append("master case");
5 argList::validOptions.insert("masterRegion", "name");
7 argList::validArgs.append("root to add");
8 argList::validArgs.append("case to add");
9 argList::validOptions.insert("addRegion", "name");
10 argList::validOptions.insert("noFunctionObjects", "");
12 argList args(argc, argv);
19 fileName rootDirMaster(args.additionalArgs()[0]);
20 fileName caseDirMaster(args.additionalArgs()[1]);
21 word masterRegion = polyMesh::defaultRegion;
22 args.optionReadIfPresent("masterRegion", masterRegion);
24 fileName rootDirToAdd(args.additionalArgs()[2]);
25 fileName caseDirToAdd(args.additionalArgs()[3]);
26 word addRegion = polyMesh::defaultRegion;
27 args.optionReadIfPresent("addRegion", addRegion);
29 Info<< "Master: " << rootDirMaster << " " << caseDirMaster
30 << " region " << masterRegion << nl
31 << "mesh to add: " << rootDirToAdd << " " << caseDirToAdd
32 << " region " << addRegion << endl;