ENH: Using more descriptive names for input entries for createPatch utility

This commit is contained in:
andy
2010-03-12 12:44:14 +00:00
parent 135b82aa88
commit 45463d2325
2 changed files with 4 additions and 4 deletions

View File

@ -569,7 +569,7 @@ int main(int argc, char *argv[])
dumpCyclicMatch("initial_", mesh);
// Read patch construct info from dictionary
PtrList<dictionary> patchSources(dict.lookup("patchInfo"));
PtrList<dictionary> patchSources(dict.lookup("patches"));
@ -614,7 +614,7 @@ int main(int argc, char *argv[])
if (destPatchI == -1)
{
dictionary patchDict(dict.subDict("dictionary"));
dictionary patchDict(dict.subDict("patchInfo"));
destPatchI = allPatches.size();

View File

@ -48,14 +48,14 @@ matchTolerance 1E-3;
pointSync true;
// Patches to create.
patchInfo
patches
(
{
// Name of new patch
name sidePatches;
// Type of new patch
dictionary
patchInfo
{
type cyclic;