00001 argList::noParallel(); 00002 argList::validArgs.clear(); 00003 argList::validArgs.append("source dir"); 00004 00005 argList::validOptions.insert("sourceTime", "scalar"); 00006 argList::validOptions.insert("parallelSource", ""); 00007 argList::validOptions.insert("parallelTarget", ""); 00008 argList::validOptions.insert("consistent", ""); 00009 00010 argList args(argc, argv); 00011 00012 if (!args.check()) 00013 { 00014 FatalError.exit(); 00015 } 00016 00017 fileName rootDirTarget(args.rootPath()); 00018 fileName caseDirTarget(args.globalCaseName()); 00019 00020 fileName casePath(args.additionalArgs()[0]); 00021 fileName rootDirSource = casePath.path(); 00022 fileName caseDirSource = casePath.name(); 00023 00024 Info<< "Source: " << rootDirSource << " " << caseDirSource << nl 00025 << "Target: " << rootDirTarget << " " << caseDirTarget << endl; 00026 00027 bool parallelSource = args.optionFound("parallelSource"); 00028 bool parallelTarget = args.optionFound("parallelTarget"); 00029 bool consistent = args.optionFound("consistent"); 00030