From 45463d23254755605fc23d7a41234abb9b9239d5 Mon Sep 17 00:00:00 2001 From: andy <a.heather@opencfd.co.uk> Date: Fri, 12 Mar 2010 12:44:14 +0000 Subject: [PATCH] ENH: Using more descriptive names for input entries for createPatch utility --- .../utilities/mesh/manipulation/createPatch/createPatch.C | 4 ++-- .../utilities/mesh/manipulation/createPatch/createPatchDict | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/applications/utilities/mesh/manipulation/createPatch/createPatch.C b/applications/utilities/mesh/manipulation/createPatch/createPatch.C index 90f6377b6d6..7b3ebac43b3 100644 --- a/applications/utilities/mesh/manipulation/createPatch/createPatch.C +++ b/applications/utilities/mesh/manipulation/createPatch/createPatch.C @@ -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(); diff --git a/applications/utilities/mesh/manipulation/createPatch/createPatchDict b/applications/utilities/mesh/manipulation/createPatch/createPatchDict index 2d4046d4568..10fd55e5a17 100644 --- a/applications/utilities/mesh/manipulation/createPatch/createPatchDict +++ b/applications/utilities/mesh/manipulation/createPatch/createPatchDict @@ -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; -- GitLab